/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-color: #f9fafb;
    --dark-color: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

body {
    background-color: #f3f4f6;
    color: #374151;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-theme {
    background-color: #1f2937;
    color: #f9fafb;
}

body.blue-theme {
    background-color: #eff6ff;
    color: #1e3a8a;
}

/* Login Screen */
.login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 1200px;
    width: 90%;
    min-height: 600px;
    overflow: hidden;
}

.login-left {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.logo-animation {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.app-title {
    font-size: 3rem;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 400px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 400px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateX(3px);
}

.feature-item i {
    color: var(--success-color);
    font-size: 1rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem;
}

.login-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-box h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #4285f4;
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.google-login-btn:hover {
    background: #3367d6;
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-align: center;
}

.login-image {
    margin-top: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-height: 180px;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* App Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.dark-theme .app-header {
    background: #374151;
    border-bottom-color: #4b5563;
}

.blue-theme .app-header {
    background: #dbeafe;
    border-bottom-color: #bfdbfe;
}

.header-left,
.header-center,
.header-right {
    flex: 1;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-small i {
    font-size: 1.5rem;
}

.header-center {
    text-align: center;
}

.header-center h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.logout-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn:hover {
    background: #dc2626;
}

/* Main Content */
.main-content {
    display: flex;
    flex: 1;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}

.dark-theme .sidebar {
    background: #374151;
    border-right-color: #4b5563;
}

.blue-theme .sidebar {
    background: #dbeafe;
    border-right-color: #bfdbfe;
}

.menu {
    list-style: none;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: #f9fafb;
    color: var(--primary-color);
}

.dark-theme .menu-item:hover {
    background: #4b5563;
}

.blue-theme .menu-item:hover {
    background: #bfdbfe;
}

.menu-item.active {
    background: #f3f4f6;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.dark-theme .menu-item.active {
    background: #4b5563;
}

.blue-theme .menu-item.active {
    background: #bfdbfe;
}

.menu-item i {
    width: 1.25rem;
    text-align: center;
}

.user-info {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dark-theme .user-info {
    border-top-color: #4b5563;
}

.blue-theme .user-info {
    border-top-color: #bfdbfe;
}

.user-avatar i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details span {
    font-weight: 600;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.dark-theme .stat-card {
    background: #374151;
}

.blue-theme .stat-card {
    background: #dbeafe;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h4 {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
}

.dark-theme .stat-value {
    color: white;
}

.blue-theme .stat-value {
    color: #1e3a8a;
}

/* Ads */
.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.0rem;
}

.ad-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
    height: 210px;
}

.dark-theme .ad-card {
    background: #374151;
}

.blue-theme .ad-card {
    background: #dbeafe;
}

.ad-card:hover {
    transform: translateY(-2px);
}

.ad-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ad-card img,
.ad-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Buttons */
.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-btn:hover {
    background: var(--primary-dark);
}

.secondary-btn {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
}

.danger-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.danger-btn:hover {
    background: #dc2626;
}

/* Clients */
.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}

.dark-theme .client-card {
    background: #374151;
}

.blue-theme .client-card {
    background: #dbeafe;
}

.client-card:hover {
    transform: translateY(-2px);
}

.client-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.client-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.client-company {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.client-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
}

.action-btn:hover {
    color: var(--primary-color);
}

.client-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.dark-theme .client-info {
    border-top-color: #4b5563;
}

.blue-theme .client-info {
    border-top-color: #bfdbfe;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.info-row i {
    width: 1rem;
    color: var(--secondary-color);
}

/* Tasks */
.task-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-theme .filter-btn {
    background: #374151;
    border-color: #4b5563;
}

.blue-theme .filter-btn {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tasks-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.task-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}

.dark-theme .task-card {
    background: #374151;
}

.blue-theme .task-card {
    background: #dbeafe;
}

.task-card:hover {
    transform: translateY(-2px);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.task-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.task-status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-todo {
    background: #fef3c7;
    color: #92400e;
}

.status-working {
    background: #dbeafe;
    color: #1e40af;
}

.status-review {
    background: #fce7f3;
    color: #9d174d;
}

.status-done {
    background: #d1fae5;
    color: #065f46;
}

.task-description {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.task-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.dark-theme .task-footer {
    border-top-color: #4b5563;
}

.blue-theme .task-footer {
    border-top-color: #bfdbfe;
}

.task-client {
    color: var(--secondary-color);
}

.task-hours {
    color: var(--primary-color);
    font-weight: 600;
}

/* Time Tracker */
.time-tracker-container {
    max-width: 800px;
    margin: 0 auto;
}

.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.dark-theme .tracker-header {
    background: #374151;
}

.blue-theme .tracker-header {
    background: #dbeafe;
}

.timer-display {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.tracker-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tracker-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
}

.dark-theme .info-card {
    background: #374151;
}

.blue-theme .info-card {
    background: #dbeafe;
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-card h4 {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.info-card p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.dark-theme .info-card p {
    color: white;
}

.blue-theme .info-card p {
    color: #1e3a8a;
}

.tracker-history {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.dark-theme .tracker-history {
    background: #374151;
}

.blue-theme .tracker-history {
    background: #dbeafe;
}

.tracker-history h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.dark-theme .session-item {
    background: #4b5563;
}

.blue-theme .session-item {
    background: #eff6ff;
}

.session-date {
    font-weight: 600;
}

.session-duration {
    color: var(--primary-color);
    font-weight: 700;
}

.session-actions {
    display: flex;
    gap: 0.5rem;
}

.session-delete-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
    font-size: 0.875rem;
}

.session-delete-btn:hover {
    color: var(--danger-color);
}

/* Feedback Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.625rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.dark-theme .timeline::before {
    background: #4b5563;
}

.blue-theme .timeline::before {
    background: #bfdbfe;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.dark-theme .timeline-item {
    background: #374151;
}

.blue-theme .timeline-item {
    background: #dbeafe;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.875rem;
    top: 1.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
}

.dark-theme .timeline-item::before {
    border-color: #374151;
}

.blue-theme .timeline-item::before {
    border-color: #dbeafe;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-content {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Backup */
.backup-container {
    display: grid;
    gap: 2rem;
}

.storage-info {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.dark-theme .storage-info {
    background: #374151;
}

.blue-theme .storage-info {
    background: #dbeafe;
}

.storage-meter {
    margin: 1.5rem 0;
}

.meter-bar {
    height: 1rem;
    background: #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.dark-theme .meter-bar {
    background: #4b5563;
}

.blue-theme .meter-bar {
    background: #bfdbfe;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 0.5rem;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.meter-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.backup-options {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.dark-theme .backup-options {
    background: #374151;
}

.blue-theme .backup-options {
    background: #dbeafe;
}

.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.option-card {
    background: #f9fafb;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.dark-theme .option-card {
    background: #4b5563;
    border-color: #6b7280;
}

.blue-theme .option-card {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.option-card:hover {
    transform: translateY(-2px);
}

.option-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.option-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.option-card p {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.backup-ads {
    margin-top: 1rem;
}

/* Settings */
.settings-container {
    display: grid;
    gap: 2rem;
}

.settings-group {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.dark-theme .settings-group {
    background: #374151;
}

.blue-theme .settings-group {
    background: #dbeafe;
}

.settings-group h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.settings-select {
    width: 100%;
    max-width: 300px;
}

.theme-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.theme-option {
    cursor: pointer;
}

.theme-preview {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
}

.theme-option.active .theme-preview {
    border-color: var(--primary-color);
}

.light-theme { background: #ffffff; border: 1px solid #e5e7eb; }
.dark-theme-preview { background: #374151; }
.blue-theme-preview { background: #dbeafe; }

.account-info {
    background: #f9fafb;
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 0.875rem;
}

.dark-theme .account-info {
    background: #4b5563;
}

.blue-theme .account-info {
    background: #eff6ff;
}

.account-info p {
    margin-bottom: 0.5rem;
}

/* About */
.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.dark-theme .about-hero {
    background: #374151;
}

.blue-theme .about-hero {
    background: #dbeafe;
}

.about-hero i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-hero h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-content {
    display: grid;
    gap: 2rem;
}

.about-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.dark-theme .about-section {
    background: #374151;
}

.blue-theme .about-section {
    background: #dbeafe;
}

.about-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.dark-theme .feature {
    background: #4b5563;
    border-color: #6b7280;
}

.blue-theme .feature {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.about-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.dark-theme .about-footer {
    border-top-color: #4b5563;
}

.blue-theme .about-footer {
    border-top-color: #bfdbfe;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.dark-theme .modal-content {
    background: #374151;
}

.blue-theme .modal-content {
    background: #dbeafe;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dark-theme .modal-header {
    border-bottom-color: #4b5563;
}

.blue-theme .modal-header {
    border-bottom-color: #bfdbfe;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--secondary-color);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.dark-theme .modal-footer {
    border-top-color: #4b5563;
}

.blue-theme .modal-footer {
    border-top-color: #bfdbfe;
}

/* Ad Modal */
.ad-modal {
    max-width: 400px;
}

.ad-display {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.dark-theme .ad-display {
    background: #4b5563;
}

.blue-theme .ad-display {
    background: #eff6ff;
}

.ad-placeholder-large {
    text-align: center;
}

.ad-placeholder-large i {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.ad-timer {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.ad-notice {
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.875rem;
}

.dark-theme .form-group label {
    color: #f9fafb;
}

.blue-theme .form-group label {
    color: #1e3a8a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: white;
    color: var(--dark-color);
    transition: all 0.2s;
}

.dark-theme .form-group input,
.dark-theme .form-group textarea,
.dark-theme .form-group select {
    background: #4b5563;
    border-color: #6b7280;
    color: #f9fafb;
}

.blue-theme .form-group input,
.blue-theme .form-group textarea,
.blue-theme .form-group select {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dark-theme .form-group input:focus,
.dark-theme .form-group textarea:focus,
.dark-theme .form-group select:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.blue-theme .form-group input:focus,
.blue-theme .form-group textarea:focus,
.blue-theme .form-group select:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.dark-theme .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
}

.blue-theme .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%231e40af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
        min-height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .login-left, .login-right {
        width: 100%;
    }
    
    .login-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
    }
    
    .menu {
        display: flex;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .menu-item {
        flex-direction: column;
        padding: 0.5rem;
        min-width: 80px;
        text-align: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .menu-item.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
    
    .menu-item span {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
    
    .user-info {
        display: none;
    }
    
    .content-area {
        padding: 1rem;
    }
    
    .timer-display {
        font-size: 2.5rem;
    }
    
    .tracker-controls {
        flex-wrap: wrap;
    }
    
    .tracker-info {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .login-left {
        padding: 2rem 1.5rem;
    }
    
    .login-right {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ads-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-list,
    .tasks-list {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-grid {
        grid-template-columns: 1fr;
    }
    
    .tracker-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .timer-display {
        font-size: 2rem;
    }
}

/* =====================================
   MODAL FORM SYSTEM (FORCED OVERRIDE)
   This fixes Add Client / Task / Feedback
===================================== */

.modal-content .form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-content .form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.modal-content .form-group input,
.modal-content .form-group textarea,
.modal-content .form-group select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    background: var(--card-bg, #fff);
    color: var(--text-color, #111827);
}

.modal-content .form-group textarea {
    resize: vertical;
}

.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus,
.modal-content .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(79,70,229,.15);
}

/* Form row (side-by-side fields) */
.modal-content .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Dark theme fix */
.dark-theme .modal-content .form-group input,
.dark-theme .modal-content .form-group textarea,
.dark-theme .modal-content .form-group select {
    background: #374151;
    color: #fff;
    border-color: #4b5563;
}

/* Blue theme fix */
.blue-theme .modal-content .form-group input,
.blue-theme .modal-content .form-group textarea,
.blue-theme .modal-content .form-group select {
    background: #eff6ff;
}
