.career-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.career-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.career-header h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.career-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.job-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.job-header {
    background-color: #4F8E35;
    color: white;
    padding: 1.5rem;
    position: relative;
}

.job-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.job-header p {
    margin: 0.5rem 0 0;
    opacity: 0.9;
}

.job-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    opacity: 0.8;
}

.job-content {
    padding: 1.5rem;
}

.job-description {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.job-requirements {
    margin-bottom: 1.5rem;
}

.job-requirements h3 {
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1.2rem;
}

.job-requirements ul {
    padding-left: 1.5rem;
    color: #555;
}

.job-requirements li {
    margin-bottom: 0.5rem;
}

.application-form {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
}

.application-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4F8E35;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 142, 53, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: normal;
}

.form-group .checkbox-label input {
    width: auto;
    margin-top: 0.3rem;
}

.form-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.submit-button {
    background-color: #4F8E35;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #3d6b2a;
}

.benefits-section {
    background: white;
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 4rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefits-section h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-icon {
    background-color: rgba(79, 142, 53, 0.1);
    color: #4F8E35;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-description {
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .job-categories {
        flex-direction: column;
    }
    
    .career-header h1 {
        font-size: 2rem;
    }
    
    .job-header h2 {
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}

.modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-body h3 {
    color: #4F8E35;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.modal-body p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

/* Loading overlay */
.form-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
}

/* Form message styles */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    position: relative;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background-color: rgba(79, 142, 53, 0.1);
    border-left: 4px solid #4F8E35;
    color: #3d6b2a;
}

.form-message.error {
    background-color: rgba(255, 77, 77, 0.1);
    border-left: 4px solid #ff4d4d;
    color: #cc0000;
}

.form-message i {
    font-size: 1.2rem;
    margin-right: 10px;
    margin-top: 2px;
}

.form-message p {
    margin: 0;
    flex: 1;
}

.form-message .close-message {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
    padding: 0 5px;
}

.form-message .close-message:hover {
    opacity: 1;
}

/* File input styling */
.file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload .file-label {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.file-upload .custom-file-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-upload .custom-file-button:hover {
    background-color: #e5e5e5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-message {
        padding: 12px;
    }
    
    .form-message i {
        font-size: 1rem;
    }
}

/* Support Ticket Styles */
.support-section {
    margin-top: 20px;
}

.ticket-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    height: 600px;
}

.ticket-list {
    border-right: 1px solid #eee;
    overflow-y: auto;
    padding-right: 15px;
}

.ticket-item {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticket-item:hover {
    background: #f8f9fa;
    border-color: #ddd;
}

.ticket-item.active {
    border-color: #4F8E35;
    background: #f8f9fa;
}

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ticket-number {
    font-size: 0.9em;
    color: #666;
}

.ticket-subject {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.ticket-meta {
    font-size: 0.85em;
    color: #666;
    display: flex;
    justify-content: space-between;
}

.ticket-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.ticket-header h3 {
    margin: 0;
    color: #333;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-open {
    background: #e3f2fd;
    color: #1976d2;
}

.status-pending {
    background: #fff3e0;
    color: #f57c00;
}

.status-closed {
    background: #e8f5e9;
    color: #2e7d32;
}

.ticket-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.ticket-message {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ticket-message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.message-sender {
    font-weight: 500;
    color: #333;
}

.message-time {
    font-size: 0.85em;
    color: #666;
}

.ticket-reply {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.ticket-reply form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-reply textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    height: 100px;
}

.ticket-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-actions .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.ticket-actions .btn-icon:hover {
    background: #e9ecef;
}

@media (max-width: 992px) {
    .ticket-container {
        grid-template-columns: 1fr;
    }

    .ticket-list {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 15px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .task-card {
        width: 95%;
    }
}