.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;

    justify-content: center;
    align-items: center;

    padding: 2rem;

    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.modal-content {
    width: 100%;
    max-width: 650px;

    position: relative;

    padding: 2rem;
    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;

    background: #091321;

    overflow: hidden;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    color: #ffffff;

    font-size: 1.5rem;
    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}

.close:hover {
    background: rgba(0, 166, 255, 0.15);
    border-color: rgba(0, 166, 255, 0.4);
}

#form {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    width: 100%;
}

#form input,
#form textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    padding: 0.95rem 1rem;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;

    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;

    font-size: 1rem;
    font-family: inherit;
}

#form textarea {
    min-height: 180px;
    resize: vertical;
}

#form input:focus,
#form textarea:focus {
    outline: none;
    border-color: #00a6ff;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    width: 100%;

    color: #c7d4e6;
    font-size: 0.9rem;
}

.consent input {
    width: auto !important;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

#sendBtn {
    width: 100%;
    box-sizing: border-box;

    padding: 1rem;

    border: none;
    border-radius: 0.5rem;

    background: linear-gradient(135deg, #006dff, #00a6ff);

    color: #ffffff;

    font-size: 1rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        filter 0.2s ease;
}

#sendBtn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

#sendBtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#sendBtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        padding: 1.25rem;
    }

    #form textarea {
        min-height: 150px;
    }
}
