.estimate-modal .modal-container {
    width: 584px;
    max-width: calc(100% - 32px);
}

.estimate-modal .modal-content {
    background: #1D3A2A;
    color: #FFFFFF;
    border-radius: 10px;
    padding: 50px 84px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.estimate-modal__title {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.27;
    text-align: center;
    color: #FFFFFF;
}

.estimate-modal__text {
    margin: 16px 0 0;
    max-width: 350px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
}

.estimate-modal__hero-img {
    margin-top: 20px;
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.estimate-modal__form {
    margin-top: 24px;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.estimate-modal__input {
    width: 100%;
    height: 50px;
    padding: 15px 16px;
    background: #284A37;
    border: none;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
    transition: background 0.2s ease;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.02);
}

.estimate-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.estimate-modal__input:focus {
    background: #325c45;
}

.estimate-modal__selector {
    position: relative;
    width: 100%;
}

.estimate-modal__selector-toggle {
    width: 100%;
    height: 50px;
    padding: 15px 20px;
    background: #284A37;
    border: none;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.estimate-modal__selector-toggle svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.estimate-modal__selector.is-open .estimate-modal__selector-toggle svg {
    transform: rotate(180deg);
}

.estimate-modal__selector-popup {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #284A37;
    border-radius: 6px;
    padding: 8px 0;
    z-index: 5;
    flex-direction: column;
}

.estimate-modal__selector.is-open .estimate-modal__selector-popup {
    display: flex;
}

.estimate-modal__selector-item {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.estimate-modal__selector-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.estimate-modal__file {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    padding: 0 16px;
    border: 1px solid #FFFFFF;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.13);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
    min-width: 0;
}

.estimate-modal__file input[type="file"] {
    display: none;
}

.estimate-modal__file-text {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.estimate-modal__file-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.estimate-modal__button {
    margin-top: 8px;
    width: 100%;
    height: 50px;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    background: #EA8F13;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 8px 0 rgba(255, 255, 255, 0.35) inset, 0 -4px 11px 0 rgba(0, 0, 0, 0.30) inset;
    transition: filter 0.2s ease;
}

.estimate-modal__button:hover {
    filter: brightness(1.05);
}

.estimate-modal__text--bottom {
    margin-top: 16px;
    font-size: 12px;
    line-height: 16px;
    color: #8B8B8B;
}

.estimate-modal__text--bottom a {
    color: #8B8B8B;
    text-decoration: underline;
}

.estimate-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estimate-modal__close:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .estimate-modal .modal-container {
        width: 100%;
        max-width: calc(100% - 32px);
    }

    .estimate-modal .modal-content {
        padding: 50px 24px 32px;
    }

    .estimate-modal__title {
        font-size: 24px;
    }

    .estimate-modal__close {
        top: 6px;
        right: 6px;
    }
}
