#registrationForm {
    max-width: 400px;
    margin: 0 auto;
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

input, .intl-tel-input {
    width: 100%;
    margin: 10px 0;
}

 .iti {
    width: 100%;
    margin: 10px 0;
}

input[type="text"], input[type="email"], input[type="tel"] {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    color: #000;
    background-color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #0e49ff;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 20px;
    border-radius: 4px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #156cff;
}
  
/* Затемнение экрана */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Стиль окна с сообщением */
#overlayMessage {
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 400px;
    animation: fadeIn 0.5s ease-in-out;
}

/* Стили для прелоадера */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}