/**
 * Resume & Cover Letter Generator Styles
 */

.rclg-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rclg-container h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
}

.rclg-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.rclg-tab-button {
    padding: 10px 15px;
    font-size: 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.rclg-tab-button:hover {
    background-color: #f9f9f9;
}

.rclg-tab-button.active {
    border-bottom: 2px solid #2271b1;
    font-weight: 600;
}

.rclg-form-group {
    margin-bottom: 20px;
}

.rclg-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.rclg-date-field {
    flex: 1;
}

.rclg-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.rclg-form-group input,
.rclg-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.rclg-form-group textarea {
    resize: vertical;
}

.required {
    color: #e32;
}

.rclg-form-actions {
    margin-top: 30px;
    text-align: center;
}

.rclg-btn {
    background-color: #2271b1;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.rclg-btn:hover {
    background-color: #135e96;
}

.rclg-secondary-btn {
    background-color: #f0f0f1;
    color: #2c3338;
    border: 1px solid #c3c4c7;
}

.rclg-secondary-btn:hover {
    background-color: #e5e5e5;
    color: #111;
}

.rclg-experience-item,
.rclg-education-item {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.rclg-add-more-container {
    margin-bottom: 25px;
    text-align: right;
}

.rclg-loading {
    text-align: center;
    padding: 30px;
}

.rclg-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #2271b1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.rclg-result-container {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.rclg-result-title {
    text-align: center;
    margin-bottom: 20px;
}

.rclg-preview-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.rclg-download-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rclg-reset-btn {
    display: block;
    margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 768px) {
    .rclg-container {
        padding: 15px;
    }
    
    .rclg-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .rclg-download-options {
        flex-direction: column;
        align-items: center;
    }
} 