* { -webkit-tap-highlight-color: transparent; }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #f0fafa inset !important;
  -webkit-text-fill-color: #07484b !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form_y {
    flex-direction: column;
    border-radius: 16px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 420px;
    min-width: 290px;
    max-height: calc(100dvh - 20px);
    height: auto;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    background-color: #ffffff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    scrollbar-width: thin;
    scrollbar-color: #19d7de transparent;
}

.container_d {
    display: flex;
    place-items: center;
    flex-direction: column;
    padding: 0 20px 20px 20px;
}

.container_d h4 {
    font-family: 'Montserrat', sans-serif;
    width: calc(100% + 40px);
    margin-left: -20px;
    text-align: center;
    padding: 16px 4px;
    background: linear-gradient(135deg, #28a7a1, #19d7de);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    color: white;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.container_d label {
    padding: 2px 0;
    color: #07484b;
    width: 100%;
    font-weight: 600;
    font-size: 13px;
    margin-top: 12px;
    font-family: 'Roboto', sans-serif;
}

.container_d input,
.container_d textarea {
    all: unset;
    color: #07484b;
    background-color: #f0fafa;
    border: 1px solid #c8eeec;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.2s, background-color 0.2s;
}

.container_d textarea {
    resize: none;
    min-height: 80px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.container_d input::placeholder,
.container_d textarea::placeholder {
    color: #aaa;
    font-size: 13px;
}

.container_d input:focus,
.container_d textarea:focus {
    border-color: #19d7de;
    background-color: #e6fafa;
    outline: none;
}

.erron {
    font-size: 11px;
    color: #e05555;
    margin-top: 4px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.button {
    gap: 10px;
    margin: 20px 0 30px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    place-content: center;
    align-items: center;
}

.button button {
    padding: 12px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, #28a7a1, #19d7de);
    border: none;
    width: 85%;
    max-width: 300px;
    border-radius: 10px;
    letter-spacing: 2px;
    transition: opacity 0.2s;
}

.button button:nth-child(2) {
    background: none;
    color: #28a7a1;
    border: 1px solid #c8eeec;
    font-weight: 500;
}

.button button:hover {
    opacity: 0.85;
}

