/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #006400;
    --secondary-green: #008000;
    --light-green: #E8F5E8;
    --dark-green: #004d00;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
}

/* Login Page Styles */
.login-body {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.login-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 32px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

.tagline {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 32px;
}

.welcome-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.subtitle {
    color: var(--gray-500);
    font-size: 14px;
}

/* Google Button */
.google-btn {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
    margin-bottom: 24px;
}

.google-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.google-icon {
    flex-shrink: 0;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
    color: var(--gray-400);
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.divider span {
    background: var(--white);
    padding: 0 16px;
    position: relative;
}

/* Email Form */
.email-form {
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: var(--white);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
}

.input-group input::placeholder {
    color: var(--gray-400);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
}

.checkbox input {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.checkbox input:checked + .checkmark {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.forgot-password {
    font-size: 14px;
    color: var(--primary-green);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Sign In Button */
.signin-btn {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.signin-btn:hover {
    background: var(--dark-green);
    transform: translateY(-1px);
}

/* Sign Up Section */
.signup-section {
    text-align: center;
    margin-bottom: 32px;
}

.signup-section p {
    font-size: 14px;
    color: var(--gray-600);
}

.signup-link {
    color: var(--primary-green);
    font-weight: 500;
    text-decoration: none;
}

.signup-link:hover {
    text-decoration: underline;
}

/* Features Preview */
.features-preview {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    flex: 1;
}

.feature-icon {
    font-size: 20px;
}

.feature-item span:last-child {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Background Shapes */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 100px;
    left: -75px;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: -50px;
    right: 20%;
}

/* Main App Styles (Your existing styles enhanced) */
.main-app {
    background: var(--light-green);
    min-height: 100vh;
}

/* Enhanced Card Styles */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-green);
}

.card h2 {
    color: var(--primary-green);
    margin-bottom: 16px;
    font-weight: 600;
}

/* Navigation Styles */
.sidebar {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.nav-item:hover {
    background: var(--light-green);
    color: var(--primary-green);
}

.nav-item.active {
    background: var(--primary-green);
    color: var(--white);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-green);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row > * {
    flex: 1;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

/* Task Item Styles */
.task-item {
    background: var(--white);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid;
    transition: all 0.2s;
}

.task-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.task-item.high-priority {
    border-left-color: #dc2626;
}

.task-item.medium-priority {
    border-left-color: #d97706;
}

.task-item.low-priority {
    border-left-color: var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        padding: 24px;
        margin: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .features-preview {
        flex-direction: column;
        gap: 12px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Keyframes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: slideIn 0.6s ease-out;
}