/*==========================
    Custom Modal CSS
==========================*/
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-modal-dialog {
    position: relative;
    margin: 10% auto;
    padding: 0;
    width: 80%;
    max-width: 500px;
}

.custom-modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    position: relative;
}

.custom-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.custom-form-group {
    margin-top: 15px;
    margin-bottom: 25px;
}

.custom-form-group input[type="text"],
.custom-form-group input[type="tel"],
.custom-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-form-group input[type="text"]::placeholder,
.custom-form-group input[type="tel"]::placeholder,
.custom-form-group select::placeholder {
    color: #bbb;
}

.custom-form-group input[type="text"]:focus,
.custom-form-group input[type="tel"]:focus,
.custom-form-group select:focus {
    border-color: #66afe9;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5);
}

.custom-btn-primary {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-btn-primary:hover {
    background-color: #0056b3;
}

.message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.message.error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.message.success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

@media (max-width: 576px) {
    .custom-modal-dialog {
        width: 90%;
    }
}

/* Custom Button */
.custom-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-button:hover {
    background-color: #0056b3;
}
