:root {
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --accent: #0d9488;
    --accent-hover: #0f766e;
    --danger: #dc2626;
    --radius: 8px;
    --card-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

html, body {
    min-height: 100vh;
    font-family: 'Outfit', 'DM Sans', sans-serif;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #2d3f33 0%, #2d3f33 45%, #2d3f33 100%);
    background-image: url('../img/login_temp.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
}

.login-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-page:before,
.login-page:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.22;
    pointer-events: none;
}

.login-page:before {
    width: 340px;
    height: 340px;
    top: -120px;
    left: -80px;
}

.login-page:after {
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -160px;
}

.login-layout {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.login-row {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.login-slider-column,
.login-form-column {
    min-height: 100vh;
}

.login-slider-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 36px 40px 48px;
}

.announce-slider {
    width: 100%;
    /* padding: 24px;
    border-radius: 18px; */

    padding: 5px 16px;
    padding-top: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px);
    color: #fff;
}

.slider-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.slider-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.92);
}

.slider-mini-nav {
    font-size: 16px;
    color: rgba(255, 172, 2, 1);
}

.slider-mini-nav span {
    color: rgba(255, 255, 255, 1);
}

.slider-mini-nav button {
    background: transparent;
    border: 0;
    color: inherit;
    padding: 0 4px;
}

.slider-viewport {
    position: relative;
    min-height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.35));
}

.slider-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 32px;
}

.slider-slide-image {
    padding: 0;
}

.slider-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-text-wrap {
    text-align: left;
}

.slide-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.slide-text {
    margin: 0;
    font-size: 16px !important;
    line-height: 1.5;
    font-weight: 500;
    color: #fff;
}

.slide-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image-wrap img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
}

.slider-controls {
    margin-top: 18px;
    text-align: center;
}

.slider-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    padding: 0;
    transition: transform .2s ease, background .2s ease;
}

.slider-dot.is-active {
    background: rgb(255, 172, 2);
    transform: scale(1.2);
}

.login-form-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px 40px 36px;
}

.login-card {
    width: 90%;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    padding: 42px 34px 30px;
}

.login-card .logo {
    display: block;
    width: 120px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.welcome-title {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: rgb(255, 172, 2);
}

.welcome-title-org {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #0c7509;
}

.welcome-sub {
    margin: 0 0 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.form-group-modern {
    margin-bottom: 16px;
}

.form-group-modern label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group-modern .form-control {
    height: 40px;
    border-radius: var(--radius);
    border-color: rgba(45, 63, 51, 0.5);
    box-shadow: none;
    font-size: 14px;
}

.form-group-modern .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.password-field-wrap {
    position: relative;
}

.password-field-wrap .form-control {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 30px;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: var(--accent);
    outline: none;
}

.captcha-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.verification-group {
    text-align: center;
}

.verification-group label {
    text-align: center;
}

.verification-group .form-control {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.captcha-row img {
    height: 46px;
    border-radius: var(--radius);
    border: 1px dashed #0c7509;
    background: #fff;
}

.refresh-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 50%;
    background: #ccebecff;
    color: #0c7509;
    text-decoration: none;
}

.refresh-link:hover,
.refresh-link:focus {
    text-decoration: none;
    color: #0c7509 !important;
    background: #4accb0ff;
}

.password-toggle {
    margin: 6px 0 18px;
    color: var(--text-muted);
    font-size: 13px;
}

.password-toggle input {
    margin-right: 6px;
}

.btn-signin {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #2d3f33 0%, #2d3f33 100%) !important;
    box-shadow: 0 10px 45px #e9d999ff;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.btn-signin:hover,
.btn-signin:focus {
    color: #fff;
    background: linear-gradient(180deg, #1b271fff 0%, #3d5a46ff 100%) !important;
}

.support-link {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.support-link a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.support-link a:hover {
    text-decoration: underline;
}

.alert-modern {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--danger);
    font-size: 13px;
}

.alert-modern i {
    margin-right: 8px;
}

.main-footer {
    position: relative;
    z-index: 1;
    padding: 0 15px 18px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.main-footer a {
    color: #99f6e4;
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .login-form-column {
        min-height: 100vh;
        padding: 26px 18px;
    }
}

@media (max-width: 767px) {
    .login-row {
        min-height: auto;
    }

    .login-slider-column,
    .login-form-column {
        min-height: auto;
        padding: 20px 15px;
    }

    .login-form-column {
        order: 1;
    }

    .login-slider-column {
        order: 2;
    }

    .login-card {
        padding: 34px 22px 24px;
    }

    .announce-slider {
        margin-top: 8px;
    }

    .slider-viewport {
        min-height: 240px;
    }
}
