/* iamataxpayer Rebranded UI 
   Tiered Support: Desktop, Laptop, Tablet, Mobile
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --primary: #007AFF;
    --primary-hover: #0056b3;
    --bg-main: #F5F5F7;
    --card-bg: #FFFFFF;
    --text-dark: #1D1D1F;
    --text-grey: #86868B;
    --border-light: #D2D2D7;
    --feature-grad: linear-gradient(180deg, #007AFF 0%, #00C7FF 100%);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--text-dark);
}

/* --- 1. DESKTOP & LAPTOP TIER --- */
.tax-wrapper {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 600px;
}

/* Left Section: Login */
.login-column {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-group { margin-bottom: 40px; }
.logo { 
    font-size: 32px; 
    font-weight: 800; 
    color: var(--primary); 
    letter-spacing: -1px; 
    margin-bottom: 4px;
}
.tagline { 
    font-size: 12px; 
    color: var(--text-grey); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 600;
}

/* Google Button */
.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    margin-bottom: 24px;
}
.google-login-btn:hover { background: #fafafa; }
.google-login-btn img { margin-right: 10px; }

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-grey);
    font-size: 12px;
    font-weight: 600;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eeeeee;
}
.divider span { padding: 0 10px; }

/* Form Fields */
.login-box form { display: flex; flex-direction: column; gap: 20px; }
.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label { font-size: 13px; font-weight: 600; color: var(--text-dark); }

.input-group input {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: #FBFBFD;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}
.input-group input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.login-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.login-btn:hover { background: var(--primary-hover); }

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}
.links a {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.links a:hover { text-decoration: underline; }

/* Right Section: Features */
.feature-column {
    flex: 1;
    background: var(--feature-grad);
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.text-box h3 { font-size: 18px; margin-bottom: 6px; }
.text-box p { font-size: 14px; opacity: 0.9; line-height: 1.5; margin-bottom: 4px; }

/* --- 2. TABLET TIER --- */
@media (max-width: 992px) {
    .login-column { padding: 40px; }
    .feature-column { padding: 40px; }
    .tax-wrapper { max-width: 800px; }
}

/* --- 3. MOBILE TIER --- */
@media (max-width: 768px) {
    body { padding: 10px; }
    .tax-wrapper {
        flex-direction: column;
        max-width: 450px;
        min-height: auto;
    }
    .feature-column {
        padding: 40px 30px;
        order: -1; /* Feature box moves to top on mobile */
    }
    .login-column {
        padding: 40px 30px;
    }
    .logo { font-size: 28px; }
}

/* --- 4. SMALL MOBILE TIER --- */
@media (max-width: 480px) {
    .login-column { padding: 30px 20px; }
    .links { flex-direction: column; align-items: center; gap: 12px; }
}