/* Login Page Styles */

.login-body {
    background-color: var(--login-container);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo-wrapper {
    width: 130px;
    height: 130px;
    background-color: var(--theme);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Title and Subtitle */
.resort-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: 0;
}

.login-subtitle {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    margin-bottom: 32px;
}

/* Form Styles */
.login-form {
    width: 100%;
}

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

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: var(--text-sm);
    color: var(--primary);
    background-color: var(--muted);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
}

.form-control::placeholder {
    color: var(--muted-foreground);
    opacity: 0.6;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--theme);
    box-shadow: 0 0 0 3px rgba(8, 55, 45, 0.1);
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 14px 24px;
    font-size: var(--text-base);
    font-weight: 500;
    color: #ffffff;
    background-color: var(--theme);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    margin-bottom: 16px;
}

.btn-login:hover {
    background-color: #0a4839;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(8, 55, 45, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

/* Demo Credentials */
.demo-credentials {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--muted-foreground);
    margin-top: 16px;
    margin-bottom: 0;
}

/* Error Messages */
.messages {
    margin-top: 16px;
}

.messages .alert {
    font-size: var(--text-sm);
    border-radius: 8px;
    padding: 12px 16px;
}

/* Responsive Design */
@media (max-width: 576px) {
    .login-card {
        padding: 32px 24px;
    }

    .logo-wrapper {
        width: 110px;
        height: 110px;
    }

    .resort-title {
        font-size: var(--text-xl);
    }

    .login-subtitle {
        font-size: var(--text-xs);
    }
}

@media (max-width: 380px) {
    .login-card {
        padding: 24px 20px;
    }

    .logo-wrapper {
        width: 100px;
        height: 100px;
    }
}
