/* ── INTEGRA VS — Form Styles ─────────────────────────── */
.integra-wrap { max-width: 680px; margin: 0 auto; font-family: Arial, sans-serif; }

.integra-form { background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }

.integra-field { margin-bottom: 22px; }

.integra-field label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }

.integra-field .req { color: #ea4335; }

.integra-hint { font-size: 12px; color: #888; margin: 0 0 8px; }

.integra-field input[type="text"],
.integra-field input[type="email"],
.integra-field select,
.integra-field textarea {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-size: 14px; color: #333;
    transition: border-color .2s;
    box-sizing: border-box;
}

.integra-field input:focus,
.integra-field select:focus,
.integra-field textarea:focus {
    outline: none; border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}

.integra-field textarea { resize: vertical; min-height: 90px; }

.integra-radio-group,
.integra-check-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.integra-radio,
.integra-check {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px; border: 1.5px solid #e0e0e0;
    border-radius: 8px; cursor: pointer; font-size: 14px;
    transition: all .2s; user-select: none;
}

.integra-radio:hover,
.integra-check:hover { border-color: #1a73e8; background: #f0f6ff; }

.integra-radio input,
.integra-check input { margin: 0; cursor: pointer; }

.integra-radio input:checked + span,
.integra-check input:checked + span { color: #1a73e8; font-weight: 600; }

.integra-radio:has(input:checked),
.integra-check:has(input:checked) { border-color: #1a73e8; background: #e8f0fe; }

.integra-btn {
    width: 100%; padding: 14px;
    background: #1a73e8; color: #fff;
    border: none; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background .2s;
    margin-top: 8px;
}
.integra-btn:hover { background: #1557b0; }
.integra-btn:disabled { background: #ccc; cursor: not-allowed; }

.integra-error {
    background: #fce8e6; color: #c62828;
    border: 1px solid #f5c6c6;
    border-radius: 8px; padding: 12px 16px;
    font-size: 14px; margin-bottom: 16px;
}

.integra-success {
    background: #e8f5e9; color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 12px; padding: 32px;
    text-align: center;
}
.integra-success-icon { font-size: 48px; margin-bottom: 12px; }
.integra-success h3 { font-size: 20px; margin-bottom: 8px; }
.integra-success p { font-size: 14px; color: #555; }

/* ── Teacher Panel ─────────────────────────────────── */
.integra-teacher-wrap { font-family: Arial, sans-serif; }
.integra-teacher-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.integra-teacher-header h2 { font-size: 20px; color: #1a73e8; margin: 0; }
.integra-badge { background: #e8f0fe; color: #1a73e8; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }

.integra-teacher-grid { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }

.integra-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.integra-table th { background: #1a73e8; color: #fff; padding: 10px 12px; text-align: left; }
.integra-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
.integra-table tr.alt td { background: #f8f9fa; }

.integra-teacher-stats { display: flex; flex-direction: column; gap: 16px; }
.integra-stat-card { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.integra-stat-card h4 { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; }
.integra-stat-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.integra-stat-num { font-weight: 700; color: #1a73e8; }

@media (max-width: 680px) {
    .integra-form { padding: 20px; }
    .integra-teacher-grid { grid-template-columns: 1fr; }
    .integra-radio-group, .integra-check-group { flex-direction: column; }
}
