* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
}

.logo {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #34495e;
    margin-bottom: 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
}

.menu {
    list-style: none;
    padding: 0 15px;
}

.menu li {
    margin-bottom: 10px;
}

.menu a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.menu a:hover, .menu a.active {
    background-color: #34495e;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #2c3e50;
    font-size: 28px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.card-title {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.card-value {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}

.patient-card {
    grid-column: span 2;
}

.patient-name {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.call-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.call-btn:hover {
    background-color: #2980b9;
}

.schedule-link {
    color: #3498db;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
}

/* Notifications Section */
.notifications {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
}

.notification-list {
    list-style: none;
}

.notification-item {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.notification-item:last-child {
    border-bottom: none;
}

.canceled {
    color: #e74c3c;
}

.time {
    color: #7f8c8d;
    font-size: 14px;
    margin-left: 10px;
}

/* Waiting Section */
.waiting {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.waiting-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.waiting-item:last-child {
    border-bottom: none;
}

.room {
    font-weight: bold;
    color: #2c3e50;
}

.patient {
    color: #7f8c8d;
}

/* Page Content Styles */
.page-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.back-btn {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    background-color: #7f8c8d;
}

/* Queue List Styles */
.queue-list {
    list-style: none;
}

.queue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.3s;
}

.queue-item:hover {
    background-color: #f8f9fa;
}

.queue-item:last-child {
    border-bottom: none;
}

.queue-number {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    width: 50px;
}

.queue-patient {
    flex: 1;
}

.queue-name {
    font-weight: bold;
    color: #2c3e50;
}

.queue-time {
    color: #7f8c8d;
    font-size: 14px;
}

.queue-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-waiting {
    background-color: #f39c12;
    color: white;
}

.status-in-progress {
    background-color: #3498db;
    color: white;
}

.status-completed {
    background-color: #27ae60;
    color: white;
}

/* Patient Detail Styles */
.patient-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-group {
    margin-bottom: 15px;
}

.info-label {
    font-weight: bold;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.info-value {
    color: #2c3e50;
}

/* Doctor Profile Styles */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin-right: 20px;
}

.profile-info h2 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.profile-info p {
    color: #7f8c8d;
}

.profile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}