/* ===== SIGN IN PAGE - PROFESSIONAL DESIGN ===== */
.signin-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.signin-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

/* ===== LEFT SIDE - BRANDING ===== */
.signin-hero {
    text-align: left;
    padding: 2rem 0;
}

.signin-hero__brand {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.signin-hero__logo {
    height: 48px;
    width: auto;
    margin-right: 1rem;
}

.signin-hero__brand-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #3730a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signin-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.signin-hero__subtitle {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.signin-hero__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.signin-hero__feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #475569;
    font-size: 1rem;
}

.signin-hero__feature-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: #10b981;
    font-weight: 700;
}

/* ===== RIGHT SIDE - SIGN IN FORM ===== */
.signin-form-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.signin-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
}

.signin-form__header {
    text-align: center;
    margin-bottom: 2rem;
}

.signin-form__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.signin-form__subtitle {
    color: #64748b;
    font-size: 1rem;
}

/* ===== FORM FIELDS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:hover {
    border-color: #d1d5db;
}

.form-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.form-input:invalid {
    border-color: #ef4444;
}

.form-input:invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1.25rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    font-family: inherit;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-google {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
}

.btn-google:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    text-decoration: none;
    color: #374151;
    transform: translateY(-1px);
}

.btn-google__icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* ===== DIVIDER ===== */
.signin-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #9ca3af;
    font-size: 0.875rem;
}

.signin-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}

.signin-divider__text {
    background: #ffffff;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* ===== ERROR MESSAGE ===== */
.error-message {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .signin-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .signin-hero {
        text-align: center;
        order: 2;
    }
    
    .signin-form-container {
        order: 1;
    }
    
    .signin-hero__title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .signin-page {
        padding: 1rem;
    }
    
    .signin-form-container {
        padding: 2rem;
    }
    
    .signin-hero__title {
        font-size: 1.75rem;
    }
    
    .signin-hero__subtitle {
        font-size: 1.125rem;
    }
}
