 /* General Styles */
        body {
            background-color: #f9fafb; /* Tailwind gray-100 */
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }
        .container-cover {
            max-width: 1250px;
            margin: 0.9rem auto;
            padding: 1.2rem;
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        /* Centered Header */
        h1 {
            text-align: center;
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #000;
        }
        /* Responsive Header */
        .ste-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        .ste {
            flex: 1;
            min-width: 120px;
            padding: 0.5rem;
            text-align: center;
            border-radius: 0.5rem;
            background-color: #d1d5db;
            color: #6b7280;
            margin: 0.25rem;
            cursor: pointer;
            transition: background-color 0.3s, color 0.3s;
        }
        .ste.active {
            background-color: #553c9a;
            color: white;
        }
        /* Progress Bar Container */
        .progress-container {
            width: 100%;
            background-color: #e5e7eb; /* Light gray */
            border-radius: 4px;
            height: 8px;
            margin-bottom: 1rem;
        }
        /* Progress Bar */
        .progress-bar {
            height: 100%;
            width: 0;
            background-color: #553c9a;
            transition: width 0.4s ease;
            border-radius: 4px;
        }
        /* Form Styles */
        .form-group {
            margin-bottom: 0.8rem;
        }
        label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        input, select, textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            font-size: 1rem;
            box-sizing: border-box;
        }
        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #553c9a;
            box-shadow: 0 0 0 1px #553c9a;
        }
        /* Error Styles */
        .error {
            color: red;
            font-size: 0.875em;
            margin-top: 0.25rem;
        }
        /* Form Actions */
        .form-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .form-actions button, .form-actions select {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            font-size: 1rem;
        }
        .form-actions .nextStee {
           background: linear-gradient(90deg, #553c9a, #ee4b2b);
            color: white;
        }
         .form-actions .nextSte {
           background: linear-gradient(90deg, #553c9a, #ee4b2b);
            color: white;
        }
        .form-actions .prevSte {
            background-color: #6b7280;
            color: white;
        }
        .form-actions .resetButton {
            background-color: #ef4444;
            color: white;
        }
        /* Specific Styling for Step 1 Actions */
        .form-actions.step1-actions {
            justify-content: flex-end;
        }
        /* Spinner */
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-top: 4px solid #000;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            animation: spin 1s linear infinite;
            display: none;
            margin: 2rem auto;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* Generated Cover Letter */
        .generated-cover-letter {
            background-color: #f3f4f6;
            padding: 1rem;
            border-radius: 0.5rem;
            margin-top: 1rem;
            border: 1px solid #d1d5db;
            white-space: pre-line;
            word-wrap: break-word;
            overflow: hidden;
            text-align: justify;
            display: none;
        }
        .generated-cover-letter.active {
            display: block;
        }
        .generated-actions {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .generated-actions button {
            background-color: #553c9a;
            color: white;
            border: none;
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1rem;
        }
        .generated-actions button:hover {
            background-color: #333;
        }
        .cover-letter-body {
            text-align: justify;
        }
        .cover-letter-footer {
            text-align: center;
            margin-top: 1rem;
            font-size: 0.875rem;
            color: #6b7280;
        }
        /* Favorites Section */
        .favorites-section {
            margin-top: 2rem;
        }
        .favorites-section h2 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #000;
        }
        .favorite-item {
            background-color: #f3f4f6;
            padding: 1rem;
            border-radius: 0.5rem;
            border: 1px solid #d1d5db;
            margin-bottom: 1rem;
            position: relative;
        }
        .favorite-item .delete-favorite {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background: none;
            border: none;
            color: #ef4444;
            cursor: pointer;
            font-size: 1.2rem;
        }
        /* Language Selector */
        .language-selector {
            margin-top: 1rem;
            display: flex;
            justify-content: flex-end;
        }
        .language-selector select {
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            font-size: 1rem;
        }
        /* Responsive Styles */
        @media (max-width: 768px) {
            .container-cover {
                padding: 1rem;
                margin: 1rem;
            }
            h1 {
                font-size: 1.75rem;
            }
            .ste {
                min-width: 100px;
                padding: 0.5rem;
                font-size: 0.875rem;
            }
            .form-actions {
                flex-direction: column;
                align-items: stretch;
            }
            .form-actions button, .form-actions select {
                width: 100%;
            }
            .language-selector {
                justify-content: center;
            }
        }
        @media (max-width: 480px) {
            h1 {
                font-size: 1.5rem;
            }
            .ste {
                min-width: 80px;
                padding: 0.5rem;
                font-size: 0.75rem;
            }
            input, select, textarea {
                padding: 0.5rem;
                font-size: 0.875rem;
            }
            .form-actions button, .form-actions select {
                font-size: 0.875rem;
            }
            .generated-actions button {
                font-size: 0.875rem;
                padding: 0.5rem;
            }
            .language-selector select {
                width: 100%;
                margin-top: 0.5rem;
            }
        }
        /* Step Content Styles */
        .ste-content {
            display: none;
        }
        .ste-content.active {
            display: block;
        }
        /* Grid Layout for Step 1 */
        .grid-2x2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        @media (max-width: 768px) {
            .grid-2x2 {
                grid-template-columns: 1fr;
            }
        }
        .step {
background-color: #f9f9f9;
padding: 20px;
}
@media screen and (max-width: 768px) {
.step {
padding: 15px;
margin-bottom: 20px;
max-width: 100%;
overflow-x: hidden;
}
}
.step-description {
font-size: 16px;
color: #666;
}