/* Force light mode across entire website */
html {
    color-scheme: light !important;
}

body {
    color-scheme: light !important;
    background-color: white !important;
    color: black !important;
}

/* Careers Page Specific Styles */

/* Careers Hero Section */
.careers-hero {
    padding: 80px 0 80px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    background: #ffffff;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 100%;
    background-color: #ffc801;
    z-index: 0;
    box-shadow: inset 0px 22px 15px rgba(0, 0, 0, 0.1), inset 0px 22px 15px rgba(0, 0, 0, 0.15);
}

.careers-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    z-index: 2;
}

.careers-hero>* {
    position: relative;
    z-index: 1;
}

.careers-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4);
}

/* Careers Form Section */
.careers-form-section {
    padding: 20px 0;
    background: white;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.careers-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 100%;
    box-shadow: inset 0px 8px 15px rgba(0, 0, 0, 0.2), inset 0px -8px 15px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 0;
}

.careers-form-section>* {
    position: relative;
    z-index: 1;
}

.careers-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.careers-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: black;
}

/* Form Styles */
.careers-form {
    width: 100%;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 30px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: black;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFC801;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

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

/* Position Selection Cards */
.position-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.position-cards input[type="radio"] {
    display: none;
}

.position-card {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    gap: 15px;
}

.problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.position-card:hover {
    border-color: #FFC801;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.position-cards input[type="radio"]:checked+.position-card {
    border-color: #FFC801;
    background: #fff8f0;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.2);
}

.position-icon {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Position Icons */
.icon-squares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.square {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.square.orange {
    background: #FF6B35;
}

.square.blue {
    background: #4A90E2;
}

.icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.icon-circle.pink {
    background: #FF69B4;
}

.icon-circles {
    display: flex;
    gap: 2px;
}

.circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.circle.red {
    background: #FF4757;
}

.circle.green {
    background: #2ED573;
}

.circle.blue {
    background: #3742FA;
}

.position-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: black;
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: #FFC801;
    background: #fff8f0;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-icon svg {
    width: 50px;
    height: 50px;
}

.upload-text {
    text-align: center;
}

.upload-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: black;
    margin-bottom: 5px;
}

.upload-subtitle {
    font-size: 0.9rem;
    color: #999;
}

.file-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    margin-top: 10px;
}

.file-selected span {
    color: #0ea5e9;
    font-weight: 500;
}

.remove-file {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.remove-file:hover {
    background: #dc2626;
}

/* Submit Button */
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.apply-btn {
    background: black;
    color: white;
    padding: 14px 60px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.apply-btn:active {
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .careers-hero {
        padding: 80px 0 60px;
    }

    .footer-bottom {
        margin: 0 -15px;
    }

    .careers-hero h1 {
        font-size: 2.5rem;
    }

    .careers-form-section {
        padding: 20px 0;
    }

    .careers-form-wrapper {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .position-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .position-card {
        padding: 15px;
    }

    .apply-btn {
        width: 100%;
        padding: 14px 40px;
    }

    .file-upload-area {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 2rem;
    }

    .careers-form-wrapper h2 {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .position-card {
        padding: 12px;
    }

    .position-card span {
        font-size: 0.85rem;
    }

    .apply-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .file-upload-area {
        padding: 25px 10px;
    }

    .upload-title {
        font-size: 1rem;
    }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
}

.modal-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.party-popper {
    font-size: 4rem;
    animation: bounce 0.8s ease-in-out;
    display: inline-block;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.modal-message {
    font-size: 1.1rem;
    color: black;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

@keyframes bounce {

    0%,
    20%,
    53%,
    100% {
        transform: translateY(0);
    }

    40%,
    43% {
        transform: translateY(-30px);
    }

    70% {
        transform: translateY(-15px);
    }

    90% {
        transform: translateY(-4px);
    }
}

/* Modal responsive styles */
@media (max-width: 768px) {
    .modal-content {
        padding: 40px 30px;
        margin: 20px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-message {
        font-size: 1rem;
    }

    .party-popper {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 35px 25px;
        margin: 15px;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-message {
        font-size: 0.95rem;
    }

    .party-popper {
        font-size: 2.5rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
    }
}