/**
 * Job Add New Modal Styles
 * File: /css/job-add-new.css
 * Theme: Green color scheme inspired by banking design
 */

/* Add New Job Button */
.job-add-btn-xyz789 {
    background-color: #1A8F39;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(26, 143, 57, 0.2);
}

.job-add-btn-xyz789:hover {
    background-color: #147A30;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 143, 57, 0.3);
}

.job-add-btn-xyz789:active {
    transform: translateY(0);
}

/* Modal Container */
.job-modal-xyz789 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

/* Modal Content */
.job-modal-content-xyz789 {
    background-color: #ffffff;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.job-modal-header-xyz789 {
    background: linear-gradient(135deg, #1A8F39 0%, #22B14C 100%);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-modal-header-xyz789 h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

/* Close Button */
.job-modal-close-xyz789 {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.job-modal-close-xyz789:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Form Styles */
.job-form-xyz789 {
    padding: 24px;
}

.form-group-xyz789 {
    margin-bottom: 20px;
}

.form-group-xyz789 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2C5530;
    margin-bottom: 8px;
}

.form-control-xyz789 {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    border: 2px solid #E0F2E9;
    border-radius: 6px;
    background-color: #FAFAFA;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control-xyz789:focus {
    outline: none;
    border-color: #1A8F39;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 143, 57, 0.1);
}

.form-control-xyz789[readonly] {
    background-color: #F0F7F2;
    color: #666666;
    cursor: not-allowed;
}

/* Select dropdown styling */
select.form-control-xyz789 {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231A8F39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Form Actions */
.form-actions-xyz789 {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #E0F2E9;
}

/* Submit Button */
.job-submit-btn-xyz789 {
    background: linear-gradient(135deg, #1A8F39 0%, #22B14C 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(26, 143, 57, 0.3);
}

.job-submit-btn-xyz789:hover:not(:disabled) {
    background: linear-gradient(135deg, #147A30 0%, #1A8F39 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26, 143, 57, 0.4);
}

.job-submit-btn-xyz789:active:not(:disabled) {
    transform: translateY(0);
}

.job-submit-btn-xyz789:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Message Styles */
.job-message-xyz789 {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
    animation: messageSlideIn 0.3s ease-out;
}

.job-message-xyz789.success {
    background-color: #E8F5E9;
    color: #1B5E20;
    border: 1px solid #A5D6A7;
    display: block;
}

.job-message-xyz789.error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
    display: block;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-modal-content-xyz789 {
        width: 95%;
        margin: 20px;
    }
    
    .job-modal-header-xyz789 {
        padding: 16px 20px;
    }
    
    .job-modal-header-xyz789 h2 {
        font-size: 18px;
    }
    
    .job-form-xyz789 {
        padding: 20px;
    }
    
    .form-control-xyz789 {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Accessibility Focus Styles */
.job-modal-xyz789 *:focus-visible {
    outline: 2px solid #1A8F39;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .job-add-btn-xyz789,
    .job-submit-btn-xyz789 {
        border: 2px solid currentColor;
    }
    
    .form-control-xyz789 {
        border-width: 3px;
    }
}