@charset "utf-8";
/* CSS Document */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.job-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 5rem;
}

.left-column {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.job-header {
    border-bottom: 2px solid #0056b3;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.job-title {
    color: #0056b3;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.job-meta {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Application section styling - keeping your transitions but adding new styles */
.application-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.application-section.expanded {
    max-height: 1000px;
    padding: 2rem;
}

.apply-button {
    width: 100%;
    background-color: #0056b3;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: #003d82;
}

.section-title {
    color: #0056b3;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.section-content {
    margin-bottom: 2rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.skill-tag {
    background-color: #e3f2fd;
    color: #0056b3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Form styling - combining both styles */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #f9f9f9;  /* This is rgb(249, 249, 249) */
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
}

/* Higher specificity selector for success message */


/* Add these to your CSS file */
form #response-message.success,
.upload-form #response-message.success,
#application-form #response-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

form #response-message.error,
.upload-form #response-message.error,
#application-form #response-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.file-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 15px;
}

.file-input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.file-input-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.required {
    color: #ff0000;
}

/* Submit button - keeping your styling */
.submit-button {
    background-color: #0056b3;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #003d82;
}

.submit-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Response message styling - adding new styles while preserving yours */
#response-message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

#response-message.processing {
    display: block;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    color: #333;
}

#response-message.success {
    display: block;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#response-message.error {
    display: block;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Keeping your existing message styles for backward compatibility */
.form-message {
    margin: 1rem 0;
}

.success-message {
    color: #28a745;
    padding: 0.5rem;
    background-color: #d4edda;
    border-radius: 4px;
}

.error-message {
    color: #dc3545;
    padding: 0.5rem;
    background-color: #f8d7da;
    border-radius: 4px;
}

.hidden {
    display: none;
}