.team-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.team-contact-modal.active {
    display: flex;
}

.team-contact-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 15, .78);
    backdrop-filter: blur(8px);
}

.team-contact-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    box-sizing: border-box;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: #0c1928;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.team-contact-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 30px;
    cursor: pointer;
}

.team-contact-label {
    display: block;
    margin-bottom: 12px;
    color: #8db6e1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.team-contact-card h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.team-contact-subtitle {
    margin: 0 0 22px;
    opacity: .72;
    line-height: 1.6;
}

.team-contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.team-contact-input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    outline: none;
    background: rgba(255,255,255,.055);
    color: #fff;
    font: inherit;
}

.team-contact-input:focus {
    border-color: rgba(62,218,208,.7);
}

.team-contact-submit {
    width: 100%;
    margin-top: 17px;
}

.team-contact-submit:disabled {
    opacity: .55;
    cursor: wait;
}

.team-contact-error {
    display: none;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 10px;
    background: rgba(255,70,70,.10);
    border: 1px solid rgba(255,70,70,.25);
    font-size: 14px;
}

.team-contact-error.active {
    display: block;
}

.team-contact-success {
    display: none;
    padding: 22px 0 4px;
    text-align: center;
}

.team-contact-success.active {
    display: block;
}

.team-contact-success-mark {
    margin-bottom: 14px;
    font-size: 44px;
    color: #42e6c1;
}

.team-contact-note {
    margin-top: 14px;
    font-size: 13px;
    opacity: .58;
    line-height: 1.5;
}

.team-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@media (max-width: 520px) {
    .team-contact-card {
        padding: 25px 20px;
    }

    .team-contact-card h2 {
        font-size: 26px;
    }
}
