.login-container {
    min-height: 100vh;

    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 576px) {
    .login-container {
        padding: 20px 15px;
    }


    .col-12.col-md-8.col-lg-6.col-xl-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }


    .login-card {
        margin: 0;
        border-radius: 15px;
    }


    .login-header {
        padding: 1.5rem 1rem !important;
        border-radius: 15px 15px 0 0;
    }

    .login-header h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .login-header p {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
    }

    .brand-logo {
        height: 35px !important;
        margin-bottom: 1rem !important;
    }


    .card-body.p-5 {
        padding: 1.5rem !important;
    }


    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .form-label {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }

    .form-control {
        padding: 10px 14px !important;
        font-size: 16px !important;

        border-radius: 10px !important;
    }


    .btn-login {
        padding: 10px !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
    }


    .feature-list {
        margin-bottom: 0 !important;
    }

    .feature-list li {
        font-size: 0.8rem !important;
        padding: 6px 0 !important;
    }

    .text-center h6 {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }


    .text-center.mt-4 {
        margin-top: 1.5rem !important;
    }

    .text-center.mt-4 small {
        font-size: 0.75rem !important;
    }


    .shape-1 {
        width: 120px !important;
        height: 120px !important;
        top: 5% !important;
        left: 2% !important;
    }

    .shape-2 {
        width: 80px !important;
        height: 80px !important;
        top: 70% !important;
        right: 5% !important;
    }

    .shape-3 {
        width: 60px !important;
        height: 60px !important;
        bottom: 10% !important;
        left: 10% !important;
    }
}


@media (min-width: 577px) and (max-width: 768px) {
    .col-12.col-md-8.col-lg-6.col-xl-7 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .card-body.p-5 {
        padding: 2rem !important;
    }

    .login-header {
        padding: 1.75rem !important;
    }
}


.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.login-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px 20px 0 0;
    padding: 2rem;
}

.brand-logo {
    filter: brightness(0) invert(1);
    height: 40px;
}

.form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
}

.btn-login {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(42, 82, 152, 0.3);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.feature-list li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.login-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-header {

    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px 20px 0 0;
    padding: 2rem;
}

.form-control:focus {

    border-color: #2a5298;
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
}

.btn-login {

    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(42, 82, 152, 0.3);
}

.shape {
    position: absolute;

    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}


.brand-logo {
    filter: brightness(0) invert(1);
    height: 40px;
}

.form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.feature-list li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.shake-animation {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}