/* Apply Now Popup Styles */
.apply-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apply-popup-overlay.active {
    opacity: 1;
}

.apply-popup-container {
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.apply-popup-overlay.active .apply-popup-container {
    transform: scale(1);
}

.apply-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.apply-popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apply-popup-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.apply-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4ecdc4;
    transform: rotate(90deg);
}

.apply-popup-form {
    padding: 25px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

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

/* File Input Styling */
.form-group input[type="file"] {
    display: none;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input-label:hover {
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.08);
}

.file-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

.file-browse {
    color: #4ecdc4;
    font-size: 13px;
    font-weight: 600;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    padding: 6px 12px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.file-input-label:hover .file-browse {
    background: rgba(78, 205, 196, 0.2);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-submit {
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    color: #000;
    border: 1px solid #4ecdc4;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.4);
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .apply-popup-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 15px;
    }

    .apply-popup-header {
        padding: 18px 20px;
    }

    .apply-popup-title {
        font-size: 16px;
    }

    .apply-popup-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

