:root {
    --primary-color: #58A4B0;
    --secondary-color: #6A7B76;
    --accent-color: #A0C1E8;
    --background-color: #F7F9F9;
    --text-color: #333;
    --border-color: #dcdde1;
    --sidebar-width: 250px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.admin-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem;
    position: fixed;
    width: var(--sidebar-width);
    height: 100vh;
    overflow-y: auto;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info .material-icons {
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
}

nav li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

nav li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

nav li.active {
    background-color: var(--primary-color);
}

/* Main Content Styles */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-bar input {
    border: none;
    outline: none;
    margin-left: 0.5rem;
    font-size: 1rem;
    width: 300px;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card .material-icons {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-info h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-info p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Appointments Section */
.appointments-section {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
}

.filter-controls select,
.filter-controls input[type="date"] {
    height: 40px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-size: 0.9rem;
    min-width: 200px;
    background-color: white;
    color: var(--text-color);
    font-family: inherit;
}

.filter-controls select {
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.2em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.filter-controls select:hover,
.filter-controls input[type="date"]:hover {
    border-color: var(--primary-color);
}

.filter-controls select:focus,
.filter-controls input[type="date"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.clear-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.clear-filters:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.clear-filters .material-icons {
    font-size: 18px;
}

/* Appointment Cards - Modern Style */
.appointments-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

.appointment-card {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-height: 220px;
    height: 100%;
}

.appointment-card:nth-child(2n) {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
}

.appointment-card:nth-child(3n) {
    background: linear-gradient(135deg, #a770ef 0%, #cf8bf3 100%);
}

.appointment-card:nth-child(4n) {
    background: linear-gradient(135deg, #2ecc71 0%, #1abc9c 100%);
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.appointment-cancelled {
    opacity: 0.7;
    background: linear-gradient(135deg, #bdc3c7 0%, #6c7a89 100%) !important;
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    width: 100%;
}

.card-icon {
    font-size: 26px;
    margin-right: 10px;
}

.appointment-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.25rem;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appointment-close:hover {
    opacity: 1;
}

.appointment-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
    opacity: 0.9;
}

.status-badge {
    position: absolute;
    top: 1.5rem;
    right: 3.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    white-space: nowrap;
}

.client-name {
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    color: white;
    padding-right: 100px; /* Space for status badge */
}

.contact-info {
    margin-bottom: 1.25rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .material-icons {
    font-size: 1.25rem;
}

.treatment-areas {
    margin-bottom: 1.25rem;
}

.treatment-areas h4 {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.treatment-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.treatment-zone {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.appointment-notes {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.appointment-actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
}

.appointment-actions button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.appointment-actions button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.apply-now {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    margin-top: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.apply-now:hover {
    opacity: 0.8;
}

/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #777;
}

.loading-spinner .material-icons {
    font-size: 2rem;
    animation: spin 1.5s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* Admin Actions Container */
.admin-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Common Button Styles */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    height: 40px;
    min-width: 120px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: #f1f2f6;
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: #357abd;
}

.btn-secondary:hover {
    background-color: #dcdde1;
}

/* Icon alignment in buttons */
.btn-primary .material-icons,
.btn-secondary .material-icons {
    font-size: 20px;
}

/* Header specific button styles */
.header-actions .btn-primary,
.header-actions .btn-secondary {
    height: 40px;
    padding: 0 1.25rem;
}

/* Refresh button specific style */
#refreshButton,
#turnosRefreshButton {
    width: 40px;
    min-width: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 0;
    color: #777;
}

.empty-state .material-icons {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Admin actions */
.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b !important;
}

/* Confirmation modal */
.confirm-modal {
    max-width: 400px;
}

.confirm-modal h2 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.confirm-modal p {
    margin-bottom: 15px;
    font-size: 16px;
}

.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.confirm-actions button {
    padding: 10px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 100%;
        --header-height: 60px;
    }

    .admin-container {
        grid-template-columns: 1fr;
        width: 100%;
        overflow-x: hidden;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .header-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .search-bar {
        width: 100%;
        max-width: none;
    }

    .search-bar input {
        width: 100%;
    }

    /* Stats cards responsive layout */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    /* Filter controls mobile layout */
    .filter-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .filter-group {
        width: 100%;
    }

    .filter-controls select,
    .filter-controls input[type="date"] {
        width: 100%;
        max-width: none;
    }

    /* Appointments section mobile layout */
    .appointments-section {
        padding: 1rem;
        margin: 0;
        border-radius: 8px;
    }

    .appointments-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .appointment-card {
        min-height: auto;
        padding: 1.25rem;
    }

    /* Button and action adjustments */
    .btn-primary,
    .btn-secondary {
        width: auto;
        min-width: unset;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 2.5% auto;
        padding: 1.25rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Client cards responsive */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .client-card {
        padding: 1.25rem;
    }

    /* Working hours mobile layout */
    .day-hours {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hours-inputs {
        width: 100%;
        justify-content: space-between;
    }

    /* Navigation menu button for mobile */
    .menu-toggle {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .menu-toggle .material-icons {
        font-size: 24px;
    }

    /* Hide menu toggle when sidebar is active */
    .sidebar.active + .menu-toggle {
        right: 1rem;
    }

    /* Overlay for mobile menu */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .sidebar-overlay.active {
        display: block;
    }

    /* Improve touch targets */
    nav li {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-item,
    .treatment-zone,
    .appointment-actions button {
        min-height: 44px; /* Minimum touch target size */
    }
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .admin-container {
        grid-template-columns: 80px 1fr;
    }

    .sidebar {
        width: 80px;
        padding: 1rem;
    }

    .main-content {
        margin-left: 80px;
    }

    .user-info span,
    nav li span {
        display: none;
    }

    .appointments-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Additional improvements for larger screens */
@media (min-width: 1025px) {
    .admin-container {
        max-width: 1920px;
        margin: 0 auto;
    }

    .main-content {
        padding: 2rem;
    }

    .appointments-list {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
}

/* Fix for iOS Safari padding issues */
@supports (-webkit-touch-callout: none) {
    .sidebar,
    .main-content {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

.date-filter-container {
    margin: 20px 0;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input label {
    font-weight: 500;
    color: #333;
}

.date-input input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.content-section {
    width: 100%;
}

.info-message {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.info-message .material-icons {
    font-size: 48px;
    color: #4a90e2;
    margin-bottom: 15px;
    opacity: 0.7;
}

.info-message p {
    font-size: 16px;
    color: #666;
}

/* Settings Container */
.settings-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Clients List */
.clients-list {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Client Cards */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.client-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.client-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.client-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
    font-size: 0.9rem;
}

.client-info .material-icons {
    font-size: 1rem;
    color: #777;
}

.client-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.client-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: #777;
    margin-top: 3px;
}

.client-actions {
    display: flex;
    justify-content: center;
}

.view-client-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 15px;
}

/* Client Details Modal */
.client-details-modal {
    max-width: 700px;
    padding: 30px;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar .material-icons {
    font-size: 40px;
    color: var(--primary-color);
}

.profile-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.profile-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.appointment-history {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.appointment-history h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 5px;
}

.history-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-date {
    font-weight: 500;
    color: #444;
}

.history-service {
    color: #555;
}

.no-history {
    padding: 20px;
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Configuration Section */
.config-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.config-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.config-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.config-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.config-option {
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-details h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.option-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch.small {
    width: 40px;
    height: 20px;
}

.switch.small .slider:before {
    height: 14px;
    width: 14px;
}

.switch.small input:checked + .slider:before {
    transform: translateX(20px);
}

/* Working Hours */
.working-hours {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.day-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.day-hours:last-child {
    border-bottom: none;
}

.day-name {
    width: 100px;
    font-weight: 500;
}

.hours-inputs {
    display: flex;
    align-items: center;
    gap: 15px;
}

.time-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100px;
}

/* Backup Options */
.backup-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.option-description {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

/* Config Actions */
.config-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1200px) {
    .appointments-list {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media (max-width: 768px) {
    .appointments-list {
        grid-template-columns: 1fr;
    }
    
    .appointments-section {
        padding: 1.5rem;
    }
    
    .appointment-card {
        min-height: 200px;
    }
} 