/* app.css - Premium Mobile App Styling for Regal Puppy Suite */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Brand variables (will be overridden dynamically in PHP) */
    --bg-cream: #FAF8F5;
    --text-dark: #112240;
    --text-muted: #5A6E85;
    --primary: #112240;
    --primary-light: #233554;
    --primary-dark: #0A192F;
    --accent: #D4AF37;
    --accent-light: #F3E5AB;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
    
    /* System variables */
    --status-available: #10B981;
    --status-reserved: #F59E0B;
    --status-sold: #EF4444;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --safe-area-top: 0px;
    --safe-area-bottom: 0px;
}

/* Dark Mode Variables */
.dark {
    --bg-cream: #0B0F19;
    --text-dark: #F1F5F9;
    --text-muted: #94A3B8;
    --white: #1E293B;
    --border-color: #334155;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.4);
}

/* Reset and Core Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: radial-gradient(circle at 10% 20%, rgba(243, 230, 215, 0.5) 0%, rgba(233, 219, 196, 0.3) 90%);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
}

body.dark {
    background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 30, 0.9) 90%);
}

/* Simulator Layout Container */
.simulator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 900px;
    width: 100%;
}

.desktop-controls {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.4s ease forwards;
}

.desktop-controls h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.dark .desktop-controls h2 {
    color: var(--accent);
}

.desktop-controls p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.control-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.btn-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-control:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-light);
}
.btn-control:active {
    transform: translateY(0);
}

.btn-control-secondary {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    box-shadow: none;
}
.btn-control-secondary:hover {
    background-color: rgba(0,0,0,0.03);
    color: var(--primary);
}
.dark .btn-control-secondary:hover {
    background-color: rgba(255,255,255,0.03);
    color: var(--accent);
}

/* Phone Mockup Wrapper (Desktop) */
.phone-mockup {
    position: relative;
    width: 390px;
    height: 844px;
    background-color: var(--bg-cream);
    border-radius: 44px;
    box-shadow: var(--shadow-lg), 0 0 0 12px #1E293B, 0 0 0 13px #334155, 0 20px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* Speaker & Camera Notch for mockup */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background-color: #1E293B;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 1000;
}

/* Real Mobile View overrides */
@media (max-width: 767px) {
    body {
        background: var(--bg-cream);
        padding: 0;
    }
    .simulator-container {
        display: block;
        max-width: 100%;
        width: 100%;
    }
    .desktop-controls {
        display: none;
    }
    .phone-mockup {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    .phone-mockup::after {
        display: none;
    }
}

/* App Header styling */
.app-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 38px 16px 12px 16px; /* Top padding accommodates phone notch */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    position: relative;
}

@media (max-width: 767px) {
    .app-header {
        padding: 16px 16px 12px 16px;
    }
}

.dark .app-header {
    background-color: rgba(30, 41, 59, 0.8);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}
.dark .brand-name {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0,0,0,0.03);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.2s, transform 0.1s;
}
.dark .icon-btn {
    background-color: rgba(255,255,255,0.07);
}
.icon-btn:active {
    transform: scale(0.95);
}

/* App Main Content Area */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 84px; /* Space for navigation bar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Bottom Tab Navigation Bar */
.app-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100;
}

.dark .app-nav {
    background-color: rgba(30, 41, 59, 0.85);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 500;
    gap: 4px;
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.2s;
}

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

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

.nav-item.active svg {
    transform: translateY(-2px) scale(1.08);
}

/* View transitions & state */
.app-view {
    display: none;
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app-view.active {
    display: block;
}

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

/* General Typography & Elements */
h2.view-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-dark);
}
.dark h2.view-title {
    color: var(--accent);
}

p.view-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Hero card styling */
.hero-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    padding: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.hero-card-content {
    position: relative;
    z-index: 2;
    max-width: 75%;
}

.hero-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 14px;
}

.hero-card-img {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 140px;
    height: 140px;
    object-fit: contain;
    z-index: 1;
    opacity: 0.85;
}

/* General Buttons */
.btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    gap: 6px;
}

.btn-mobile-primary {
    background-color: var(--accent);
    color: var(--text-dark);
}
.btn-mobile-primary:active {
    transform: scale(0.96);
    background-color: #e5a93c;
}

.btn-mobile-secondary {
    background-color: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-mobile-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.btn-mobile-danger {
    background-color: var(--status-sold);
    color: white;
}

/* Feature grid items (Home screen) */
.features-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.feature-mini-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-icon-mini {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.feature-mini-card h4 {
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-mini-card p {
    font-size: 0.6rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Cards & Lists styling */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.list-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.see-all-link {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}

/* Puppy Card grid */
.mobile-cards-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.puppy-mobile-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.puppy-mobile-card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-sm);
}

.puppy-mobile-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

.puppy-mobile-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.puppy-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.puppy-mobile-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.puppy-mobile-breed {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.puppy-mobile-details {
    display: flex;
    gap: 8px;
    font-size: 0.72rem;
    margin-top: 4px;
}

.puppy-detail-pill {
    background-color: rgba(0,0,0,0.04);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}
.dark .puppy-detail-pill {
    background-color: rgba(255,255,255,0.08);
}

.puppy-mobile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.puppy-mobile-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}
.dark .puppy-mobile-price {
    color: var(--accent);
}

.status-badge-mobile {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    color: white;
}

.status-available { background-color: var(--status-available); }
.status-reserved { background-color: var(--status-reserved); }
.status-sold { background-color: var(--status-sold); }

/* Parent Mobile Card */
.parent-mobile-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    margin-bottom: 12px;
}

.parent-mobile-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.parent-mobile-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.parent-mobile-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.parent-mobile-role-badge {
    align-self: flex-start;
    font-size: 0.62rem;
    font-weight: 700;
    background-color: var(--accent-light);
    color: #8b6a12;
    padding: 1px 6px;
    border-radius: 4px;
    margin-top: 4px;
    margin-bottom: 6px;
}
.dark .parent-mobile-role-badge {
    background-color: var(--primary-light);
    color: var(--accent);
}

.parent-mobile-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Reviews List */
.testimonial-card-mobile {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.testimonial-rating {
    color: #F59E0B;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.testimonial-author {
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

/* Floating Action Button (FAB) */
.fab-btn {
    position: absolute;
    bottom: 86px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 1.3rem;
    z-index: 90;
    transition: transform 0.2s;
}

.fab-btn:active {
    transform: scale(0.92);
}

.dark .fab-btn {
    background-color: var(--accent);
    color: var(--primary-dark);
}

/* Filter controls on list pages */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none; /* Hide scrollbar for clean look */
}
.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--white);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

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

/* Bottom Sheet (Slide up Modal Panels) */
.bottom-sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-cream);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85%;
    display: flex;
    flex-direction: column;
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    margin: 8px auto 12px auto;
}

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

.bottom-sheet-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.bottom-sheet-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.bottom-sheet-overlay.active {
    display: block;
    opacity: 1;
}

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

/* Gallery Slider / Carousel */
.slider-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
}

.slider-dot.active {
    background-color: white;
    width: 12px;
    border-radius: 3px;
}

/* Details and Specs Layout inside sheets */
.sheet-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.sheet-meta-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    text-align: center;
}

.sheet-meta-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

.sheet-meta-val {
    font-size: 0.85rem;
    font-weight: 600;
}

.sheet-description {
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Form inputs & fields */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-actions button {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.88rem;
}

.input-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.input-checkbox-group input {
    width: 16px;
    height: 16px;
}

/* File upload area styling */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    background-color: var(--white);
    cursor: pointer;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.file-upload-text {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.preview-uploaded-images {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
}

.uploaded-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* Breeder Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.dashboard-stat-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.dashboard-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.dark .dashboard-stat-num {
    color: var(--accent);
}

.dashboard-stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.admin-menu-list {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 20px;
}

.admin-menu-item {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

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

.admin-menu-item:active {
    background-color: rgba(0,0,0,0.03);
}
.dark .admin-menu-item:active {
    background-color: rgba(255,255,255,0.03);
}

.admin-menu-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-menu-icon {
    font-size: 1.1rem;
}

/* Skeleton Loading Screens */
.skeleton-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.dark .skeleton-shimmer {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-card {
    height: 100px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

/* Success/Error Alerts toast */
.toast-msg {
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.78rem;
    font-weight: 500;
    z-index: 1200;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    animation: slideDownToast 0.3s forwards;
}

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

.toast-success {
    background-color: var(--status-available);
}

.toast-error {
    background-color: var(--status-sold);
}

/* Custom Alert/Confirm Modals */
.confirm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.confirm-modal {
    background-color: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 20px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.confirm-modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.confirm-modal-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
}

.confirm-modal-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* PWA Install Banner Style */
.install-banner {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.dark .install-banner {
    background-color: rgba(30, 41, 59, 0.9);
}

.install-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.install-banner-icon {
    font-size: 1.4rem;
}

