/* Enhanced Appointment Booking Form */
#appointment-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Section headings */
#appointment-form h3 {
    font-size: 22px;
    margin: 30px 0 20px 0;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

#appointment-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Labels */
#appointment-form label {
    display: block;
    margin: 15px 0 8px 0;
    font-weight: 600;
    color: #495057;
    font-size: 15px;
}

/* Form inputs and select */
#appointment-form input[type="text"],
#appointment-form input[type="email"],
#appointment-form input[type="tel"],
#appointment-form input[type="date"],
#appointment-form input[type="time"],
#appointment-form select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#appointment-form input:focus,
#appointment-form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}

/* Error message */
#appointment-form p[style*="color:red"] {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin: 20px 0;
    font-weight: 500;
}

/* Summary section */
#appointment-summary {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 25px;
    border-radius: 16px;
    margin: 30px 0;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

#appointment-summary p {
    margin: 12px 0;
    font-size: 16px;
    color: #1565c0;
    font-weight: 600;
}

#appointment-summary strong {
    color: #0d47a1;
}

/* Submit button */
#appointment-form button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    margin-top: 20px;
}

#appointment-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

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

/* Responsive design */
@media (max-width: 768px) {
    #appointment-form {
        padding: 25px 20px;
        margin: 10px;
    }
    
    #appointment-form h3 {
        font-size: 20px;
    }
    
    #appointment-summary {
        padding: 20px;
    }
    
    #appointment-form input,
    #appointment-form select {
        padding: 14px 16px;
    }
}




/* Headings styling */
#appointment-form h3 {
    font-size: 18px;
    margin-top: 20px;
    color: #333;
}

/* Form element styling */
#appointment-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #333;
}

#appointment-form input[type="text"],
#appointment-form input[type="email"],
#appointment-form input[type="tel"],
#appointment-form input[type="date"],
#appointment-form input[type="time"],
#appointment-form select {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
}

#appointment-form select {
    width: calc(100% - 22px);
}

/* Button styling */
#appointment-form button {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#appointment-form button:hover {
    background-color: #005bb5;
}

/* Summary section styling */
#appointment-summary {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

#appointment-summary p {
    margin: 5px 0;
    font-size: 16px;
    color: #333;
}






/* User Bookings Page Styles */
.abp-my-bookings {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.abp-my-bookings h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.abp-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.abp-booking-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #dee2e6;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.abp-booking-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.abp-booking-details {
    flex: 1;
}

.abp-service-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.abp-booking-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 18px;
	color: #6c757d;
}

.abp-meta-label {
    font-weight: 600;
    color: #495057;
    min-width: 45px;
}

.abp-booking-status {
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    min-width: 80px;
    text-align: center;
    margin-top: 16px;
}

.abp-booking-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.abp-booking-status.status-approved {
    background: #d1ecf1;
    color: #0c5460;
}

.abp-booking-status.status-canceled {
    background: #f8d7da;
    color: #721c24;
}

.abp-cancel-form {
    margin-left: 20px;
}

.abp-cancel-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.abp-cancel-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.abp-no-bookings {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 18px;
}

.abp-no-bookings p {
    margin: 0;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .abp-my-bookings {
        padding: 20px 15px;
    }
    
    .abp-booking-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .abp-cancel-form {
        margin-left: 0;
        width: 100%;
    }
    
    .abp-cancel-btn {
        width: 100%;
    }
    
    .abp-booking-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.abp-bookings-list > .abp-booking-item {
    animation: fadeInUp 0.5s ease forwards;
}

.abp-bookings-list > .abp-booking-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.abp-bookings-list > .abp-booking-item:nth-child(even) {
    animation-delay: 0.2s;
}



/* for login and register */

/* General form styling */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* for dashboard */

/* Container for the dashboard */
.dashboard-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

/* Individual dashboard items */
.dashboard-item {
    background-color: #f1f1f1;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    width: 23%;
    /* Adjust the width to fit four items in a row */
    box-sizing: border-box;
}

/* Headings in the dashboard items */
.dashboard-item h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
    /* Darker color for better readability */
}

/* Paragraph text in the dashboard items */
.dashboard-item p {
    font-size: 24px;
    margin: 0;
    color: #555;
    /* Slightly lighter color for contrast */
}

/* form css  */
.meeting-lists form {
    border: none;
    padding: 0px;
}

.adv-app-book-notice-heading {
    padding: 40px 20px;
}



/* Wrapper */
.abp-login-wrapper {
    max-width: 420px;
    margin: 40px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #0056b3;
}

/* Form */
.abp-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Labels */
.abp-login-form label {
    font-size: 14px;
    font-weight: 600;
    color: #0d47a1;
    margin-bottom: -10px;
}

/* Inputs */
.abp-login-form input[type="email"],
.abp-login-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6e4f5;
    border-radius: 10px;
    font-size: 15px;
    background: #f8fbff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Input Focus */
.abp-login-form input[type="email"]:focus,
.abp-login-form input[type="password"]:focus {
    border-color: #0056b3;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.12);
}

/* Button */
.abp-login-form input[type="submit"] {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: #ffffff;
    border: none;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* Button Hover */
.abp-login-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 86, 179, 0.25);
}

/* Messages */
.abp-login-wrapper p {
    font-size: 14px;
    margin-top: 15px;
    color: #d32f2f;
}

/* Responsive */
@media (max-width: 480px) {
    .abp-login-wrapper {
        padding: 25px 20px;
        margin: 20px;
    }
}



/* =========================================
   REGISTER FORM WRAPPER
========================================= */
.abp-register-wrapper {
    max-width: 500px;
    margin: 40px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #0056b3;
}

/* =========================================
   REGISTER FORM
========================================= */
.abp-register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Labels */
.abp-register-form label {
    font-size: 14px;
    font-weight: 600;
    color: #0d47a1;
    margin-bottom: -10px;
}

/* Inputs */
.abp-register-form input[type="text"],
.abp-register-form input[type="email"],
.abp-register-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6e4f5;
    border-radius: 10px;
    font-size: 15px;
    background: #f8fbff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Focus Effect */
.abp-register-form input[type="text"]:focus,
.abp-register-form input[type="email"]:focus,
.abp-register-form input[type="password"]:focus {
    border-color: #0056b3;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.12);
}

/* Submit Button */
.abp-register-form input[type="submit"] {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: #ffffff;
    border: none;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* Hover */
.abp-register-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 86, 179, 0.25);
}

/* Messages */
.abp-register-wrapper p {
    font-size: 14px;
    margin-top: 15px;
    color: #d32f2f;
}

/* Responsive */
@media (max-width: 480px) {
    .abp-register-wrapper {
        padding: 25px 20px;
        margin: 20px;
    }
}