/* 
  MWTA Phase 1 EDC - Premium Styling
  Colors: Deep Medical Blue, Clean White, and Soft Gray
*/

:root {
    --primary-color: #005A9C;
    --primary-hover: #00457A;
    --accent-color: #3282b8;
    --light-bg: #f8f9fa;
    --text-main: #2b2b2b;
    --text-muted: #6c757d;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --error-color: #d9534f;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    height: 100vh;
    overflow: hidden;
}

/* Split Layout */
.split-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Left Brand Section */
.brand-section {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--white);
    overflow: hidden;
}

.brand-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.03)" stroke-width="2" fill="none"/></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    animation: fadeIn 1s ease-out;
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
}

.brand-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.brand-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
}

.decorative-line {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 2rem 0;
}

.brand-footer {
    font-size: 0.85rem;
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Right Login Section */
.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
}

.login-card {
    background: var(--white);
    padding: 3rem 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    animation: slideUp 0.8s ease-out;
}

.login-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-hover);
}

.login-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Styles */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.input-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: #fafafa;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(50, 130, 184, 0.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.forgot-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.2);
}

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

.error-text {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 1rem;
    text-align: center;
}

.hidden {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }
    .brand-section {
        flex: 0.4;
        padding: 2rem;
    }
    .brand-title {
        font-size: 2rem;
    }
    .login-section {
        flex: 0.6;
        padding: 2rem;
    }
}
