.quote-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(23, 26, 32, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.quote-modal-content {
    background: #fff;
    margin: 8vh auto 0;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(23, 26, 32, .22),
                0 8px 24px rgba(23, 26, 32, .12);
    width: 92%;
    max-width: 480px;
    position: relative;
    animation: quoteModalIn .35s cubic-bezier(.175, .885, .32, 1.275);
}

@keyframes quoteModalIn {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quote-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: all .25s ease;
    border-radius: 50%;
    line-height: 1;
}

.quote-modal-close:hover {
    color: #3E6AE1;
    background: rgba(62, 106, 225, .08);
    transform: rotate(90deg);
}

.quote-modal-header {
    margin-bottom: 4px;
}

.quote-modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #171A20;
    letter-spacing: -.02em;
}

.quote-modal-tip {
    font-size: 13px;
    color: #5C5E62;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e8e8e8;
    line-height: 1.6;
}

.quote-modal-tip em {
    font-style: normal;
    color: #E85D4A;
    font-weight: 600;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: #393C41;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    font-size: 14px;
    color: #171A20;
    background: #fafafa;
    transition: all .25s ease;
    outline: none;
    font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: #3E6AE1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(62, 106, 225, .1);
}

.form-field textarea {
    min-height: 72px;
    resize: vertical;
}

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

.form-row .form-field {
    margin-bottom: 14px;
}

.button-group {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f2f2f2;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #3E6AE1 0%, #5a85f0 100%);
    color: #fff;
    padding: 12px 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: .02em;
    box-shadow: 0 4px 16px rgba(62, 106, 225, .28);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #3357c2 0%, #3E6AE1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(62, 106, 225, .38);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(62, 106, 225, .25);
}

.submit-btn i {
    font-size: 16px;
}

@media (max-width: 576px) {
    .quote-modal-content {
        margin: 4vh auto 0;
        padding: 24px 20px;
        border-radius: 14px;
        max-width: 94%;
    }

    .quote-modal-title {
        font-size: 18px;
    }

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

    .submit-btn {
        width: 100%;
        padding: 13px 0;
        border-radius: 10px;
    }
}
