/* patientDashboard.html styles */


/* Navigation Items */
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.nav-item:hover {
    background: #f0fdfa;
    color: #0d9488;
}

.nav-item.active {
    background: #f0fdfa;
    color: #0d9488;
    font-weight: 600;
}

.nav-item.active svg {
    stroke: #0d9488;
}

.nav-item svg {
    stroke: #6b7280;
    flex-shrink: 0;
}

 
.sidebar-scroll {
    height: calc(100vh - 96px); 
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 16px;
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    border: 1px solid #e5e7eb;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
    font-size: 13px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.category-hint {
    background-color: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    display: none;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #fee2e2;
    color: #dc2626;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.form-buttons button {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}

.btn-submit {
    background-color: #0d9488;
    color: white;
}

.btn-submit:hover {
    background-color: #0f766e;
}

.btn-cancel {
    background-color: #e5e7eb;
    color: #1f2937;
}

.btn-cancel:hover {
    background-color: #d1d5db;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #0d9488;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.close-btn:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.close-btn:hover {
    background-color: #f3f4f6;
}

/* User menu dropdown */
#user-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 2500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

#user-menu .user-menu-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 4px;
}

#user-menu .user-menu-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

#user-menu .user-menu-email {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

#user-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.15s, color 0.15s;
}

#user-menu a:hover {
    background-color: #f0fdfa;
    color: #0d9488;
}

#user-menu .logout-item {
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
    padding-top: 4px;
    color: #dc2626;
}

#user-menu .logout-item:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Notifications dropdown */
#notifications-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 80px;
    width: 320px;
    max-height: 400px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    z-index: 2500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

#notifications-menu .notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.15s;
}

#notifications-menu .notification-item:hover {
    background-color: #f0fdfa;
}

#notifications-menu .notification-item.unread {
    background-color: #f0fdfa;
    border-left: 3px solid #0d9488;
}

#notifications-menu .notification-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

#notifications-menu .notification-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

#notifications-menu .notification-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

#notifications-menu::-webkit-scrollbar {
    width: 6px;
}

#notifications-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#notifications-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* Header link styling */
a[href="patientDashboard.html"] {
    text-decoration: none;
}

a[href="settings(1).html"],
a[href="doctor-profile(1).html"] {
    padding: 0.5rem 1rem;
    color: #1f2937;
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
}

hr {
    margin: 0.25rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

a[onclick*="logout"] {
    padding: 0.5rem 1rem;
    color: #dc2626;
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
}



header {
    position:fixed;
    height: 500px;
}