/* Careers Plugin Frontend Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sunday-ambulette-careers-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    background: #ffffff;
    line-height: 1.6;
}

/* Hero Section */
.sunday-ambulette-careers-hero {
    padding: 60px 0px;
    color: #333;
    text-align: center;
}

.sunday-ambulette-careers-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.sunday-ambulette-careers-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.sunday-ambulette-careers-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sunday-ambulette-careers-breadcrumb a:hover {
    color: #3a2492;
}

.sunday-ambulette-careers-hero h1 {
    font-family: 'Encode Sans', sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #3a2492;
}

.sunday-ambulette-careers-hero p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.sunday-ambulette-careers-content {
    margin: 0 auto;
    padding: 40px 0px;
}

/* Open Positions */
.sunday-ambulette-positions {
    margin-bottom: 60px;
}

.sunday-ambulette-positions h2 {
    font-family: 'Encode Sans', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #3a2492;
    margin-bottom: 40px;
    text-align: center;
}

.sunday-ambulette-position-card {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.sunday-ambulette-position-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sunday-ambulette-position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.sunday-ambulette-position-header h3 {
    font-family: 'Encode Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #3a2492;
}

.sunday-ambulette-position-type {
    padding: 6px 16px;
    background: #fed100;
    color: #3a2492;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.sunday-ambulette-position-info {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.sunday-ambulette-position-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.sunday-ambulette-position-info-item i {
    color: #fed100;
    font-size: 18px;
}

.sunday-ambulette-position-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sunday-ambulette-btn-primary {
    background: #3a2492;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sunday-ambulette-btn-primary:hover {
    background: #2a1a72;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 36, 146, 0.3);
}

/* Modal/Popup */
.sunday-ambulette-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.sunday-ambulette-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sunday-ambulette-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

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

.sunday-ambulette-modal-header {
    padding: 30px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sunday-ambulette-modal-header h3 {
    font-family: 'Encode Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #3a2492;
}

.sunday-ambulette-modal-close {
    width: 35px;
    height: 35px;
    background: #fafafa;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sunday-ambulette-modal-close:hover {
    background: #e5e5e5;
}

.sunday-ambulette-modal-close i {
    font-size: 20px;
    color: #666;
}

.sunday-ambulette-modal-body {
    padding: 30px;
}

.sunday-ambulette-form-group {
    margin-bottom: 20px;
}

.sunday-ambulette-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.sunday-ambulette-form-group label {
    display: block;
    font-weight: 600;
    color: #3a2492;
    margin-bottom: 8px;
    font-size: 14px;
}

.sunday-ambulette-form-group input,
.sunday-ambulette-form-group select,
.sunday-ambulette-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.sunday-ambulette-form-group input:focus,
.sunday-ambulette-form-group select:focus,
.sunday-ambulette-form-group textarea:focus {
    outline: none;
    border-color: #3a2492;
    box-shadow: 0 0 0 3px rgba(58, 36, 146, 0.1);
}

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

.sunday-ambulette-file-upload {
    border: 2px dashed #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sunday-ambulette-file-upload:hover {
    border-color: #3a2492;
    background: #f8f9ff;
}

.sunday-ambulette-file-upload i {
    font-size: 32px;
    color: #fed100;
    margin-bottom: 10px;
}

.sunday-ambulette-file-upload p {
    color: #666;
    font-size: 14px;
}

.sunday-ambulette-file-upload input[type="file"] {
    display: none;
}

/* Success/Error Messages */
.careers-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 500;
}

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

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

/* Loading State */
.careers-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.careers-loading.active {
    display: block;
}

/* Responsive */
@media (max-width: 968px) {
    .sunday-ambulette-careers-hero h1 {
        font-size: 36px;
    }

    .sunday-ambulette-careers-content {
        padding: 40px 20px;
    }

    .sunday-ambulette-positions h2 {
        font-size: 28px;
    }

    .sunday-ambulette-position-header {
        flex-direction: column;
        gap: 10px;
    }

    .sunday-ambulette-modal-content {
        max-height: 95vh;
    }

    .sunday-ambulette-modal-header,
    .sunday-ambulette-modal-body {
        padding: 20px;
    }

    .sunday-ambulette-form-row {
        grid-template-columns: 1fr;
    }
}
