/* ============================
   BASE — WhiteWalks 2026
============================ */
:root {
    --primary: #4c2d78; /* your purple */
    --primary-500: #4c2d78;
    --primary-hover: #3b2260;
    --on-primary: #8358BF;
    --brand-primary: #4c2d78;
    --primary-dark: #C1A2EB;
}
body {
    font-family: var(--font-main);
    background: var(--grey-200);
    color: var(--grey-700);
    line-height: 1.5;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.dog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin-top: 2rem;
}
.dog-card {
    text-align: center;
}
.dog-thumb {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    border: 3px solid #6a1b9a;
    background: #fafafa;
}
.dog-thumb-wrapper {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ============================
   BUTTONS — WhiteWalks 2026
============================ */

.btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn:hover {
    background: var(--primary-dark);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #b33a36;
}
/* ============================
   CARDS — WhiteWalks 2026
============================ */

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.card h2 {
    margin-bottom: 12px;
}
/* ============================
   FORMS — WhiteWalks 2026
============================ */

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    font-size: 1rem;
    margin-bottom: 14px;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

textarea {
    min-height: 120px;
    border: 1px solid #ccc;   /* subtle grey line */
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
    border: 1px solid #ccc;   /* subtle grey line */
    background: #fff;         /* keeps the white input background */
    border-radius: 4px;       /* optional: matches modern UI rounding */
    padding: 6px 8px;         /* keeps spacing consistent */
}
/* ============================
   LAYOUT — WhiteWalks 2026
============================ */

/* Dashboard wrapper — universal */
.dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Global card spacing */
.section {
    margin-bottom: 30px;
}

/* Responsive helpers */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
}
/* GLOBAL CENTERING WRAPPER */
.ww-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* -------------------------------------------------------
   GLOBAL HEADER SYSTEM — WhiteWalks 2026
   Applies to: Public, Client, Admin
   ------------------------------------------------------- */

/* ====== TOKENS ====== */
:root {
    --ww-header-height: 64px;
    --ww-header-bg: #ffffff;
    --ww-header-border: #e5e5e5;

    --ww-nav-link-color: #333;
    --ww-nav-link-hover: #000;

    --ww-mobile-menu-bg: #ffffff;
    --ww-mobile-menu-shadow: rgba(0,0,0,0.15);

    --ww-transition: 0.25s ease;
}

/* ====== BASE HEADER WRAPPER ====== */
.ww-header {
    width: 100%;
    background: var(--ww-header-bg);
    border-bottom: 1px solid var(--ww-header-border);
    position: relative;
    z-index: 1000;
}

.ww-header-inner {
    height: var(--ww-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ====== LOGO ====== */
.ww-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* ====== DESKTOP NAV (hidden on mobile) ====== */
.ww-nav {
    display: none;
    gap: 24px;
}

.ww-nav a {
    color: var(--ww-nav-link-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--ww-transition);
}

.ww-nav a:hover {
    color: var(--ww-nav-link-hover);
}

/* ====== MOBILE TOGGLE ====== */
.ww-nav-toggle {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Public hamburger spans */
.ww-nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: var(--ww-transition);
}

/* ====== MOBILE MENU ====== */
.ww-mobile-menu {
    position: fixed;
    top: var(--ww-header-height);
    left: 0;
    width: 100%;
    background: var(--ww-mobile-menu-bg);
    box-shadow: 0 4px 12px var(--ww-mobile-menu-shadow);
    transform: translateY(-120%);
    transition: transform var(--ww-transition);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.ww-mobile-menu a {
    padding: 12px 20px;
    color: var(--ww-nav-link-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.ww-mobile-menu a.logout {
    color: #c00;
}

/* ====== BODY CLASS CONTROLS OPEN STATE ====== */
.admin-nav-open .admin-mobile-menu,
.client-nav-open .client-mobile-menu,
.public-nav-open .public-mobile-menu {
    transform: translateY(0);
}

/* ====== DESKTOP BREAKPOINT ====== */
@media (min-width: 768px) {

    /* Desktop header layout */
    .ww-header-inner {
        height: var(--ww-header-height);
    }

    /* Show desktop nav */
    .ww-nav {
        display: flex;
    }

    /* Hide mobile toggle */
    .ww-nav-toggle {
        display: none;
    }

    /* Hide mobile menu */
    .ww-mobile-menu {
        display: none;
    }
}
/* UNIFIED FOOTER */
.ww-footer {
    background: var(--ww-primary);
    color: var(--ww-white);
    padding: 40px 0;
}

.ww-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ww-footer-sections {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Accordion sections */
.footer-section {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.footer-accordion {
    width: 100%;
    background: none;
    border: none;
    color: var(--ww-white);
    font-size: 1.1rem;
    text-align: left;
    padding: 10px 0;
    cursor: pointer;
}

.footer-panel {
    display: none;
    padding: 10px 0;
}

.footer-panel p,
.footer-panel a {
    margin: 5px 0;
    color: var(--ww-white);
    text-decoration: none;
}

.footer-panel a:hover {
    text-decoration: underline;
}

/* Bottom copyright bar */
.ww-footer-bottom {
    text-align: center;
    padding-top: 20px;
    opacity: 0.8;
    font-size: 0.9rem;
}
/* ============================
   RESET — WhiteWalks 2026
============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}
/* ============================
   TABLES — WhiteWalks 2026
============================ */

.ww-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.ww-table th,
.ww-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--grey-300);
    font-size: 0.95rem;
}

.ww-table th {
    background: var(--grey-200);
    font-weight: 600;
}
/* ============================
   TYPOGRAPHY — WhiteWalks 2026
============================ */

h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--primary);
}

h1 { font-size: 2rem; margin-bottom: 20px; }
h2 { font-size: 1.6rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }

p { margin-bottom: 12px; }

strong { font-weight: 600; }

/* ============================
   UTILITIES — WhiteWalks 2026
============================ */

.status-success {
    background: var(--success);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

.status-warning {
    background: var(--warning);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

.status-danger {
    background: var(--danger);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

.progress-bar-wrapper {
    width: 100%;
    height: 14px;
    background: var(--grey-300);
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--success);
    transition: width 0.4s ease;
}
/* ============================
   VARIABLES — WhiteWalks 2026
============================ */

:root {
    /* Brand */
    --ww-primary: #6a1b9a; /* Purple */
    --ww-primary-light: #8e24aa;
    --ww-primary-dark: #4a148c;

    --ww-text: #333;
    --ww-text-strong: #111;
    --ww-text-muted: #777;

    --ww-white: #ffffff;


    /* Greys */
    --grey-100: #fafafa;
    --grey-200: #f5f5f5;
    --grey-300: #e5e5e5;
    --grey-400: #ccc;
    --grey-500: #777;
    --grey-600: #444;
    --grey-700: #333;

    /* Status */
    --success: #4CAF50;
    --warning: #f0ad4e;
    --danger: #d9534f;

    /* Layout */
    --radius: 10px;
    --shadow: 0 2px 10px rgba(0,0,0,0.05);

    /* Typography */
    --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.spacer-40 { 
    height: 40px; 
}
@media (max-width: 768px) {
    .dashboard-wrapper {
        padding: 0 16px;
        margin-top: 20px;
    }
}
/* ============================
   SPACING UTILITIES — WhiteWalks 2026
============================ */

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }