/* RoyalTech Careers Modern Frontend UI System */
.rtc-jobs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Glassmorphic Filter Bar */
.rtc-filter-bar {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 20px 24px;
    border-radius: 20px;
    margin-bottom: 35px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.rtc-filter-bar select {
    padding: 12px 18px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #F8FAFC !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    outline: none !important;
    min-width: 180px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.rtc-filter-bar select:hover,
.rtc-filter-bar select:focus {
    border-color: #F8BB2F !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.rtc-jobs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Modern Job Card */
.rtc-job-card {
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.rtc-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #F8BB2F;
}

.rtc-job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.rtc-job-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.3;
}

.rtc-type-badge {
    background: #EFF6FF;
    color: #2563EB;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #BFDBFE;
    display: inline-block;
    white-space: nowrap;
}

.rtc-job-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    background: #F8FAFC;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #F1F5F9;
}

.rtc-meta-item {
    color: #475569;
    font-weight: 500;
}

.rtc-meta-item strong {
    color: #0F172A;
    font-weight: 700;
}

.rtc-job-excerpt {
    font-size: 0.92rem;
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

.rtc-share-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.rtc-share-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.rtc-share-btn.wa {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.rtc-share-btn.wa:hover {
    background: #25D366;
    color: #FFFFFF;
}

.rtc-share-btn.li {
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.rtc-share-btn.li:hover {
    background: #0077B5;
    color: #FFFFFF;
}

.rtc-apply-btn {
    background: linear-gradient(135deg, #F8BB2F 0%, #F59E0B 100%);
    color: #0F172A;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.rtc-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

/* Application Modal Redesign */
.rtc-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.rtc-modal-content {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 28px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.rtc-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    font-size: 26px;
    color: #94A3B8;
    transition: color 0.2s ease;
}

.rtc-modal-close:hover {
    color: #0F172A;
}

#rtc-apply-form .rtc-row {
    margin-bottom: 16px;
}

#rtc-apply-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    text-transform: uppercase;
}

#rtc-apply-form input,
#rtc-apply-form select,
#rtc-apply-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 14px;
    background: #F8FAFC;
    color: #0F172A;
    outline: none;
    transition: all 0.2s ease;
}

#rtc-apply-form input:focus,
#rtc-apply-form select:focus,
#rtc-apply-form textarea:focus {
    border-color: #2563EB;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

#rtc-apply-form button {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

#rtc-apply-form button:hover {
    opacity: 0.95;
}