/* Yalnız form daxilindəki mətn inputlarına width: 100% veririk ki, button-lara təsir etməsin */
input:not([type="button"]):not([type="submit"]):not([type="reset"]), 
textarea { 
    border: 1px solid #D8D0BC; 
    background: #fff; 
    padding: 13px 14px; 
    font-family: inherit; 
    font-size: 15px; 
    color: #1B3125; 
    outline: none; 
    width: 100%; 
}

input:focus, textarea:focus { 
    border-color: #C29A4B; 
}

form label {
    font-size: 13px; 
    font-weight: 600; 
    color: #2A3E33;
    line-height: 30px;
}

/* Modal Ana Konteyner - Dəqiq Mərkəzləmə */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 37, 27, 0.72);
    backdrop-filter: blur(5px);
}

.form-modal-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin: auto; /* Flex mərkəzləməni zəmanətləyir */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    animation: formModalShow 0.25s ease-out;
}

.form-modal-header {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 18px;
    background: #f7f4ec;
    border-bottom: 1px solid #e7e2d7;
}

.form-modal-close {
    width: 38px;
    height: 38px;
    min-width: 38px; /* Eninin 100% olmasının qarşısını alır */
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #123d2b;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.form-modal-close:hover {
    background: #123d2b;
    color: #fff;
}

.form-modal-body {
    padding: 35px 32px 38px;
    text-align: center;
}

.form-modal-body::before {
    content: "✓";
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #123d2b;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.form-modal-message {
    margin: 0;
    color: #123d2b;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}
.tour-form {
    display: grid;
    gap: 12px;
    align-content: start;
}

.tour-send-button{
    background: #C29A4B;
    color: #12251B;
    padding: 14px;
    border: 0;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-top: 10px
}

.tour-send-button:hover {
    opacity: 0.9;
}
@keyframes formModalShow {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 576px) {
    .form-modal {
        padding: 15px;
    }

    .form-modal-container {
        max-width: 100%;
        border-radius: 14px;
    }

    .form-modal-body {
        padding: 30px 22px 32px;
    }

    .form-modal-message {
        font-size: 18px;
    }
}