/* Scoped nav gradient upgrade - only applies where this stylesheet is loaded (this page) */
.navbar-default {
    background-color: #1565c0;
    background-image: linear-gradient(120deg, #0d47a1, #1e88e5);
    border: 0;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.sl-shell {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 40px 16px 60px;
    overflow: hidden;
}

.sl-shell::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 220px;
    height: 220px;
    background-image: radial-gradient(#1565c0 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.12;
    pointer-events: none;
}

.sl-shell::after {
    content: "";
    position: absolute;
    top: 60px;
    right: 6%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(21, 101, 192, 0.07);
    pointer-events: none;
}

.sl-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 55px rgba(15, 35, 60, 0.14);
    display: grid;
    grid-template-columns: 340px 1fr;
    overflow: hidden;
}

@media (max-width: 780px) {
    .sl-card {
        grid-template-columns: 1fr;
    }

    .sl-brand {
        border-right: 0 !important;
        border-bottom: 1px solid #eaf1fb;
    }
}

.sl-brand {
    padding: 44px 34px;
    text-align: center;
    border-right: 1px solid #eaf1fb;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sl-brand-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1565c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 18px;
    overflow: hidden;
}

.sl-brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-brand-title {
    font-size: 22px;
    font-weight: 700;
    color: #14202e;
    margin: 0 0 8px;
}

.sl-brand-subtitle {
    font-size: 14px;
    color: #6b7a90;
    line-height: 1.55;
    margin: 0 0 16px;
}

.sl-accent {
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: #1565c0;
    margin: 0 auto 22px;
}

.sl-school {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    margin-bottom: 28px;
}

.sl-school-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #eaf1fb;
}

.sl-school-monogram {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1565c0;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sl-school-label {
    font-size: 12px;
    color: #8592a6;
    line-height: 1.4;
}

.sl-school-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #1565c0;
    line-height: 1.4;
}

.sl-illustration {
    margin-top: auto;
    opacity: 0.55;
}

.sl-form-col {
    padding: 44px 48px;
}

@media (max-width: 480px) {
    .sl-form-col {
        padding: 36px 24px;
    }
}

.sl-form-title {
    font-size: 21px;
    font-weight: 700;
    color: #14202e;
    margin: 0 0 10px;
}

.sl-field {
    margin-bottom: 20px;
}

.sl-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #14202e;
    margin-bottom: 8px;
}

.sl-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.sl-input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #1565c0;
    font-size: 14px;
    pointer-events: none;
}

.sl-input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border-radius: 10px;
    border: 1.5px solid #d7e3f3;
    font-size: 14.5px;
    color: #14202e;
    background: #fff;
}

.sl-input:focus {
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
    outline: none;
}

.sl-input--password {
    padding-right: 64px;
}

.sl-input-toggle {
    position: absolute;
    right: 8px;
    background: none;
    border: 0;
    color: #6b7a90;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 8px;
    cursor: pointer;
}

.sl-input-toggle:hover,
.sl-input-toggle:focus {
    color: #1565c0;
}

.sl-help {
    display: block;
    color: #d9483a;
    font-size: 12.5px;
    margin-top: 6px;
}

.sl-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #14202e;
    margin-bottom: 24px;
}

.sl-remember input {
    width: 15px;
    height: 15px;
    accent-color: #1565c0;
}

.sl-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: #1565c0;
    background-image: linear-gradient(120deg, #0d47a1, #1e88e5);
    border: 0;
    border-radius: 10px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(21, 101, 192, 0.25);
}

.sl-btn-primary:hover,
.sl-btn-primary:focus {
    background-image: linear-gradient(120deg, #1e88e5, #0d47a1);
    color: #fff;
}

.sl-divider-row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #b7c0cd;
    font-size: 12.5px;
    margin: 20px 0;
}

.sl-divider-row::before,
.sl-divider-row::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eaf1fb;
}

.sl-forgot {
    display: block;
    text-align: center;
    color: #1565c0;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.sl-forgot:hover,
.sl-forgot:focus {
    text-decoration: underline;
    color: #1565c0;
}

.sl-footer {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 28px auto 0;
    padding: 0 16px 32px;
}

.sl-footer-inner {
    background: #fff;
    border: 1px solid #eaf1fb;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(15, 35, 60, 0.08);
    padding: 22px 24px 18px;
}

.sl-footer-contacts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
    color: #14202e;
    margin-bottom: 16px;
}

.sl-footer-contacts a {
    color: #14202e;
    text-decoration: none;
}

.sl-footer-contacts a:hover {
    color: #1565c0;
}

.sl-footer-contacts span.glyphicon {
    color: #1565c0;
    margin-right: 6px;
}

.sl-footer-divider {
    border: 0;
    border-top: 1px solid #dde3ec;
    margin: 0 auto 16px;
    max-width: 1000px;
}

.sl-footer-copyright {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #556477;
    padding-bottom: 4px;
}

.sl-footer-copyright a {
    color: #1565c0;
    font-weight: 600;
    text-decoration: none;
}

/* Simple single-column auth card (password reset, registration) */
.sl-simple-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 55px rgba(15, 35, 60, 0.14);
    padding: 44px 40px;
    text-align: center;
}

.sl-simple-card--wide {
    max-width: 620px;
    text-align: left;
}

.sl-simple-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1565c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 18px;
}

.sl-simple-card--wide .sl-simple-icon {
    margin-left: 0;
    margin-right: auto;
}

.sl-simple-title {
    font-size: 22px;
    font-weight: 700;
    color: #14202e;
    margin: 0 0 10px;
}

.sl-simple-subtitle {
    font-size: 14px;
    color: #6b7a90;
    line-height: 1.55;
    margin: 0 0 26px;
}

.sl-simple-card .sl-field {
    text-align: left;
}

.sl-hint {
    display: block;
    font-size: 12px;
    color: #8592a6;
    margin-top: 6px;
    line-height: 1.5;
}

.sl-required-note {
    font-size: 12.5px;
    color: #8592a6;
    background: #f7f9fc;
    border: 1px solid #eaf1fb;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 22px;
}

.sl-required-note strong {
    color: #14202e;
}

.sl-required-mark {
    color: #d9483a;
    font-weight: 700;
}

.sl-status {
    background: #eafaf0;
    border: 1px solid #bff0d2;
    color: #1a7a46;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    margin-bottom: 20px;
    text-align: left;
}

.sl-code-match {
    display: block;
    font-size: 12.5px;
    margin-top: 6px;
    font-weight: 600;
}

.sl-back-link {
    display: block;
    text-align: center;
    color: #1565c0;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-top: 22px;
}

.sl-back-link:hover,
.sl-back-link:focus {
    text-decoration: underline;
    color: #1565c0;
}
