.booking-registration-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    direction: rtl;
    text-align: right;
}

.booking-registration-container .form-group {
    margin-bottom: 15px;
}

.booking-registration-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.booking-registration-container input[type="text"],
.booking-registration-container input[type="email"],
.booking-registration-container input[type="password"],
.booking-registration-container textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.booking-registration-container input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.booking-registration-container input[type="submit"]:hover {
    background-color: #005177;
}

.booking-error {
    background-color: #ffebe8;
    border: 1px solid #c00;
    padding: 10px;
    margin-bottom: 10px;
    color: #333;
    border-radius: 4px;
}

.booking-success {
    background-color: #e7f7d3;
    border: 1px solid #7ad03a;
    padding: 10px;
    margin-bottom: 10px;
    color: #333;
    border-radius: 4px;
}

.password-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: #333;
}

.booking-dashboard-wrapper {
    display: flex;
    min-height: 600px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    direction: rtl;
}

.dashboard-sidebar {
    width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.dashboard-menu {
    list-style: none;
    margin: 0;
    padding: 20px 0;
    flex: 1;
}

.menu-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 3px solid transparent;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-right-color: #fff;
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-right-color: #fff;
    font-weight: 600;
}

.menu-icon {
    font-size: 20px;
}

.menu-text {
    font-size: 15px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(220, 50, 50, 0.8);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(220, 50, 50, 1);
    color: #fff;
}

.dashboard-main {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    overflow-y: auto;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    margin-bottom: 25px;
}

.section-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
}

.section-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-card {
    max-width: 700px;
}

.profile-info .info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.profile-info .info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    min-width: 180px;
    color: #555;
}

.info-value {
    color: #333;
    flex: 1;
}

.info-value a {
    color: #667eea;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.profile-edit-form {
    max-width: 700px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-edit-form .form-group {
    margin-bottom: 20px;
}

.profile-edit-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.profile-edit-form input[type="text"],
.profile-edit-form input[type="email"],
.profile-edit-form input[type="file"],
.profile-edit-form input[type="number"],
.profile-edit-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.profile-edit-form input:focus,
.profile-edit-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.profile-edit-form textarea {
    resize: vertical;
}

.profile-edit-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.coming-soon p {
    font-size: 18px;
    margin: 0;
}

.profile-picture-container {
    text-align: center;
    margin-bottom: 30px;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.current-profile-picture img {
    display: block;
    margin-top: 10px;
}

.calendar-container {
    max-width: 600px;
    margin: 0 auto 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

.calendar-nav {
    background: #667eea;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.calendar-nav:hover {
    background: #764ba2;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.past {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

.calendar-day.clickable {
    background: #fff;
    border: 2px solid #dee2e6;
    cursor: pointer;
}

.calendar-day.clickable:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
}

.calendar-day.today {
    border-color: #667eea;
    font-weight: 700;
}

.time-slots-box {
    background: #fff;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.time-slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.time-slots-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 20px;
}

.close-slots-box {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.close-slots-box:hover {
    background: #c82333;
}

.existing-slots {
    margin-bottom: 25px;
}

.time-slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.time-slot-item span {
    font-weight: 500;
    color: #2c3e50;
}

.time-slot-item .slot-time {
    flex: 1;
}

.time-slot-item .slot-actions {
    display: flex;
    gap: 8px;
}

.edit-slot {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.edit-slot:hover {
    background: #e0a800;
}

.delete-slot {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.delete-slot:hover {
    background: #c82333;
}

.existing-slot {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
}

.edited-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #fff3cd;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.no-slots {
    text-align: center;
    color: #999;
    padding: 20px;
    font-style: italic;
}

.add-slot-form {
    margin-top: 20px;
}

.btn-add-slot-toggle {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.btn-add-slot-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.slot-form-fields {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.slot-form-fields h5 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel:hover {
    background: #5a6268;
}

/* Pending Slots Styles */
.pending-slots-container {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 2px dashed #ffc107;
    border-radius: 8px;
}

.pending-slots-container h5 {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 16px;
}

.pending-slot {
    background: #fff;
    border: 1px solid #ffc107;
}

.pending-slot span {
    color: #856404;
    font-weight: 600;
}

.save-all-container {
    text-align: center;
}

@media (max-width: 768px) {
    .booking-dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
    }

    .dashboard-menu {
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
    }

    .menu-item {
        flex-direction: column;
        text-align: center;
        min-width: 80px;
        border-right: none;
        border-bottom: 3px solid transparent;
    }

    .menu-item:hover,
    .menu-item.active {
        border-right: none;
        border-bottom-color: #fff;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Remember Me Checkbox Styles */
.remember-me-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.remember-me-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.remember-me-label span {
    user-select: none;
    color: #555;
    font-size: 14px;
}