﻿:root {
    /* Core Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --success: #22c55e;
    --success-light: #4ade80;
    --success-dark: #16a34a;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --warning-dark: #d97706;
    --danger: #ef4444;
    --danger-light: #f87171;
    --danger-dark: #dc2626;
    --info: #3b82f6;
    --info-light: #60a5fa;
    --info-dark: #2563eb;
    /* Indian-Inspired Colors */
    --saffron: #FF9933;
    --peacock: #00897B;
    --royal-red: #FF1744;
    --deep-indigo: #303F9F;
    --golden-beige: #F5DEB3;
    /* Neutral Colors */
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    /* Spacing */
    --space-xs: 0.25rem; /* 4px */
    --space-sm: 0.5rem; /* 8px */
    --space-md: 1rem; /* 16px */
    --space-lg: 1.5rem; /* 24px */
    --space-xl: 2rem; /* 32px */
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    /* Typography */
    --font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    /* Font Sizes */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-lg: 1.125rem; /* 18px */
    --text-xl: 1.25rem; /* 20px */
    --text-2xl: 1.5rem; /* 24px */
    /* Font Weights */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

button {
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    button:hover {
        opacity: 0.9;
    }

    button:active {
        background-color: var(--win-secondary-pressed);
        transform: translateY(1px);
    }

input, select, textarea {
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
}


.completion-dialog {
    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: 10000;
    animation: fadeIn 0.2s ease-out;
}

.completion-dialog-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease-out;
}

    .completion-dialog-content h2 {
        font-size: var(--text-xl);
        font-weight: var(--weight-semibold);
        color: var(--text);
        margin-bottom: var(--space-md);
    }

    .completion-dialog-content p {
        color: var(--text-secondary);
        margin-bottom: var(--space-lg);
    }

.completion-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

    .completion-actions .btn {
        width: 100%;
        justify-content: center;
    }

.reminder-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

    .reminder-options .btn {
        width: 100%;
        justify-content: center;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .completion-dialog-content {
        background: var(--deep-indigo);
    }

        .completion-dialog-content h2 {
            color: white;
        }

        .completion-dialog-content p {
            color: rgba(255, 255, 255, 0.8);
        }
}