 /* CSS Variables for full theme control */
        :root {
            --primary-color: #FF5722;      /* Controls sidebar BG */
            --heading-color: #FF5722;       /* Controls main H2 headings on the right */
            --sidebar-text-color: #FFFFFF;  /* Controls all text in the left sidebar */
            --subheading-color: #1F2937;    /* Controls subheadings like company/school names */
            --body-text-color: #4B5563;     /* Controls main paragraph text */
            --font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: #f0f4f8;
        }
        
        * {
            transition: all 0.3s ease;
        }

        /* Animated gradient for the top header */
        .animated-gradient {
            background: linear-gradient(-45deg, #4f46e5, #FF5722, #4f46e5);
            background-size: 400% 400%;
            animation: gradientBG 10s ease infinite;
        }

        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Styles for editor cards */
        .editor-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            margin-bottom: 1.5rem;
            overflow: hidden;
            border: 1px solid #e5e7eb;
        }
        
        .editor-card h3 {
            background-color: rgba(0,0,0,0.03);
            border-bottom: 1px solid #e5e7eb;
        }

        /* Form input styles */
        .form-input, .form-textarea, .form-select {
            width: 100%;
            border-radius: 8px;
            border: 1px solid #d1d5db;
            padding: 10px 12px;
            font-size: 0.9rem;
        }
        .form-input:focus, .form-textarea:focus, .form-select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
        }

        /* Button styles */
        .action-button {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            color: white;
            background-color: #FF5722; /* Keep this a consistent color */
            border: none;
            cursor: pointer;
            transform: translateY(0);
        }
        .action-button:hover {
            background-color: #2563eb;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            transform: translateY(-2px);
        }
        .color-input-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .color-input-wrapper input[type="color"] {
            width: 40px;
            height: 40px;
            padding: 2px;
            border-radius: 8px;
            border: 1px solid #d1d5db;
            cursor: pointer;
        }

        /* Resume Preview Styling using CSS Variables */
        #resume-preview {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            font-family: var(--font-family);
            padding: 0;
            overflow: hidden;
        }
        
        #resume-preview .left-column {
            background-color: var(--primary-color);
            color: var(--sidebar-text-color);
        }
        
        #resume-preview .left-column h1,
        #resume-preview .left-column h3,
        #resume-preview .left-column i,
        #resume-preview .skill-badge {
             color: var(--sidebar-text-color);
        }

        #resume-preview .skill-badge {
            background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white looks good on most colors */
        }
        
        #resume-preview .right-column {
            color: var(--body-text-color);
        }
        #resume-preview .right-column h2 {
            color: var(--heading-color);
            border-bottom: 2px solid var(--heading-color);
        }
        #resume-preview .right-column h3 {
            color: var(--subheading-color);
        }

        /* Print-specific styles */
        @media print {
            body * { visibility: hidden; }
            #resume-preview, #resume-preview * { visibility: visible; }
            #resume-preview {
                position: absolute; left: 0; top: 0; width: 100%;
                box-shadow: none; border-radius: 0;
            }
            #resume-preview .left-column {
                background-color: #f0f0f0 !important;
                color: black !important;
            }
            #resume-preview .left-column * { color: black !important; }
            #resume-preview .skill-badge {
                background-color: #e5e5e5 !important;
                color: black !important;
            }
            .no-print { display: none; }
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: #f1f1f1; }
        ::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
        ::-webkit-scrollbar-thumb:hover { background: #aaa; }

