/* =========================================
   Welcome Page Specific Styles
   ========================================= */
   .welcome-container {
    min-height: calc(100vh - var(--header-height));
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-md);
    /* background: linear-gradient(350deg, #f8faff 0%, #ffffff 100%); */
    background: #ffffff;
    overflow: hidden;
}
/* Decorative Background */
.decorative-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.decorative-circle {
    position: absolute;
    bottom: -8rem;
    left: -8rem;
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.05;
}
/* Content Area */
.welcome-content {
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}
/* Logo */
/* Logo padding */
.brand-area {
    margin-bottom: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
}
.logo {
    width: auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img {
    width: 150%; /* Use percentage of parent container */
    max-width: 180px; /* Slightly reduced from 200px */
    height: auto;
}
.logo span {
    display: none;
}
/* Welcome Message */
.welcome-message {
    text-align: center;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
    position: relative;
    padding-top: 1rem; /* Reduced from 2rem */
}
.welcome-message:before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}
.welcome-message h1 {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}
.welcome-message p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem; /* Added to reduce space */
}
/* Form Area */
.welcome-form {
    background: white;
    padding: 1.5rem; /* Reduced from 2rem */
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}
/* Input Styling */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.auth-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}
.auth-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
}
.auth-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}
/* Button Styling */
.auth-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-button:hover {
    background: var(--color-primary-dark);
}
/* Terms Text */
.auth-terms {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.auth-terms a {
    color: var(--color-primary);
    text-decoration: none;
}
.auth-terms a:hover {
    text-decoration: underline;
}
/* Responsive Adjustments */
@media (max-width: 640px) {
    .welcome-message h1 {
        font-size: 2rem;
    }
   
    .welcome-form {
        padding: 1.5rem;
    }
}

/* Responsive adjustment */
@media (min-width: 768px) {
    .brand-area {
        padding: 1rem; /* Reduced from 1.5rem */
    }
}

/* Handle smaller screens */
@media (max-height: 700px) {
    .brand-area {
        display: none; /* Hide duplicate logo on small screens */
    }
    
    .welcome-message h1 {
        font-size: 2rem;
    }
    
    .welcome-form {
        padding: 1rem;
    }
}