/* Europass CV Form General Styles */
.ecv-form {
    max-width: 800px;
    margin: 20px auto;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333333;
}

/* Headings */
.ecv-form h3 {
    color: #0e4194;
    font-size: 1.3rem;
    border-bottom: 2px solid #0e4194;
    padding-bottom: 6px;
    margin-top: 25px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ecv-form h4 {
    color: #222222;
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Form Input & Textarea Styling */
.ecv-form .form-group {
    margin-bottom: 15px;
}

.ecv-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444444;
}

.ecv-form input[type="text"],
.ecv-form input[type="email"],
.ecv-form input[type="file"],
.ecv-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
}

.ecv-form input[type="text"]:focus,
.ecv-form input[type="email"]:focus,
.ecv-form textarea:focus {
    border-color: #0e4194;
    outline: none;
    box-shadow: 0 0 5px rgba(14, 65, 148, 0.2);
}

.ecv-form textarea {
    min-height: 80px;
    resize: vertical;
}

/* Dynamic Box Items (Experience, Education, Languages) */
.box-item {
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    position: relative;
}

/* Buttons */
.add-btn {
    background-color: #107c41;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 15px;
}

.add-btn:hover {
    background-color: #0b5c30;
}

.remove-btn {
    background-color: #d9534f;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.2s ease;
}

.remove-btn:hover {
    background-color: #c9302c;
}

#generate-cv-btn {
    width: 100%;
    background-color: #0e4194;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#generate-cv-btn:hover {
    background-color: #0a2e6b;
}

#generate-cv-btn:disabled {
    background-color: #88a4d4;
    cursor: not-allowed;
}

/* Response Message */
#cv-response-message {
    margin-top: 15px;
    text-align: center;
    font-size: 15px;
}