body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #1f2933;
    background: url('../images/bg-img.png') center center / cover no-repeat;
}

#app {
    min-height: 100vh;
}

.guest-navbar {
    position: relative;
    z-index: 20;
    padding: 18px 42px;
}

.guest-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.guest-brand {
    display: inline-flex;
    align-items: center;
}

.guest-brand img {
    width: 120px;
    display: block;
}

.guest-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.guest-nav-link {
    min-width: 110px;
    padding: 10px 18px;
    border: 1px solid rgba(18, 75, 45, 0.45);
    border-radius: 999px;
    color: #124b2d;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(6px);
}

.guest-nav-link.is-active {
    background: #124b2d;
    color: #fff;
    border-color: #124b2d;
}

.guest-nav-link:hover {
    color: #124b2d;
    background: rgba(255, 255, 255, 0.92);
}

.guest-nav-link.is-active:hover {
    color: #fff;
    background: #124b2d;
}

.login-page {
    min-height: calc(100vh - 92px);
    padding: 12px 32px 32px;
    position: relative;
}

.login-card-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: min(100%, 480px);
    padding: 60px 50px 54px;
    background: url('../images/login-bg.png') center center / 100% 100% no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* border: 4px solid #f7eac6;
    border-radius: 21px; */
}

.login-title {
    margin: 0;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 36px;
    font-weight: 700;
    color: #124b2d;
}

.login-subtitle {
    margin: 16px 0 26px;
    text-align: center;
    font-size: 13px;
    color: #2f3b44;
}

.login-label {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #2f3133;
}

.login-label .required {
    color: #dc3545;
}

.login-input {
    height: 45px;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 13px;
    color: #20262c;
    box-shadow: none;
}

.login-input::placeholder {
    color: #adb1b4;
}

.login-input:focus {
    border-color: #124b2d;
    box-shadow: 0 0 0 0.2rem rgba(18, 75, 45, 0.12);
}

.password-wrap {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9aa0a6;
    padding: 0;
    font-size: 15px;
}

.password-toggle:focus {
    outline: none;
}

.login-row {
    margin-top: 16px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #8a8f94;
}

.login-row .form-check-label,
.login-row a {
    color: #8a8f94;
    text-decoration: none;
    font-size: 14px;
}

.login-row a:hover {
    color: #124b2d;
}

.login-btn {
    height: 45px;
    border: 0;
    border-radius: 4px;
    background: #124b2d;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.invalid-feedback {
    display: block;
}

.register-card {
    width: min(100%, 760px);
    padding: 56px 54px 50px;
}

.register-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.register-form-grid.register-form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.register-actions {
    margin-top: 28px;
}

.register-btn {
    min-width: 180px;
}

.auth-card-wide {
    width: min(100%, 640px);
}

.auth-text {
    margin: 0 0 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    color: #43515b;
}

.auth-alert {
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid rgba(18, 75, 45, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: #124b2d;
    font-size: 14px;
}

.auth-actions {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.auth-link {
    color: #124b2d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.auth-link:hover {
    color: #0d351f;
}

.auth-inline-form {
    display: inline;
}

.auth-inline-button {
    border: 0;
    background: transparent;
    padding: 0;
    color: #124b2d;
    font-size: 14px;
    font-weight: 600;
}

.auth-inline-button:hover {
    color: #0d351f;
}

.auth-form-stack {
    display: grid;
    gap: 18px;
}

.auth-readonly-input {
    background: rgba(245, 247, 248, 0.92);
    color: #66727b;
}

@media (max-width: 767.98px) {
    .guest-navbar {
        padding: 18px 20px;
    }

    .guest-navbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .guest-brand img {
        width: 88px;
    }

    .guest-nav {
        width: 100%;
    }

    .guest-nav-link {
        flex: 1;
        min-width: 0;
    }

    .login-page {
        padding: 20px;
    }

    .login-card-section {
        min-height: auto;
    }

    .login-card {
        min-height: auto;
        padding: 56px 22px 32px;
        background-size: cover;
    }

    .register-card {
        padding: 52px 22px 30px;
    }

    .register-form-grid,
    .register-form-grid.register-form-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .register-actions {
        margin-top: 22px;
    }

    .register-btn {
        width: 100%;
    }

    .auth-card-wide {
        width: 100%;
    }

    .auth-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-inline-form {
        display: block;
        width: 100%;
    }

    .auth-inline-button {
        width: 100%;
        text-align: center;
    }

    .login-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
