/**
 * Workday Jobs Integration Stylesheet
 */

/* Category Landing Page */
.job-categories-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.workday-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.workday-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.workday-section-header p {
    font-size: 18px;
    color: #666;
}

.workday-jobs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.workday-job-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: baseline;
    flex-direction: column;
}

.workday-job-actions {
    display: flex;
    flex-direction: column;
}

.workday-job-actions .workday-view-details-btn:nth-of-type(1) {
    margin-bottom: 10px;
}

.workday-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.workday-category-icon {
    width: 90px;
    height: 90px;
    border-radius: 10%;
    margin: 0 0 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workday-category-icon img {
    height: 65px;
}

.green-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blue-gradient {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.purple-gradient {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
}

.lightblue-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.orange-gradient {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.yellow-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.workday-category-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.workday-category-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.workday-job-count {
    background: #f0f0f0;
    color: #666;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.workday-category-description {
    color: #666;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
}

.workday-view-btn {
    background: linear-gradient(to right, #3366cc, #709adb);
    color: #ffffff !important;
    width: 100%;
    border-radius: 9999px;
    /* fully rounded */
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.workday-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Job Listings Page */
.job-listings-section {
    padding: 60px 0;
}

.workday-category-page-header {
    margin-bottom: 40px;
}

.workday-back-link {
    display: inline-block;
    color: #667eea !important;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.workday-back-link:hover {
    color: #764ba2 !important;
    transform: translateX(-5px);
}

.workday-category-page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.workday-category-page-header p {
    font-size: 18px;
    color: #666;
}

.workday-job-listings-grid {
    display: grid;
    gap: 20px;
}

.workday-job-listing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.workday-job-listing-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.workday-job-listing-content {
    flex: 1;
}

.workday-job-title {
    margin: 0 0 15px 0;
}

.workday-job-title a {
    color: #333;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.workday-job-title a:hover {
    color: #667eea;
}

.workday-job-location,
.workday-job-posted {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.workday-job-location i,
.workday-job-posted i {
    margin-right: 8px;
    color: #667eea;
}

.workday-view-details-btn {
    background: #667eea;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.workday-view-details-btn:hover {
    background: #764ba2;
    transform: translateX(5px);
    color: white;
}

/* Job Detail Page */
.workday-job-detail {
    margin: 60px auto;
    padding: 0 20px;
}

.workday-job-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.workday-job-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white !important;

}

.workday-job-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.workday-job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Application Form */
.workday-application-form {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 40px;
}

.workday-application-form h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.workday-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.workday-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.workday-job-description b {
    color: black !important;
}

.workday-job-description h1 {
    text-transform: capitalize !important;
    color: black;
}

.workday-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.workday-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.workday-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.workday-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Error and No Jobs Messages */
.workday-error,
.workday-no-jobs {
    padding: 30px;
    text-align: center;
    background: white;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    margin: 40px 0;
    color: #666;
    font-size: 18px;
}

.workday-error {
    border-color: #f5c6cb;
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .workday-section-header h2 {
        font-size: 28px;
    }

    .workday-jobs-grid {
        grid-template-columns: 1fr;
    }

    .workday-job-listing-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .workday-view-details-btn {
        width: 100%;
        text-align: center;
    }

    .workday-job-header h1 {
        font-size: 28px;
    }
}