        body {
            font-family: 'Inter', sans-serif;
            background-color: #f3f4f6;
        }
        .container {
            /* Increased max-width for easier data display */
            max-width: 1000px; /* Wider container */
            width: 95%; /* Ensure it's responsive and doesn't get too wide on very large screens */
        }
        textarea {
            min-height: 250px; /* Increased min-height for all textareas */
            resize: vertical;
        }
        .output-section {
            background-color: #ffffff;
            border-radius: 0.5rem;
            padding: 1.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .loading-spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #3b82f6;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .btn-primary {
            background-color: #3b82f6;
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            transition: background-color 0.2s;
        }
        .btn-primary:hover {
            background-color: #2563eb;
        }
        .btn-download-resume {
            background-color: #10b981; /* Green for Resume */
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            transition: background-color 0.2s;
        }
        .btn-download-resume:hover {
            background-color: #059669;
        }
        .btn-download-coverletter {
            background-color: #ef4444; /* Red for Cover Letter */
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            transition: background-color 0.2s;
        }
        .btn-download-coverletter:hover {
            background-color: #dc2626;
        }
        .message-box {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #4CAF50;
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            display: none; /* Hidden by default */
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }
        .message-box.error {
            background-color: #f44336;
        }
        .message-box.show {
            display: block;
            opacity: 1;
        }
        /* Updated Tab Styling */
        .tabs-container {
            display: flex;
            justify-content: center; /* Center the tabs */
            margin-bottom: 1.5rem; /* More space below tabs */
        }
        .tab-button {
            padding: 0.75rem 1.5rem; /* More padding */
            font-size: 0.95rem; /* Slightly larger font */
            font-weight: 600;
            border-radius: 0.5rem 0.5rem 0 0; /* Rounded top corners only */
            background-color: #e5e7eb;
            color: #4b5563;
            transition: all 0.2s ease-in-out;
            border-bottom: 2px solid transparent; /* Subtle border for inactive */
            margin: 0 0.25rem; /* Small gap between tabs */
            cursor: pointer;
        }
        .tab-button:hover:not(.active) {
            background-color: #d1d5db;
            color: #1f2937;
        }
        .tab-button.active {
            background-color: #ffffff;
            color: #3b82f6;
            border-bottom: 2px solid #3b82f6; /* Blue underline for active tab */
            box-shadow: 0 -2px 5px rgba(0,0,0,0.05); /* Subtle shadow on active tab */
            z-index: 1; /* Bring active tab slightly forward */
        }
        .table-row-clickable {
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .table-row-clickable:hover {
            background-color: #f3f4f6;
        }
        /* Style for pre-formatted content like raw HTML */
        .code-block {
            background-color: #f4f4f4;
            padding: 10px;
            border-radius: 5px;
            overflow-x: auto;
            white-space: pre-wrap; /* Ensure wrapping for long lines */
            word-break: break-all; /* Break words to prevent horizontal scroll */
            font-family: 'Courier New', Courier, monospace;
            font-size: 0.8em;
            color: #333;
            border: 1px solid #ddd;
        }
        /* Styling for the new iframes */
        .pdf-preview-iframe {
            width: 100%;
            height: 300px; /* Fixed height, can be adjusted */
            border: 1px solid #e0e0e0;
            border-radius: 0.5rem;
            background-color: white; /* Ensure a white background for the iframe */
        }
        /* No auth-specific styling needed for this version */
