/* User Page Specific Styles */

/* Alert Messages */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: 500;
    position: relative;
    animation: slideDown 0.3s ease-out;
    transition: all 0.3s ease;
}

.alert.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 0 20px;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.stat-content p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    .stat-card {
        padding: 15px;
        gap: 12px;
    }
    
    .stat-icon {
        font-size: 24px;
        width: 50px;
        height: 50px;
    }
    
    .stat-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}
.user-container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

/* Avatar */
.avatar-placeholder {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
    background: #1f6996;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
    overflow: hidden;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-details h1 {
    margin: 0 0 5px 0;
    color: #1f6996;
    font-size: 1.8rem;
}

.user-details p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.user-type {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.tab-btn:hover {
    background: #e9ecef;
}

.tab-btn.active {
    background: #1f6996;
    color: white;
}

/* Tab Content */
.tab-content {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

/* Profile Information Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item label {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

.info-item span {
    color: #666;
    font-size: 1rem;
}

/* Booking Cards */
.booking-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #1f6996;
    transition: box-shadow 0.3s ease;
}

.booking-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.booking-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.booking-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending { 
    background: #fff3cd; 
    color: #856404; 
}

.status-confirmed { 
    background: #d4edda; 
    color: #155724; 
}

.status-completed { 
    background: #d1ecf1; 
    color: #0c5460; 
}

.status-cancelled { 
    background: #f8d7da; 
    color: #721c24; 
}

.booking-details p {
    margin: 8px 0;
    color: #555;
}

.booking-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.no-bookings {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Settings */
.settings-options {
    margin-bottom: 40px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.danger-zone {
    padding: 20px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
}

.danger-zone h3 {
    color: #c53030;
    margin: 0 0 15px 0;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1f6996;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll !important;
    overflow-x: hidden;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 40px auto;
    padding: 30px;
    border-radius: 10px;
    width: 95%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    animation: slideIn 0.3s ease;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #2c5282;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #1f3d5c;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Specific styling for Edit Profile Modal */
#edit-profile-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden;
    background-color: rgba(0,0,0,0.5);
}

#edit-profile-modal .modal-content {
    background: white;
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    width: 95%;
    max-width: 900px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    position: relative;
}

#edit-profile-modal.active {
    display: block !important;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* Authentication Container */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.auth-tab:hover {
    background: #f8f9fa;
}

.auth-tab.active {
    border-bottom-color: #1f6996;
    color: #1f6996;
    font-weight: bold;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

/* Checkbox labels should be inline */
.form-group label input[type="checkbox"] {
    display: inline-block;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
}

.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f6996;
    box-shadow: 0 0 0 2px rgba(31, 105, 150, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Button Styles */
.btn-auth {
    width: 100%;
    padding: 15px;
    background: #1f6996;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.btn-auth:hover {
    background: #165a7a;
}

/* Google button icon styling */
.btn-auth i.fab.fa-google {
    margin-right: 12px;
    font-size: 16px;
}

/* Ensure Google buttons look identical to regular auth buttons */
.btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add spacing above Google buttons - more specific approach */
button.btn-auth[onclick*="google"] {
    margin-top: 20px !important;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: transparent;
}

.auth-divider span {
    background: transparent;
    padding: 0 15px;
    color: transparent !important;
    font-size: 14px;
    position: relative;
    opacity: 0 !important;
    visibility: hidden !important;
}

.btn-edit, 
.btn-logout, 
.btn-save, 
.btn-cancel, 
.btn-book,
.btn-details,
.btn-danger,
.btn-admin {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.btn-edit { 
    background: #007bff; 
    color: white; 
}

.btn-edit:hover { 
    background: #0056b3; 
}

.btn-admin {
    background: #ff6b35;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-admin:hover {
    background: #e55a2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.btn-logout { 
    background: #dc3545; 
    color: white; 
}

.btn-logout:hover { 
    background: #c82333; 
}

.btn-save { 
    background: #28a745; 
    color: white; 
}

.btn-save:hover { 
    background: #218838; 
}

.btn-cancel { 
    background: #6c757d; 
    color: white; 
}

.btn-cancel:hover { 
    background: #545b62; 
}

.btn-book { 
    background: #1f6996; 
    color: white; 
}

.btn-book:hover { 
    background: #165a7a; 
}

.btn-details {
    background: #17a2b8;
    color: white;
}

.btn-details:hover {
    background: #138496;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Auth Links */
.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-link a {
    color: #1f6996;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Admin Navigation Link */
.admin-nav-link {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: white !important;
    border-radius: 5px !important;
    padding: 8px 12px !important;
    margin: 0 5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3) !important;
}

.admin-nav-link:hover {
    background: linear-gradient(135deg, #e55a2e, #e6851a) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.4) !important;
}

/* Admin Quick Access Widget */
.admin-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.admin-widget-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.admin-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.admin-widget-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 250px;
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.admin-widget.active .admin-widget-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.admin-widget-content h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 8px;
}

.admin-widget-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-widget-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-widget-link:hover {
    background: #f8f9fa;
    border-left-color: #ff6b35;
    transform: translateX(5px);
}

.admin-widget-link .icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.admin-widget-link span:last-child {
    font-weight: 500;
    font-size: 14px;
}

/* Footer */
 .site-footer {
  padding: 40px 5%;
  background: #fff;
  color: #333;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-left {
  flex: 2;
  min-width: 280px;
}
.footer-left img {
  width: 100px;
  margin-bottom: 10px;
}
.footer-left p {
  color: #555;
  margin: 10px 0 20px;
  line-height: 1.6;
}
.footer-left .learn-more-link {
  color: #6c93ff;
  text-decoration: none;
}
.footer-left .learn-more-link:hover {
  text-decoration: underline;
}
.footer-left .opening-hours p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}
.footer-left .opening-hours strong {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: #333;
  font-size: 15px;
}
.footer-nav {
  flex: 1;
  min-width: 180px;
}
.footer-nav h4 {
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  color: #333;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
}
.footer-nav li {
  margin-bottom: 6px;
}
.footer-nav a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: #6c93ff;
}
.footer-social {
  flex: 1;
  min-width: 180px;
}
.footer-social h4 {
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  color: #333;
}
.footer-social .social-icons {
  display: flex;
  gap: 12px;
}
.footer-social .social-icons img {
  width: 28px;
  height: 28px;
  display: block;
}
.site-footer hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  margin-top: 20px;
}
.footer-bottom a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom a:hover {
  color: #6c93ff;
}

.opening-hours h5 {
  font-weight: bold;
  margin-bottom: 8px;
}
.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 16px;
}
.hours-grid .day {
  font-size: 14px;
  color: #333;
}
.hours-grid .time {
  font-size: 14px;
  color: #555;
}




/* Responsive Design */
@media (max-width: 768px) {
    .user-container {
        margin: 80px auto 30px;
        padding: 0 15px;
    }
    
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .dashboard-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .auth-container {
        margin: 20px;
        padding: 20px;
    }
    
    .modal-content {
        width: 98%;
        margin: 10px auto;
        padding: 20px;
        max-height: 90vh;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .dashboard-tabs {
        gap: 2px;
    }
    
    .tab-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .auth-tabs {
        flex-direction: column;
    }
    
    .auth-tab {
        border-bottom: 1px solid #e9ecef;
        border-right: none;
    }
    
    .auth-tab.active {
        border-bottom-color: #1f6996;
        background: #f8f9fa;
    }
}

/* Email Verification Warning - Enhanced Beautiful Design */
.verification-warning {
    background: linear-gradient(135deg, #fff8e1, #fffbf0);
    border: 2px solid #ffa726;
    border-radius: 16px;
    margin: 25px 0;
    padding: 0;
    box-shadow: 
        0 8px 25px rgba(255, 167, 38, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: slideDownGlow 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.verification-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6f00, #ffa726, #ffcc02, #ffa726, #ff6f00);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

@keyframes slideDownGlow {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.warning-content {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    gap: 20px;
    position: relative;
}

.warning-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(255, 152, 0, 0.3));
    animation: pulse 2.5s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(255, 152, 0, 0.3));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 4px 8px rgba(255, 152, 0, 0.5));
    }
}

.warning-text {
    flex: 1;
    margin-right: 15px;
}

.warning-text h3 {
    margin: 0 0 8px 0;
    color: #e65100;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(230, 81, 0, 0.2);
    letter-spacing: -0.5px;
}

.warning-text p {
    margin: 0;
    color: #bf360c;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.warning-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-resend {
    background: #1f6996;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-resend:hover {
    background: #165a7a;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(31, 105, 150, 0.2);
}

.btn-resend:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-dismiss {
    background: transparent;
    color: #bf360c;
    border: 2px solid #bf360c;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-dismiss::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #bf360c;
    transition: width 0.3s ease;
    z-index: 0;
}

.btn-dismiss span {
    position: relative;
    z-index: 1;
}

.btn-dismiss:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 54, 12, 0.3);
}

.btn-dismiss:hover::before {
    width: 100%;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .verification-warning {
        margin: 20px 10px;
        border-radius: 12px;
    }
    
    .warning-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .warning-icon {
        font-size: 2rem;
    }
    
    .warning-text {
        margin-right: 0;
    }
    
    .warning-text h3 {
        font-size: 1.2rem;
    }
    
    .warning-text p {
        font-size: 0.9rem;
    }
    
    .warning-actions {
        justify-content: center;
        width: 100%;
        gap: 8px;
    }
    
    .btn-resend, .btn-dismiss {
        flex: 1;
        min-width: 120px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .warning-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-resend, .btn-dismiss {
        width: 100%;
        max-width: 200px;
    }
}

/* Address label styling in profile section */
.address-label {
    color: #3498db;
    font-weight: 600;
    font-size: 0.9em;
}

/* Address management note in edit profile modal */
.address-management-note {
    background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
    border: 2px solid #3498db;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.note-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.note-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.note-text {
    flex: 1;
}

.note-text strong {
    color: #2c3e50;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.note-text p {
    color: #5a6c7d;
    margin: 0;
    line-height: 1.5;
}

.address-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.address-link:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

/* Address Management Styles */
.addresses-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.addresses-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

.btn-add-address, .btn-add-first-address {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-add-address:hover, .btn-add-first-address:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.addresses-list {
    display: grid;
    gap: 20px;
}

.address-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.address-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.address-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.default-badge {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-details {
    margin-bottom: 20px;
}

.address-details p {
    margin: 8px 0;
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.4;
}

.address-details strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

.address-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-set-default {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-set-default:hover {
    background: linear-gradient(135deg, #e67e22, #d68910);
    transform: translateY(-1px);
}

.btn-edit-address {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-edit-address:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-1px);
}

.btn-delete-address {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-delete-address:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
}

.no-addresses {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.no-addresses p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Address Modal Styles */
.address-form {
    max-width: 600px;
}

.address-form .form-group {
    margin-bottom: 20px;
}

.address-form label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.address-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.address-form input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.address-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.address-form input[type="checkbox"] {
    margin-right: 8px;
}

.address-form label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #5a6c7d;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn-save {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-save:hover {
    background: linear-gradient(135deg, #2ecc71, #58d68d);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-cancel {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Responsive Design for Address Management */
@media (max-width: 768px) {
    .addresses-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .address-actions {
        justify-content: center;
    }
    
    .address-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        justify-content: center;
        flex-direction: column-reverse;
    }
    
    .btn-save, .btn-cancel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .addresses-section {
        padding: 15px;
    }
    
    .address-card {
        padding: 15px;
    }
    
    .address-actions {
        flex-direction: column;
    }
    
    .address-actions button {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Booking Management Styles */
.booking-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.booking-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.booking-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.booking-details p {
    margin: 8px 0;
    color: #666;
}

.booking-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-cancel, .btn-details {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-cancel {
    background: #dc3545;
    color: white;
}

.btn-cancel:hover {
    background: #c82333;
}

.btn-details {
    background: #007bff;
    color: white;
}

.btn-details:hover {
    background: #0056b3;
    text-decoration: none;
    color: white;
}

/* Cancel Booking Modal */
.cancellation-policy {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.cancellation-policy h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 16px;
}

.cancellation-policy ul {
    margin: 0;
    padding-left: 20px;
}

.cancellation-policy li {
    margin-bottom: 5px;
    color: #6c757d;
}

.cancel-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
}

.btn-confirm-cancel {
    background: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.btn-confirm-cancel:hover {
    background: #c82333;
}

.btn-keep {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.btn-keep:hover {
    background: #5a6268;
}

/* Booking Details Modal */
.modal-content.large {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.booking-details-layout {
    display: grid;
    gap: 20px;
}

.booking-info-section,
.booking-schedule-section,
.booking-address-section,
.booking-cleaners-section,
.booking-notes-section,
.booking-timestamps-section,
.booking-actions-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.booking-info-section h3,
.booking-schedule-section h3,
.booking-address-section h3,
.booking-cleaners-section h3,
.booking-notes-section h3,
.booking-timestamps-section h3 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row strong {
    color: #495057;
    min-width: 120px;
}

.total-row {
    background: #e7f3ff;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    margin-top: 10px;
}

.booking-actions-section {
    background: white;
    border: 1px solid #dee2e6;
    text-align: center;
}

.btn-close {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    margin-left: 10px;
}

.btn-close:hover {
    background: #5a6268;
}

/* No Bookings State */
.no-bookings {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-bookings p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-book {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background: #0056b3;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Responsive Design for Booking Management */
@media (max-width: 768px) {
    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .btn-cancel, .btn-details {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content.large {
        width: 95%;
        margin: 10px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-row strong {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .booking-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .cancellation-policy {
        padding: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-confirm-cancel, .btn-keep {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Rating System Styles */
.btn-rate {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-rate:hover {
    background: linear-gradient(135deg, #ffb347, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.rating-display {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: #666;
    border: 1px solid #e9ecef;
}

/* Star Rating Component */
.star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
    justify-content: center;
}

.star {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.star:hover,
.star.hover {
    color: #ffd700;
    transform: scale(1.1);
}

.star.active,
.star.selected {
    color: #ffd700;
}

.rating-text {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    display: block;
    min-height: 20px;
}

/* Rating Form */
.rating-form .form-group {
    margin-bottom: 20px;
}

.rating-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.rating-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.btn-submit-rating {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-submit-rating:hover:not(:disabled) {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-submit-rating:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Rating Modal Specific Styles */
#rate-service-modal .modal-content {
    max-width: 500px;
    text-align: center;
}

#rating-service-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

#rating-service-info p {
    margin: 0;
    color: #495057;
    font-size: 16px;
}

#rating-service-name {
    color: #007bff;
    font-weight: 600;
}
