/* Admin Header */
.admin-header {
    background-color: #111827;
    color: white;
    padding: 1rem 0;
}

.admin-header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Appointments Container */
.appointments-container {
    padding: 2rem 0;
}

.appointments-container h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #111827;
}

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.filter-box select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    min-width: 200px;
}

/* Appointments Grid */
.appointments-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.appointment-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.appointment-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #111827;
}

.appointment-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-in-progress {
    background-color: #e0f2fe;
    color: #075985;
}

.status-completed {
    background-color: #dcfce7;
    color: #166534;
}

.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.appointment-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.appointment-info i {
    width: 1rem;
    height: 1rem;
    color: #facc15;
}

/* Modal Styles */
.modal-body {
    padding: 1.5rem;
}

.detail-group {
    margin-bottom: 1.5rem;
}

.detail-group h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.detail-group p {
    color: #6b7280;
}

.status-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.status-button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.status-button-progress {
    background-color: #e0f2fe;
    color: #075985;
}

.status-button-progress:hover {
    background-color: #bae6fd;
}

.status-button-complete {
    background-color: #dcfce7;
    color: #166534;
}

.status-button-complete:hover {
    background-color: #bbf7d0;
}