@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.top-content {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.top-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.inner-bg {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.loginbg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 40px;
    transition: transform 0.3s ease;
    max-width: 450px;
    margin: 0 auto;
}

.loginbg:hover {
    transform: translateY(-5px);
}

.form-top-left img {
    max-width: 180px;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.font-white {
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 12px 16px 12px 45px !important;
    height: 54px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.form-control-feedback {
    left: 15px;
    right: auto;
    color: rgba(255, 255, 255, 0.6);
    line-height: 54px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 1.1rem !important;
}

.btn {
    width: 100%;
    background: var(--primary-color) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 14px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
    cursor: pointer !important;
}

.btn:hover {
    background: var(--primary-hover) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
    transform: scale(1.02);
}

.forgot {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-top: 20px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.forgot:hover {
    color: #ffffff !important;
}

.alert {
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    border: none;
    backdrop-filter: blur(4px);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Notice Section */
.col-lg-8 {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.bg-shadow-remove {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.messages h4 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 20px;
}

.messages p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.logdivider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.catpcha {
    color: #ffffff;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.catpcha:hover {
    transform: rotate(180deg);
}

#captcha_image img {
    border-radius: 8px;
}

@media (max-width: 991px) {
    .top-content {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
        padding: 40px 0;
    }
    .inner-bg {
        max-width: 500px;
    }
    .col-lg-8 {
        display: none !important;
    }
}
