/* ============================================
   PWA Mobile Dashboard - Modern Design
   ============================================ */

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --accent-color: #00072D;
    --accent-hover: #001147;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    /* Priority Colors */
    --priority-high: #ef4444;
    --priority-medium: #f59e0b;
    --priority-low: #10b981;
    
    /* Reminder Colors */
    --reminder-warning: #f59e0b;
    --reminder-danger: #ef4444;
    --reminder-info: #3b82f6;
    --reminder-success: #10b981;
}

/* Dark Theme Colors */
.dark-theme {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-bottom: 100px; /* Space for floating menu button */
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    box-shadow: var(--shadow);
    display: block !important;
    visibility: visible !important;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    min-height: 50px;
}

.logo-img-centered {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    display: block !important;
    flex-shrink: 0;
    margin: 0 auto;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Main Content */
.app-main {
    padding: 16px;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-bottom: 20px;
}

/* Safe area support for notched devices */
@supports (padding: max(0px)) {
    .app-main {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

/* Info Container */
.info-container {
    margin-bottom: 20px;
}

/* Info Bar - Currency & Gold (Top Row) */
.info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.info-bar:hover {
    opacity: 0.9;
}

.info-bar:active {
    transform: scale(0.98);
}

/* Info Bar - Dates (Bottom Row) */
.info-bar-dates {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    gap: 8px;
    max-width: 100%;
}

/* Info Bar - Special Days (Third Row) */
.info-bar-special-days {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
    max-width: 100%;
}

.special-day-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.special-day-card #special-day-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 14px !important;
    color: var(--accent-color) !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.special-day-counter {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px !important;
    color: var(--text-secondary) !important;
    opacity: 0.5;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.special-day-card .special-day-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 4px;
    line-height: 1.3;
    margin-top: 20px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.special-day-card .special-day-time {
    font-size: 10px !important;
    font-weight: 500;
    color: var(--text-secondary) !important;
    margin-bottom: 2px;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.3px;
}

.date-card {
    grid-column: span 1;
}

.clock-card {
    cursor: pointer;
    position: relative;
}

.clock-card i {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 14px !important;
    color: var(--accent-color) !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.clock-card .info-value {
    font-size: 12px !important;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.2;
    margin-top: 20px;
}

.clock-card .info-label {
    font-size: 9px !important;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* World clocks page */
.clock-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.clock-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clock-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.clock-flag {
    font-size: 20px;
}

.clock-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.clock-city {
    font-weight: 700;
    font-size: 14px;
}

.clock-country {
    font-size: 12px;
    color: var(--text-secondary);
}

.clock-time {
    font-size: 18px;
    font-weight: 700;
}

.clock-date {
    font-size: 13px;
    color: var(--text-primary);
}

.clock-gmt {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Financial Transaction Button */
.financial-transaction-btn-container {
    padding: 16px;
    margin-bottom: 8px;
}

.financial-transaction-btn {
    width: 100%;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.financial-transaction-btn:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.financial-transaction-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.financial-transaction-btn i {
    font-size: 18px;
    color: var(--accent-color);
}

/* Transaction Type Radio */
.transaction-type-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.transaction-type-option {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.transaction-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.transaction-type-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    transition: all 0.2s;
    text-align: center;
    height: 50px;
    max-height: 50px;
}

.transaction-type-expense .transaction-type-content {
    color: #ef4444;
}

.transaction-type-income .transaction-type-content {
    color: #10b981;
}

.transaction-type-option input[type="radio"]:checked + .transaction-type-content {
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(0, 7, 45, 0.2);
}

.dark-theme .transaction-type-option input[type="radio"]:checked + .transaction-type-content {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.transaction-type-expense input[type="radio"]:checked + .transaction-type-content {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.transaction-type-income input[type="radio"]:checked + .transaction-type-content {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.transaction-type-receivable .transaction-type-content {
    color: #10b981;
}

.transaction-type-payable .transaction-type-content {
    color: #ef4444;
}

.transaction-type-receivable input[type="radio"]:checked + .transaction-type-content {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.transaction-type-payable input[type="radio"]:checked + .transaction-type-content {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.transaction-type-content i {
    font-size: 16px;
    margin-bottom: 0;
}

.transaction-type-content span {
    font-size: 12px;
    font-weight: 600;
}

/* Transaction Group Radio */
.transaction-group-group {
    display: flex;
    gap: 12px;
}

.transaction-group-option {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.transaction-group-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.transaction-group-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    transition: all 0.2s;
    text-align: center;
    height: 50px;
    max-height: 50px;
}

.transaction-group-kisisel .transaction-group-content {
    color: #00072D;
}

.transaction-group-aile .transaction-group-content {
    color: #06b6d4;
}

.transaction-group-ticari .transaction-group-content {
    color: #f59e0b;
}

.transaction-group-option input[type="radio"]:checked + .transaction-group-content {
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(0, 7, 45, 0.2);
}

.dark-theme .transaction-group-option input[type="radio"]:checked + .transaction-group-content {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.transaction-group-kisisel input[type="radio"]:checked + .transaction-group-content {
    border-color: #00072D;
    box-shadow: 0 0 0 3px rgba(0, 7, 45, 0.2);
}

.dark-theme .transaction-group-kisisel input[type="radio"]:checked + .transaction-group-content {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.transaction-group-aile input[type="radio"]:checked + .transaction-group-content {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.transaction-group-ticari input[type="radio"]:checked + .transaction-group-content {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.transaction-group-content span {
    font-size: 12px;
    font-weight: 600;
}

/* Amount Input Group */
.amount-input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.amount-input-group input[type="number"] {
    flex: 1;
}

.amount-input-group .amount-currency {
    width: 80px;
    flex-shrink: 0;
}

/* Make date cards wider - each takes space of 2 currency cards */
@media (min-width: 361px) {
}

.clock-card {
    grid-column: span 1;
    position: relative;
    cursor: pointer;
}

.clock-card i {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 14px !important;
    color: var(--accent-color) !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.clock-card .info-value {
    font-size: 12px !important;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.2;
    margin-top: 20px;
}

.clock-card .info-label {
    font-size: 9px !important;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:active {
    transform: scale(0.98);
}

.info-card i {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 6px;
    display: block;
}

.info-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.2;
}

.date-card .info-value {
    font-size: 11px;
    line-height: 1.3;
}

.info-label {
    font-size: 9px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Dashboard Sections */
.dashboard-section {
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: var(--accent-color);
    font-size: 12px;
}

.btn-add {
    background: var(--accent-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 14px;
}

.btn-add:hover {
    background: var(--accent-hover);
}

.btn-add:active {
    transform: scale(0.95);
}

.section-content {
    padding: 16px;
}

/* Routines */
.routines-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.routine-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: background-color 0.2s;
}

.routine-item:active {
    background: var(--border-color);
}

.routine-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.routine-label {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.routine-time-display {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: normal;
    white-space: nowrap;
}

.routine-time-window {
    font-size: 11px;
    color: var(--accent-color);
    font-weight: 500;
    background: rgba(0, 7, 45, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
}

.routine-status-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.routine-status-badge.completed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.routine-status-badge.past {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
}

.routine-status-badge.future {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info-color);
}

.routine-item-completed {
    opacity: 0.7;
}

.routine-item-past {
    opacity: 0.8;
}

.routine-item-future {
    opacity: 0.9;
}

.routines-completed-toggle {
    transition: background-color 0.2s;
}

.routines-completed-toggle:hover {
    background: var(--border-color) !important;
}

.routines-completed-toggle:active {
    transform: scale(0.98);
}

.routines-completed-list {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.routine-checkbox:checked + .routine-label {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Reminders */
.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    border-left: 4px solid;
    background: var(--bg-secondary);
}

.reminder-warning {
    border-left-color: var(--reminder-warning);
}

.reminder-danger {
    border-left-color: var(--reminder-danger);
}

.reminder-info {
    border-left-color: var(--reminder-info);
}

.reminder-success {
    border-left-color: var(--reminder-success);
}

.reminder-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.reminder-warning .reminder-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--reminder-warning);
}

.reminder-danger .reminder-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--reminder-danger);
}

.reminder-info .reminder-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--reminder-info);
}

.reminder-success .reminder-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--reminder-success);
}

.reminder-content {
    flex: 1;
}

.reminder-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.reminder-text {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.reminder-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.reminder-notification-time {
    font-size: 10px;
    color: var(--accent-color);
    margin-top: 2px;
    font-weight: 500;
}

.reminder-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-icon:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-icon.btn-edit:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

.btn-icon.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.btn-icon:active {
    transform: scale(0.95);
}

.form-section-divider {
    margin: 20px 0 12px 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.form-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Todos */
.todos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.todo-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: background-color 0.2s;
    position: relative;
}

.todo-item.priority-high {
    border-left-color: var(--priority-high);
}

.todo-item.priority-medium {
    border-left-color: var(--priority-medium);
}

.todo-item.priority-low {
    border-left-color: var(--priority-low);
}

.todo-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.todo-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: default;
}

.todo-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
}

.todo-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.todo-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.todo-priority-badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.todo-priority-badge.priority-high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--priority-high);
}

.todo-priority-badge.priority-medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--priority-medium);
}

.todo-priority-badge.priority-low {
    background: rgba(16, 185, 129, 0.1);
    color: var(--priority-low);
}

.todo-date {
    font-size: 11px;
    color: var(--text-muted);
}

.todo-checkbox:checked ~ .todo-label .todo-text {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border: none;
}

.quote-section .section-content {
    padding: 24px 20px;
    text-align: center;
}

.quote-text {
    font-size: 16px;
    font-weight: 500;
    color: white;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.quote-author {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Announcements */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.announcement-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.announcement-card:active {
    transform: scale(0.98);
    background: var(--border-color);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}

.announcement-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    line-height: 1.3;
}

.announcement-date {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-date i {
    font-size: 10px;
}

.announcement-body {
    margin-top: 8px;
}

.announcement-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-detail-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-detail-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* Todo Detail Modal */
.todo-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.todo-detail-priority {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.todo-detail-priority i {
    color: var(--text-secondary);
}

.todo-detail-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.todo-detail-date i {
    color: var(--text-secondary);
}

.todo-detail-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-wrap;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Todo Item Clickable */
.todo-item[data-bs-toggle="modal"] {
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.todo-item[data-bs-toggle="modal"]:active {
    background: var(--bg-card);
    transform: scale(0.98);
}

/* Journal */
.journal-date-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.date-nav-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    font-size: 12px;
}

.date-nav-btn:hover:not(:disabled) {
    background: var(--border-color);
}

.date-nav-btn:active:not(:disabled) {
    background: var(--border-color);
    transform: scale(0.95);
}

.date-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.journal-date-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.journal-date-display {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 80px;
    text-align: center;
    transition: color 0.3s ease;
}

/* Page Container */
.page-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    color: var(--accent-color);
    font-size: 20px;
}

.journal-date-today {
    color: var(--text-secondary);
}

.journal-date-past {
    color: var(--accent-color);
}

.dark-theme .journal-date-past {
    color: #818cf8;
}

.journal-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.journal-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s;
}

.journal-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.journal-textarea::placeholder {
    color: var(--text-muted);
}

.btn-save-journal {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-save-journal:hover {
    background: var(--accent-hover);
}

.btn-save-journal:active {
    transform: scale(0.98);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 11px;
    font-weight: 500;
    flex: 1;
    max-width: 100px;
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active {
    color: var(--accent-color);
}

.nav-item:active {
    transform: scale(0.95);
}

.nav-item {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--danger-color);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
    z-index: 1;
}

/* Prevent active state on quick actions toggle */
#quick-actions-toggle.active,
#quick-actions-toggle:active {
    color: var(--text-secondary) !important;
}

/* Bottom Spacer */
.bottom-spacer {
    height: 100px;
    min-height: 100px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    padding: 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.modal-close:active {
    background: var(--bg-secondary);
}

.modal-body {
    padding: 20px;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    max-width: 100%;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* Detail Modal Styles */
.detail-item {
    margin-bottom: 20px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.5;
    word-wrap: break-word;
}

.detail-value .todo-priority-badge,
.detail-value .reminder-priority-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Reminder Priority Badge Styles */
.reminder-priority-badge {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.reminder-priority-badge.reminder-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--reminder-danger);
}

.reminder-priority-badge.reminder-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--reminder-warning);
}

.reminder-priority-badge.reminder-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--reminder-info);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.form-section-header {
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.form-section-header:first-child {
    margin-top: 0;
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.form-section-title i {
    color: var(--accent-color);
    font-size: 16px;
}

.days-checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.day-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 14px;
    color: var(--text-primary);
}

.day-checkbox-label:hover {
    background: var(--border-color);
}

.day-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.day-checkbox-label input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--accent-color);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.required-asterisk {
    color: #ef4444;
    margin-left: 2px;
    font-weight: 600;
}

/* Bank logo in selects */
.bank-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-option img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.bank-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* iOS Date/Time Input Fixes */
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* Prevent iOS input zoom on focus */
@media screen and (max-width: 768px) {
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
}

a.btn-primary,
a.btn-secondary,
a.btn {
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    text-decoration: none;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Button Sizes */
.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    min-width: 120px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    min-width: auto;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--border-color);
    text-decoration: none;
}

.btn-secondary:active {
    transform: scale(0.98);
}

.modal-footer .btn {
    flex: 1;
}

/* Responsive Adjustments */
@media (max-width: 360px) {
    .info-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-bar-dates {
        max-width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-value {
        font-size: 11px;
    }
    
    .info-label {
        font-size: 8px;
    }
}

/* Safe Area Support for iOS */
@supports (padding: max(0px)) {
    .app-main {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
    
    body {
        padding-bottom: max(100px, env(safe-area-inset-bottom) + 100px);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-section {
    animation: fadeIn 0.3s ease;
}

/* Touch Feedback */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text selection on mobile */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Menu Modal */
.menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    align-items: flex-end;
    justify-content: center;
}

.menu-modal.show {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.menu-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1001;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 10;
}

.menu-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.menu-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    padding: 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:active {
    background: var(--bg-secondary);
    transform: scale(0.95);
}

.menu-list {
    padding: 8px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background: var(--bg-secondary);
}

.menu-item i:first-child {
    font-size: 20px;
    color: var(--accent-color);
    width: 24px;
    text-align: center;
}

.menu-item span {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.menu-arrow {
    font-size: 14px;
    color: var(--text-muted);
}

/* Notifications List */
.notifications-list {
    padding: 8px 0;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
    position: relative;
}

.notification-item:last-child {
    border-bottom: none;
}

/* Kemal Efe Specific Styles */
.age-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: none;
}

.age-card-content {
    text-align: center;
}

.age-date {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 500;
}

.age-text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.age-name {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 400;
}

/* Bath Routine Styles */
.bath-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: background-color 0.2s;
}

.bath-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.bath-label {
    flex: 1;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
    user-select: none;
}

.bath-label strong {
    font-weight: 600;
}

.bath-history {
    margin-top: 16px;
}

.bath-history-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.bath-days-grid {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.bath-days-grid::-webkit-scrollbar {
    display: none;
}

.bath-days-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.bath-day-item {
    text-align: center;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bath-day-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bath-day-box.completed {
    background: var(--success-color);
}

.bath-day-box.today {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.bath-day-box.completed i {
    color: white;
    font-size: 16px;
}

.bath-day-date {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2px;
    line-height: 1.2;
}

.bath-day-name {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.section-title.clickable {
    cursor: pointer;
    transition: opacity 0.2s;
}

.section-title.clickable:active {
    opacity: 0.7;
}

/* Page Container Improvements */
.page-container {
    padding: 0;
    max-width: 100%;
}

.page-header {
    margin-bottom: 20px;
    padding: 0;
}

/* Form Improvements */
#user-info-form {
    margin-top: 20px;
}

#user-info-form .btn-primary {
    width: 100%;
    margin-top: 24px;
}

/* Journal Page Improvements */
.journal-date-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
}

.journal-wrapper {
    margin-top: 0;
}

/* Button Block */
.btn-block {
    width: 100%;
    margin-top: 24px;
}

/* Auth Page Styles */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-primary);
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.auth-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.auth-form {
    margin-top: 0;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-form .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.form-checkbox span {
    font-size: 14px;
    color: var(--text-secondary);
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

/* Identity (Kimlik) Page Styles */
.identity-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.identity-section-header {
    margin-top: 24px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.identity-section-header:first-child {
    margin-top: 0;
}

.identity-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.identity-section-title i {
    color: var(--accent-color);
    font-size: 14px;
}

.identity-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s;
}

.identity-info-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
}

.identity-info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
    flex-shrink: 0;
}

.identity-info-value {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word;
}

.identity-copy-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.identity-copy-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.identity-copy-btn:active {
    transform: scale(0.95);
}

.identity-copy-btn i {
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 360px) {
    .age-text {
        font-size: 28px;
    }
    
    .bath-days-grid {
        gap: 4px;
    }
    
    .bath-day-box {
        width: 38px;
        height: 38px;
    }
    
    .bath-day-date {
        font-size: 10px;
    }
    
    .bath-day-name {
        font-size: 9px;
    }
    
    .age-card {
        padding: 20px;
    }
    
    .age-text {
        font-size: 26px;
    }
    
    .auth-card {
        padding: 24px 20px;
    }
    
    .auth-logo {
        width: 70px;
        height: 70px;
    }
    
    .identity-info-label {
        min-width: 120px;
        font-size: 11px;
    }
    
    .identity-info-value {
        font-size: 14px;
    }
    
    .identity-copy-btn {
        width: 36px;
        height: 36px;
    }
}

/* Journal Search Results Styles */
.journal-search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.journal-search-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: inherit;
    text-decoration: none;
    display: block;
}

.journal-search-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.journal-search-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.journal-search-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.journal-search-date i {
    color: var(--accent-color);
    font-size: 12px;
}

.journal-search-day {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.journal-search-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    word-wrap: break-word;
}

.journal-search-content mark {
    background-color: #fef08a;
    padding: 2px 0;
    border-radius: 2px;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--info-color);
    color: var(--info-color);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-info i {
    font-size: 16px;
}

/* Routines Page Styles */
.routines-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.routine-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.routine-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
}

.routine-item-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    position: relative;
}

.routine-left-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.routine-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.routine-info {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.routine-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.routine-toggle {
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: 50px;
}

.routine-checkbox {
    display: none;
}

.routine-checkbox-label {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    background: var(--bg-secondary);
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.routine-checkbox-label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.routine-checkbox:checked + .routine-checkbox-label {
    background: var(--accent-color);
}

.routine-checkbox:checked + .routine-checkbox-label::after {
    transform: translateX(20px);
}

/* Growth Measurements Styles */
.growth-form {
    padding: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-group-inline {
    flex: 1;
    min-width: 100px;
}

.form-label-small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control-small {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.2s;
}

.form-control-small:focus {
    outline: none;
    border-color: var(--accent-color);
}

.growth-form-full {
    margin-top: 20px;
}

.growth-form-full .form-group {
    margin-bottom: 20px;
}

/* Firsts Page Styles */
.firsts-category-section {
    margin-bottom: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.category-title i {
    color: var(--accent-color);
    font-size: 16px;
}

.category-count {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 12px;
}

.empty-category {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.firsts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.first-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.first-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
}

.first-item-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.first-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.first-info {
    flex: 1;
}

.first-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.first-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.first-delete-btn {
    background: transparent;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.first-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 2001;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--bg-secondary);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    flex: 1;
}

.icon-selector {
    display: flex;
    gap: 12px;
    align-items: center;
}

.icon-preview {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 12px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.suggestion-item:hover {
    border-color: var(--accent-color);
    background: var(--bg-card);
}

.suggestion-item i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.suggestion-item span {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
}

.suggestion-use-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.suggestion-use-btn:hover {
    background: var(--accent-hover);
}

/* Icon Picker Styles */
.icon-picker-content {
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
}

.icon-picker-container {
    padding: 20px 0;
}

.icon-category-section {
    margin-bottom: 32px;
}

.icon-category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 12px;
    padding: 8px 0;
}

.icon-item {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.icon-item:hover {
    background: var(--bg-card);
    border-color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.icon-item.selected {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        gap: 10px;
    }

    .icon-item {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* User Settings Styles */
.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-title i {
    color: var(--accent-color);
    font-size: 16px;
}

.section-content {
    padding-top: 8px;
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.theme-info {
    flex: 1;
}

.theme-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.theme-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.theme-switch {
    flex-shrink: 0;
}

.theme-checkbox {
    display: none;
}

.theme-switch-label {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 36px;
    background: var(--bg-secondary);
    border-radius: 18px;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid var(--border-color);
}

.theme-switch-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: opacity 0.3s;
    color: var(--text-primary);
}

.theme-icon-light {
    left: 8px;
    opacity: 1;
}

.theme-icon-dark {
    right: 8px;
    opacity: 0.3;
}

.theme-checkbox:checked + .theme-switch-label {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.theme-checkbox:checked + .theme-switch-label .theme-switch-slider {
    transform: translateX(28px);
}

.theme-checkbox:checked + .theme-switch-label .theme-icon-light {
    opacity: 0.3;
}

.theme-checkbox:checked + .theme-switch-label .theme-icon-dark {
    opacity: 1;
    color: white;
}

/* Form Message */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.form-message-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

/* Health Visits Styles */
.health-visit-modal {
    max-width: 600px;
}

.select-with-add {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.select-with-add select {
    flex: 1;
}

.select-with-add .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.medication-item {
    margin-bottom: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.form-row .form-group {
    margin-bottom: 0;
}

.health-visits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.health-visit-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.health-visit-item:hover {
    box-shadow: var(--shadow);
}

.visit-item-content {
    display: flex;
    gap: 16px;
}

.visit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.visit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visit-date,
.visit-hospital,
.visit-doctor {
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.visit-date {
    font-weight: 600;
    font-size: 16px;
}

.visit-specialty {
    color: var(--text-secondary);
    font-size: 13px;
}

.visit-routine-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.visit-complaint,
.visit-diagnosis {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.visit-medications {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.visit-medications ul {
    margin: 4px 0 0 20px;
    padding: 0;
}

.visit-medications li {
    margin-bottom: 4px;
}

.visit-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.visit-edit-btn,
.visit-delete-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 16px;
}

.visit-edit-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

.visit-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

/* Growth Summary Card Styles */
.growth-summary-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.growth-summary-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
    background: var(--bg-card);
}

.growth-summary-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.growth-summary-date i {
    color: var(--accent-color);
    font-size: 12px;
}

.growth-summary-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.growth-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.growth-summary-item:last-child {
    border-bottom: none;
}

.growth-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.growth-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.growth-summary-empty {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}

.growth-summary-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--text-muted);
    display: block;
}

.growth-summary-empty div {
    font-size: 14px;
    margin-bottom: 4px;
}

.growth-summary-empty small {
    font-size: 12px;
    color: var(--text-muted);
}

/* Readonly/Disabled select styling */
select.form-control:disabled {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.8;
}

select.form-control[readonly] {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    cursor: not-allowed;
}

.form-text {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Vaccinations Page Styles */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-tab {
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-tab:hover {
    background: var(--bg-card);
    border-color: var(--accent-color);
}

.filter-tab.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.vaccinations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vaccination-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.vaccination-item:hover {
    box-shadow: var(--shadow);
}

.vaccination-item.overdue {
    border-left: 4px solid var(--danger-color);
}

.vaccination-item.completed {
    border-left: 4px solid var(--success-color);
    opacity: 0.8;
}

.vaccination-item-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.vaccination-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.vaccination-info {
    flex: 1;
}

.vaccination-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.vaccination-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vaccination-date,
.vaccination-completed-date,
.vaccination-location,
.vaccination-side-effects {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vaccination-completed-date {
    color: var(--success-color);
}

.vaccination-side-effects {
    color: var(--warning-color);
}

.vaccination-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.vaccination-status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.completed-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.overdue-badge {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.pending-badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

.vaccination-edit-btn,
.vaccination-delete-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 16px;
}

.vaccination-edit-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

.vaccination-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.empty-state div {
    font-size: 16px;
}

/* Growth Chart Styles */
.growth-chart-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 32px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    margin-top: 16px;
}

.chart-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.chart-empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.chart-empty-state div {
    font-size: 14px;
}

@media (max-width: 768px) {
    .chart-container {
        height: 250px;
    }
}
