/* Overlay/modal styles for global-internships resume upload */
#resumeOverlay {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: none;
    align-items: center;
    justify-content: center;
}

.gi-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(40, 15, 70, 0.38);
    backdrop-filter: blur(2px) saturate(120%);
}

.gi-modal {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 60px -10px rgba(33, 17, 52, .32);
    max-width: 420px;
    width: 92vw;
    padding: 0 0 18px 0;
    z-index: 1;
    animation: giModalIn .22s cubic-bezier(.7, 1.6, .5, 1) 1;
}

@keyframes giModalIn {
    from {
        transform: translateY(40px) scale(.98);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.gi-modal-header {
    background: linear-gradient(120deg, #7b3cd2, #511277);
    color: #fff;
    padding: 18px 26px 14px 26px;
    border-radius: 18px 18px 0 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gi-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
}

.gi-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 26px 0 26px;
}

.gi-modal-form label {
    font-size: 14px;
    color: #3a2950;
    font-weight: 600;
    margin-bottom: 2px;
}

.gi-modal-form input[type="text"],
.gi-modal-form input[type="email"],
.gi-modal-form input[type="tel"],
.gi-modal-form input[type="file"] {
    width: 100%;
    margin-top: 4px;
    padding: 8px 10px;
    border: 1.2px solid #e2d6f2;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #faf8ff;
    color: #2d1c3a;
}

.gi-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.gi-btn {
    border: 1.5px solid #7c2bc0;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: .18s;
}

.gi-btn.primary {
    background: #7c2bc0;
    color: #fff;
}

.gi-btn.primary:hover {
    background: #6519a6;
    border-color: #6519a6;
}

.gi-btn.ghost {
    background: #fff;
    color: #7c2bc0;
}

.gi-btn.ghost:hover {
    background: #f4ecff;
}

@media (max-width: 600px) {
    .gi-modal {
        max-width: 98vw;
        padding: 0 0 10px 0;
    }

    .gi-modal-header,
    .gi-modal-form {
        padding-left: 12px;
        padding-right: 12px;
    }
}