.auth-wrapper {
    background: linear-gradient(135deg, #4a6cf7 0%, #7f6dfb 45%, #a26bf0 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.auth-wrapper::before { width: 480px; height: 480px; top: -180px; left: -140px; }
.auth-wrapper::after { width: 360px; height: 360px; bottom: -160px; right: -100px; }
.auth-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    animation: etu-card-in .45s ease both;
}
@keyframes etu-card-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-card .input-group-text { border-right: 0; }
.auth-card .form-control { border-left: 0; }
.auth-card .input-group:focus-within { box-shadow: 0 0 0 .2rem rgba(21,114,232,.15); border-radius: .375rem; }
.auth-card .auth-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74,108,247,.1), rgba(162,107,240,.1));
    padding: 10px;
}
.auth-card .auth-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.auth-card .auth-brand-title {
    background: linear-gradient(135deg, #4a6cf7, #a26bf0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}
.quiz-option { cursor: pointer; }
.quiz-option.correct { border-color: #28a745 !important; background: #eafaf0; }
.quiz-option.incorrect { border-color: #dc3545 !important; background: #fdecea; }
.assistant-msg { border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; max-width: 80%; }
.assistant-msg.question { background: #e9ecef; margin-left: auto; }
.assistant-msg.reponse { background: #eef6ff; white-space: pre-wrap; }
.shadow-hover { transition: box-shadow .2s ease, transform .2s ease; }
.shadow-hover:hover { box-shadow: 0 .5rem 1rem rgba(0,0,0,.1); transform: translateY(-2px); }

.logo-header-org { height: auto; padding: 18px 10px 14px; flex-wrap: wrap; }
.etu-org-brand {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}
.etu-org-logo {
    height: auto;
    max-height: 64px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 8px;
}
.etu-org-name {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}
.main-header-logo .logo-header-org { padding: 8px 10px; }
.main-header-logo .etu-org-brand { flex-direction: row; }
.main-header-logo .etu-org-logo { max-height: 32px; margin-bottom: 0; margin-right: 8px; }
.main-header-logo .etu-org-name { font-size: .85rem; color: #1a1a2e; }
