/* Header */
.modal-header {
    background: #ae1010;   /* solid instead of gradient */
    color: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
	color:white;
}

.modal-header .close {
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}
 

 
.modal-body {
    padding: 20px;
    background: #f9f9f9;   /* light grey instead of dull grey */
}

/* Button */
.book-btn {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Modal Background */
 

.modal {
    display: none;              /* default hidden */
    position: fixed;
    z-index: 2147483647;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center */

    background: rgba(0,0,0,0.6);
}

 

.modal-content {
    background: #ffffff;
    width: 50%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Close Button */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

/* Inputs */
.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Submit Button */
.submit-btn {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: green;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    transition: 0.3s;
}

/* Focus effect */
.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
    border-color: #ae1010;
    box-shadow: 0 0 0 2px rgba(174,16,16,0.1);
    outline: none;
}
.submit-btn {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    background: #ae1010;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #8e0c0c;
}
/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px);}
    to { opacity: 1; transform: translateY(0);}
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;   /* mobile me full width */
    }
}