.authenticate-page {
    background: radial-gradient(circle at top, #2e003e, #1a0028);
    color: #d1c5d8;
    padding: 60px 20px 60px;
}

.authenticate-page .container.authenticate {
    display: flex;
    justify-content: center;
    align-items: center;
}

.authenticate-page .box {
    width: 500px;
    background: #2e003e;
    border: 1px solid rgba(184, 0, 255, 0.3);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(184, 0, 255, 0.05);
    transition: all 0.3s ease;
}

.authenticate-page .box:hover {
    border-color: rgba(255, 255, 0, 0.2);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.5), 0 0 80px rgba(184, 0, 255, 0.08);
}

.authenticate-page h2 {
    text-align: center;
    margin-bottom: 24px;
    font-weight: 100;
    background: linear-gradient(135deg, #ffff00, #b800ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    letter-spacing: 1px;
}

.authenticate-page label {
    font-weight: 500;
    margin-bottom: 4px;
    color: #d1c5d8;
    font-size: 14px;
}

.authenticate-page .form-group {
    margin-bottom: 16px;
}

.authenticate-page input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(184, 0, 255, 0.25);
    background: rgba(26, 0, 40, 0.6);
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.authenticate-page input:focus {
    border-color: #ffff00;
    box-shadow: 0 0 25px rgba(255, 255, 0, 0.08), inset 0 0 25px rgba(255, 255, 0, 0.03);
    background: rgba(26, 0, 40, 0.8);
}

.authenticate-page input::placeholder {
    color: #8a6a9a;
}

.authenticate-page input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #2e003e inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.authenticate-page button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ffff00, #b800ff);
    border: none;
    color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.authenticate-page button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #b800ff, #ffff00);
    opacity: 0;
    transition: all 0.3s ease;
}

.authenticate-page button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 0, 255, 0.3), 0 0 50px rgba(255, 255, 0, 0.1);
}

.authenticate-page button:hover::before {
    opacity: 1;
}

.authenticate-page button span {
    position: relative;
    z-index: 1;
}

.authenticate-page .link {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #8a6a9a;
}

.authenticate-page .link a {
    color: #ffff00;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.authenticate-page .link a:hover {
    color: #b800ff;
    border-bottom-color: #b800ff;
}

/* Alert / Error Messages */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert.alert-danger {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

.alert.alert-success {
    background: rgba(255, 255, 0, 0.08);
    border: 1px solid rgba(255, 255, 0, 0.2);
    color: #ffff00;
}

.alert.alert-info {
    background: rgba(184, 0, 255, 0.08);
    border: 1px solid rgba(184, 0, 255, 0.2);
    color: #b800ff;
}

.alert.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

.alert.alert-danger li {
    font-size: 14px;
    list-style-type: none;
    position: relative;
    padding-left: 20px;
}

.alert.alert-danger li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

/* Checkbox / Remember Me */
.authenticate-page .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 8px;
}

.authenticate-page .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #b800ff;
    border: 2px solid rgba(184, 0, 255, 0.3);
    border-radius: 4px;
}

.authenticate-page .form-check input[type="checkbox"]:checked {
    background-color: #b800ff;
    border-color: #b800ff;
}

.authenticate-page .form-check label {
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    color: #b8a0c8;
    cursor: pointer;
}

/* Divider */
.authenticate-page .divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #8a6a9a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.authenticate-page .divider::before,
.authenticate-page .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 0, 255, 0.2), transparent);
}

.authenticate-page .divider::before {
    margin-right: 16px;
}

.authenticate-page .divider::after {
    margin-left: 16px;
}

/* Social Login Buttons */
.authenticate-page .social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.authenticate-page .social-login button {
    padding: 10px;
    font-size: 13px;
    margin-top: 0;
    background: rgba(26, 0, 40, 0.6);
    border: 1px solid rgba(184, 0, 255, 0.2);
    color: #d1c5d8;
}

.authenticate-page .social-login button:hover {
    background: rgba(184, 0, 255, 0.15);
    border-color: #ffff00;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(184, 0, 255, 0.15);
}

.authenticate-page .social-login button i {
    margin-right: 8px;
    font-size: 16px;
}

.authenticate-page .social-login button .fa-google {
    color: #ea4335;
}

.authenticate-page .social-login button .fa-facebook {
    color: #1877f2;
}

@media (max-width: 768px) {
    .authenticate-page {
        padding: 40px 16px 40px;
    }

    .authenticate-page .box {
        padding: 25px 20px;
        width: 100%;
        max-width: 450px;
    }

    .authenticate-page label,
    .authenticate-page input {
        font-size: 14px;
    }

    .authenticate-page h2 {
        font-size: 24px;
    }

    .authenticate-page .social-login {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .authenticate-page {
        padding: 30px 12px 30px;
    }

    .authenticate-page .box {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .authenticate-page h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .authenticate-page input {
        padding: 8px 12px;
        font-size: 14px;
    }

    .authenticate-page button {
        padding: 10px;
        font-size: 14px;
    }

    .authenticate-page .form-check input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
}