.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    min-width: 340px;
    max-width: 440px;
    max-height: 92vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-content h2 {
    background: linear-gradient(135deg, #2A5934 0%, #1E4025 100%);
    color: white;
    margin: 0;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}

.modal-content form {
    overflow-y: auto;
    padding: 16px 20px;
    flex: 1;
}

#bookingForm label {
    display: block;
    margin-top: 9px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 12px;
    margin-bottom: 3px;
}

#bookingForm label:first-of-type {
    margin-top: 0;
}

#bookingForm input,
#bookingForm select,
#bookingForm textarea {
    width: 100%;
    padding: 7px 10px;
    margin-top: 0;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

#bookingForm input:focus,
#bookingForm select:focus,
#bookingForm textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#bookingForm textarea {
    resize: vertical;
    min-height: 45px;
}

#bookingForm button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #2A5934 0%, #2ecc71 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 0;
    margin-top: 11px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

#bookingForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}

#bookingForm button[type="submit"]:active {
    transform: translateY(0);
}

#editButtons {
    display: flex;
    gap: 7px;
    margin-top: 8px;
}

#editButtons button {
    flex: 1;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#deleteButton {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

#deleteButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

#clearButton {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

#clearButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(243, 156, 18, 0.4);
}

#closeModalButton {
    width: 100%;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

#closeModalButton:hover {
    background: #5a6268;
}