/* ===== Student Pages — Additional Styles ===== */

/* Class Found Banner */
.class-found-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 18px;
}

.class-found-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.class-found-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
}

.class-found-school {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ===== Student Profile Page ===== */
.profile-container {
    width: 100%;
    max-width: 560px;
    padding: 24px;
}

.profile-header {
    text-align: center;
    margin-bottom: 28px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-light), #8B7BFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 12px;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.35);
}

.profile-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.profile-role {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Profile Cards */
.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
}

.profile-card-title {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Classes list in profile */
.profile-classes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-class-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.profile-class-name {
    font-weight: 600;
    font-size: 0.88rem;
}

.profile-class-school {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.profile-class-code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
}

.profile-empty {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Guest merge banner */
.merge-banner {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.merge-banner-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.merge-banner-text {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.merge-banner-text strong {
    color: var(--accent-orange);
}

/* Profile nav */
.profile-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.profile-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.profile-nav-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--text-white);
    transform: translateY(-1px);
}

/* Sign out link at bottom */
.profile-signout {
    text-align: center;
    margin-top: 24px;
}

.profile-signout button {
    background: none;
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #FF7675;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.profile-signout button:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* Select dropdown for auth.css pages */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

select.form-input option {
    background: var(--purple-dark);
    color: var(--text-white);
}
