* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', "Segoe UI", Roboto, Arial, sans-serif;
}

body {

    min-height: 100vh;

    background:
        linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)),
        url('jrb.avif');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow-x: hidden;
}

/* PAGE */

.page-wrapper {

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

/* HEADER */

.header {

    text-align: center;

    padding: 60px 20px 20px;
}

.header h1 {

    color: white;

    font-size: 34px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.header span {

    color: #d9a441;
}

/* LOGIN AREA */

.login-container {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;
}

/* CARD */

.login-card {

    width: 100%;
    max-width: 460px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(24px);

    -webkit-backdrop-filter: blur(24px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 24px;

    padding: 40px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);

    color: white;
}

/* TITLES */

.login-card h2 {

    font-size: 32px;

    margin-bottom: 8px;

    font-weight: 700;
}

.subtitle {

    color: rgba(255, 255, 255, 0.85);

    margin-bottom: 28px;

    font-size: 15px;

    text-align: center;
}

/* LOGO */

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-img {
    width: 100%;
    max-width: 280px;
    height: 85px;
    object-fit: contain;
    border-radius: 12px;
    /* background: rgba(255, 255, 255, 0.05); */
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ALERTS */

.alert {

    padding: 15px;

    border-radius: 12px;

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.7;

    animation: fadeIn 0.3s ease;
}

.alert strong {

    display: block;

    margin-bottom: 4px;
}

.alert.success {

    background: rgba(34, 197, 94, 0.18);

    border: 1px solid rgba(34, 197, 94, 0.4);

    color: #d1fae5;
}

.alert.error {

    background: rgba(239, 68, 68, 0.18);

    border: 1px solid rgba(239, 68, 68, 0.35);

    color: #ffe4e6;
}

/* INPUTS */

.input-group {
    margin-bottom: 20px;
}

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

.input-icon {
    position: absolute;
    left: 18px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: 0.3s ease;
}

.input-group input {

    width: 100%;

    padding: 16px 16px 16px 48px;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(255, 255, 255, 0.06);

    color: white;

    font-size: 15px;

    transition: all 0.3s ease;
}

.input-group input::placeholder {

    color: rgba(255, 255, 255, 0.5);
}

.input-group input:focus {

    outline: none;

    border-color: #d9a441;

    background: rgba(255, 255, 255, 0.12);

    box-shadow:
        0 0 0 4px rgba(217, 164, 65, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.input-group input:focus+.input-icon,
.input-group input:focus~.input-icon {
    color: #d9a441;
}

/* TOGGLE PASSWORD */

.toggle-password {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: 0.3s ease;
}

.toggle-password:hover {
    color: white;
}

.toggle-password:focus {
    outline: none;
    color: #d9a441;
}

/* OPTIONS */

.options {

    margin-bottom: 20px;

    font-size: 14px;

    color: rgba(255, 255, 255, 0.8);
}

/* BUTTONS */

.btn-primary {

    width: 100%;

    padding: 16px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(135deg, #e6b95b, #c79234);

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    margin-bottom: 15px;

    box-shadow: 0 6px 20px rgba(217, 164, 65, 0.3);
}

.btn-primary:hover {

    background: linear-gradient(135deg, #f2c76d, #d49f3f);

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(217, 164, 65, 0.4);
}

.btn-secondary {

    width: 100%;

    padding: 16px;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    background: rgba(255, 255, 255, 0.03);

    color: white;

    font-size: 15px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;
}

.btn-secondary:hover {

    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* OR DIVIDER */

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.or-divider span {
    padding: 0 15px;
}

/* GOOGLE BUTTON */

.btn-google {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.google-icon {
    width: 22px;
    height: 22px;
}

/* FOOTER */

footer {
    width: 100%;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-item:hover {
    color: white;
}

.footer-item svg {
    color: #d9a441;
}

@media(max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* ANIMATION */

@keyframes fadeIn {

    from {

        opacity: 0;
        transform: translateY(-5px);
    }

    to {

        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media(max-width:480px) {

    .header {

        padding-top: 40px;
    }

    .header h1 {

        font-size: 26px;
    }

    .login-card {

        padding: 28px 22px;

        border-radius: 18px;
    }

    .login-card h2 {

        font-size: 26px;
    }
}