Warning: Permanently added '208.109.34.137' (ED25519) to the list of known hosts.
Warning: Permanently added '208.109.34.137' (ED25519) to the list of known hosts.
/* ====================================================================
   Food4Paws — Glassmorphism Stylesheet
   Pink accent · Light theme only · Frosted glass panels
   ==================================================================== */

/* --- Theme Variables (Light Only) --- */
:root {
    --bg: #f8f6fa;
    --bg-gradient: radial-gradient(ellipse at top, #fdf0f5 0%, #f8f6fa 60%);
    --surface: rgba(255, 255, 255, 0.65);
    --surface2: rgba(255, 240, 245, 0.5);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(236, 72, 153, 0.25);
    --text: #2d1b2e;
    --text-muted: #6b5c6f;
    --primary: #ec4899;
    --primary-hover: #db2777;
    --primary-glow: rgba(236, 72, 153, 0.15);
    --accent: #f472b6;
    --success: #22c55e;
    --danger: #ef4444;
    --shadow: 0 8px 32px rgba(236, 72, 153, 0.08);
    --shadow-hover: 0 12px 40px rgba(236, 72, 153, 0.12);
    --blur: blur(20px);
    --nav-bg: rgba(255, 255, 255, 0.75);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    background: var(--bg);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }

img { max-width: 100%; height: auto; display: block; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

/* --- Glass Panel (core component) --- */
.glass {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s, border-color 0.3s;
}
.glass:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}
.glass-static { background: var(--surface); backdrop-filter: var(--blur); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }

/* --- Navigation --- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; padding: 0.5rem 1rem; border-radius: 10px; transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-glow); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }

/* Mobile menu */
.nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.25s; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 4px 15px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); color: #fff; }
.btn-secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--border); backdrop-filter: var(--blur); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* --- Hero --- */
.hero {
    position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; padding: 4rem 1.5rem;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-glow) 0%, transparent 50%, var(--primary-glow) 100%);
    opacity: 0.5; z-index: 0;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, var(--primary-glow), transparent 60%),
                radial-gradient(circle at 70% 30%, var(--primary-glow), transparent 50%);
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Glass Card (for programs, events, posts) --- */
.card {
    padding: 2rem; border-radius: 20px;
    background: var(--surface); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-hover); }
.card-image { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; margin-bottom: 1.5rem; background: var(--surface2); }
.card-image-placeholder { width: 100%; height: 200px; border-radius: 14px; margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--primary-glow), var(--surface2)); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 3rem; font-weight: 800; }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); margin-bottom: 1rem; }
.card-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Donate Section --- */
.donate-section { text-align: center; padding: 4rem 2rem; }
.donate-section .glass { padding: 3rem; }
.donate-amounts { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.donate-amount {
    background: var(--surface2); border: 2px solid var(--border); border-radius: 14px;
    padding: 1rem 1.5rem; font-size: 1.25rem; font-weight: 700; color: var(--text);
    cursor: pointer; transition: all 0.25s; min-width: 80px;
}
.donate-amount:hover, .donate-amount.selected { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }

/* --- Forms --- */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); font-size: 0.95rem; }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
    background: var(--surface2); backdrop-filter: var(--blur);
    border: 1px solid var(--border); color: var(--text); font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 0.3rem; }
.form-hint { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.3rem; }

/* --- Flash Messages --- */
.flash {
    position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
    padding: 1rem 2rem; border-radius: 14px; z-index: 200;
    animation: slideDown 0.4s ease, fadeOut 0.5s ease 4.5s forwards;
    backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    box-shadow: var(--shadow); font-weight: 600;
}
.flash-success { background: rgba(34, 197, 94, 0.15); border: 1px solid var(--success); color: var(--success); }
.flash-error { background: rgba(239, 68, 68, 0.15); border: 1px solid var(--danger); color: var(--danger); }
@keyframes slideDown { from { opacity: 0; transform: translate(-50%, -20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fadeOut { to { opacity: 0; transform: translate(-50%, -20px); } }

/* --- Footer --- */
.footer { margin-top: 4rem; padding: 3rem 0 2rem; border-top: 1px solid var(--border); background: var(--surface); backdrop-filter: var(--blur); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; text-align: center; } }
.footer h4 { color: var(--primary); margin-bottom: 1rem; }
.footer a { color: var(--text-muted); display: block; margin-bottom: 0.5rem; }
.footer a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }

/* --- Admin Panel --- */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; gap: 0; }
@media (max-width: 768px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-sidebar {
    background: var(--surface); backdrop-filter: var(--blur); border-right: 1px solid var(--border);
    padding: 1.5rem 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
@media (max-width: 768px) { .admin-sidebar { display: none; } }
.admin-sidebar h3 { padding: 0 1.5rem; margin-bottom: 1.5rem; color: var(--primary); font-size: 1.3rem; }
.admin-nav { list-style: none; }
.admin-nav a { display: block; padding: 0.75rem 1.5rem; color: var(--text-muted); font-weight: 500; transition: all 0.2s; border-left: 3px solid transparent; }
.admin-nav a:hover, .admin-nav a.active { color: var(--primary); background: var(--primary-glow); border-left-color: var(--primary); }
.admin-content { padding: 2rem; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { color: var(--text-muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table tr:hover td { background: var(--surface2); }
.admin-actions { display: flex; gap: 0.5rem; }

/* --- Summary strip (not stat cards) --- */
.summary-strip { display: flex; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 2rem; }
.summary-item { flex: 1; padding: 1.5rem; text-align: center; border-right: 1px solid var(--border); background: var(--surface); backdrop-filter: var(--blur); }
.summary-item:last-child { border-right: none; }
.summary-item .num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.summary-item .label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 768px) { .summary-strip { flex-direction: column; } .summary-item { border-right: none; border-bottom: 1px solid var(--border); } }

/* --- Timeline (events) --- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.5rem; top: 0.5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); }
.timeline-date { font-weight: 700; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Responsive nav --- */
@media (max-width: 768px) {
    .nav-hamburger { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(255, 240, 245, 1); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); padding: 1rem; gap: 0.25rem; border-bottom: 1px solid var(--border); box-shadow: 0 12px 32px rgba(236, 72, 153, 0.12); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.75rem 1rem; }
}

/* --- Fade-in animation --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Login page --- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.login-card { width: 100%; max-width: 400px; padding: 3rem; }
.login-card h2 { text-align: center; margin-bottom: 0.5rem; }
.login-card .login-sub { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }

/* --- Empty state --- */
.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.w-full { width: 100%; }
