@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Theme colors - Vet Clinic style (Teal & Warm Amber/Rose) */
    --primary: #0d9488;
    --primary-hover: #0f766e;
    --primary-light: #ccfbf1;
    --secondary: #6366f1;
    --secondary-hover: #4f46e5;
    --accent: #f43f5e;
    
    --bg-app: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-on-primary: #ffffff;

    /* WhatsApp theme */
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;

    /* Shadows & Border Radii */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px -2px rgba(13, 148, 136, 0.08), 0 2px 8px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-app: #0f172a;
        --bg-card: #1e293b;
        --border: #334155;
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --primary-light: #115e59;
        --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-app);
    color: var(--text-main);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Client Specific Page Styling with generated background image */
body.client-page {
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.7)), url('pets_bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.client-page .card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.3);
}

@media (prefers-color-scheme: dark) {
    body.client-page .card {
        background: rgba(30, 41, 59, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* App Header & Layout */
.app-container {
    width: 100%;
    max-width: 480px; /* Mobile first */
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* For Vet Dashboard, allow wider container */
.vet-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.header {
    text-align: center;
    padding: 20px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

body.client-page .header h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

body.client-page .header p {
    color: #e2e8f0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.logo-container {
    background: var(--primary-light);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 32px;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

.header h1 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
}

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

/* Cards & Forms */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

input[type="text"], input[type="date"], input[type="time"], textarea, select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background-color: transparent;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Make inputs readable on client background */
body.client-page input, body.client-page select, body.client-page textarea {
    background-color: rgba(255, 255, 255, 0.5);
}

@media (prefers-color-scheme: dark) {
    body.client-page input, body.client-page select, body.client-page textarea {
        background-color: rgba(30, 41, 59, 0.4);
    }
}

input[type="text"]:focus, input[type="date"]:focus, input[type="time"]:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
    background-color: var(--bg-card);
}

/* Pet Selection Custom UI */
.pet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.pet-option {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pet-option .icon {
    font-size: 24px;
}

.pet-option span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.pet-option:hover {
    border-color: var(--primary);
    background-color: rgba(13, 148, 136, 0.05);
}

.pet-option.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
}

.pet-option.selected span {
    color: var(--primary);
}

/* Button UI */
.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--text-on-primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

.btn:active {
    transform: translateY(0);
}

/* Booking Success Screen */
.success-screen {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.success-details {
    width: 100%;
    background-color: var(--bg-app);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 4px solid var(--primary);
}

/* Specific styling adjustments for details in card */
body.client-page .success-details {
    background-color: rgba(255, 255, 255, 0.6);
}

@media (prefers-color-scheme: dark) {
    body.client-page .success-details {
        background-color: rgba(15, 23, 42, 0.5);
    }
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.detail-label {
    color: var(--text-muted);
}

.detail-value {
    font-weight: 600;
}

.whatsapp-box {
    margin-top: 10px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: var(--radius-md);
    padding: 16px;
    color: #1b5e20;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

@media (prefers-color-scheme: dark) {
    .whatsapp-box {
        background-color: rgba(37, 211, 102, 0.1);
        border: 1px solid rgba(37, 211, 102, 0.2);
        color: #81c784;
    }
}

.whatsapp-box .wa-icon {
    font-size: 24px;
    color: var(--whatsapp-green);
}

.whatsapp-box h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.whatsapp-box p {
    font-size: 12px;
}

/* --- VET DASHBOARD SPECIFIC STYLES --- */
.vet-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.vet-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vet-logo h1 {
    font-size: 22px;
    color: var(--primary);
}

.vet-logo .badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
}

.vet-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .vet-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Calendar styling */
.calendar-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-nav-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.calendar-nav-btn:hover {
    background-color: var(--border);
}

.calendar-grid {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (max-width: 700px) {
    .calendar-grid {
        grid-template-columns: 60px repeat(3, 1fr); /* Show fewer days on extra small screens */
    }
    .calendar-grid-header > div:nth-child(n+5),
    .calendar-cells > div:nth-child(8n+5),
    .calendar-cells > div:nth-child(8n+6),
    .calendar-cells > div:nth-child(8n+7),
    .calendar-cells > div:nth-child(8n+8) {
        display: none; /* simple mobile truncation */
    }
}

.calendar-grid-header {
    display: contents;
}

.calendar-header-cell {
    background-color: var(--bg-app);
    padding: 12px 4px;
    text-align: center;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    font-size: 13px;
}

.calendar-header-cell.time-col {
    border-right: 1.5px solid var(--border);
}

.calendar-time-slots {
    display: contents;
}

.time-row-label {
    grid-column: 1;
    text-align: center;
    padding: 16px 4px;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    border-right: 1.5px solid var(--border);
    background-color: var(--bg-app);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-cells {
    display: contents;
}

.calendar-cell {
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    min-height: 58px;
    position: relative;
    background-color: var(--bg-card);
    transition: var(--transition);
}

.calendar-cell:hover {
    background-color: rgba(13, 148, 136, 0.02);
}

/* Grayed out / disabled cell style (outside work hours) */
.calendar-cell.disabled-cell {
    background-color: rgba(0, 0, 0, 0.04);
    cursor: not-allowed;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.03) 10px, rgba(0,0,0,0.03) 20px);
}

@media (prefers-color-scheme: dark) {
    .calendar-cell.disabled-cell {
        background-color: rgba(255, 255, 255, 0.03);
        background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
    }
}

.calendar-cell.disabled-cell::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    opacity: 0.25;
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
}

.appointment-block {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(99, 102, 241, 0.15));
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 4px 6px;
    font-size: 11px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.appointment-block:hover {
    transform: scale(1.02);
    z-index: 20;
    box-shadow: var(--shadow-md);
}

.appointment-block .pet-tag {
    font-weight: 700;
    color: var(--primary);
}

.appointment-block .owner-tag {
    color: var(--text-main);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Sidebar Info & QR panel */
.sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qr-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code-placeholder {
    width: 150px;
    height: 150px;
    background-color: white;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-center-card {
    flex: 1;
}

.notification-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
}

.notification-item {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background-color: var(--bg-app);
    border-left: 3px solid var(--border);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-item.pending {
    border-left-color: var(--secondary);
}

.notification-item.sent {
    border-left-color: var(--whatsapp-green);
    background-color: rgba(37, 211, 102, 0.05);
}

.notification-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-status {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.notification-status.pending {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
}

.notification-status.sent {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
}

/* --- STAFF AUTHENTICATION SCREEN --- */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-app);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    transition: var(--transition);
}

.login-card {
    width: 90%;
    max-width: 400px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.login-card h2 {
    color: var(--primary);
    text-align: center;
    font-weight: 700;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(13, 148, 136, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

/* Custom Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 440px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
}

/* --- TAB NAVIGATION SYSTEM --- */
.vet-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 12px;
}

.vet-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.vet-tab-btn:hover {
    color: var(--primary);
}

.vet-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* --- CRM & STAFF MANAGEMENT VIEWS --- */
.crm-search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.crm-search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    color: var(--text-main);
    outline: none;
}

.crm-search-bar input:focus {
    border-color: var(--primary);
}

.data-table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background-color: var(--bg-app);
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background-color: rgba(13, 148, 136, 0.01);
}

.action-btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.btn-primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.action-btn.btn-primary:hover {
    background-color: var(--primary);
    color: white;
}

.action-btn.btn-danger {
    background-color: rgba(244, 63, 94, 0.1);
    color: var(--accent);
}

.action-btn.btn-danger:hover {
    background-color: var(--accent);
    color: white;
}

/* Form layouts inside tabs */
.tab-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

/* Form and Details custom alignments */
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    cursor: pointer;
}

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

.course-settings-panel {
    border: 1px dashed var(--border);
    background-color: var(--bg-app);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- LOGO INTEGRATION --- */
.logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
}

/* --- FLAT SVG SILHOUETTES & ICONS --- */
svg.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: var(--transition);
}

.pet-option svg.icon {
    color: var(--text-muted);
}

.pet-option:hover svg.icon {
    color: var(--primary);
}

.pet-option.selected svg.icon {
    color: var(--primary);
}

/* --- CLICKABLE PATIENT CARDS & LISTS --- */
.clickable-row {
    cursor: pointer;
    transition: var(--transition);
}

.clickable-row:hover td {
    background-color: rgba(13, 148, 136, 0.05);
}

/* --- PATIENT / PETS DIRECTORY STYLING --- */
.pet-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pet-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pet-edit-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    background-color: var(--bg-app);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (prefers-color-scheme: dark) {
    .pet-edit-card {
        background-color: rgba(255, 255, 255, 0.02);
    }
}

.pet-edit-card h4 {
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
    margin-bottom: 4px;
}

/* --- VISITS & MEDICAL HISTORY TIMELINE --- */
.timeline-container {
    margin-top: 14px;
    border-top: 1.5px solid var(--border);
    padding-top: 14px;
}

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

.timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 6px;
}

.timeline-item {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--border);
    font-size: 12px;
    padding-bottom: 4px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 2px solid var(--bg-card);
}

.timeline-item.completed::before {
    background-color: var(--whatsapp-green);
}

.timeline-item.cancelled::before {
    background-color: var(--accent);
}

.timeline-date {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 10px;
}

.timeline-content {
    margin-top: 2px;
    color: var(--text-main);
    line-height: 1.3;
}

/* Unified inline SVG outline icons */
.icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    display: inline-block;
    transition: var(--transition);
}

.pet-option .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.pet-option.selected .icon {
    color: var(--primary);
}

.pet-badge .icon, .pet-tag .icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    stroke-width: 2.5;
}

.vet-tab-btn .icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    color: var(--text-muted);
}

.vet-tab-btn.active .icon {
    color: var(--primary);
}

#modal-pet-icon .icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

