/* PetAlert - Light, Clean & Fun Design */

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --warm-orange: #ffa726;
    --soft-purple: #ab47bc;
    --success-color: #26d0ce;
    --light-pink: #ffe0e6;
    --light-blue: #e6f7ff;
    --light-green: #f0fff4;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-radius: 20px;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: white;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
    background: #f5f5f5 !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1050;
}

/* Ensure dropdown menus appear above all content */
.navbar .dropdown-menu {
    z-index: 1060 !important;
    position: absolute !important;
}

.navbar .dropdown {
    position: relative;
    z-index: 1060;
}

.navbar .container {
    max-width: 70%;
}

.navbar-brand {
    font-weight: 800 !important;
    font-size: 1.8rem !important;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0 5px;
    padding: 8px 16px !important;
}

.navbar-nav .nav-link:hover {
    background: var(--light-gray) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: 15px;
    padding: 10px;
    z-index: 1050;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    background: white;
    padding: 10px 0 60px 0;
    position: relative;
}

.hero-pets {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-top: 100px;
    position: relative;
    z-index: 1;
}

.hero-pet-img {
    width: 384px;
    height: 384px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.hero-pet-img:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.hero-pet-middle {
    width: 360px !important;
    height: 360px !important;
}

.hero-pets-inline {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.hero-pet-img-direct {
    width: 384px;
    height: 384px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-pet-img-direct:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.hero-pet-middle-direct {
    width: 360px !important;
    height: 360px !important;
}

@media (max-width: 1200px) {
    .hero-pet-img-direct {
        width: 300px;
        height: 300px;
    }
    
    .hero-pet-middle-direct {
        width: 280px !important;
        height: 280px !important;
    }
    
    .hero-pets-inline {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero-pets-inline {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-pet-img-direct {
        width: 250px;
        height: 250px;
        display: none; /* Hide first and third images on mobile */
    }
    
    .hero-pet-middle-direct {
        width: 250px !important;
        height: 250px !important;
        display: block !important; /* Keep middle image visible on mobile */
    }
}

.hero-left-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding-top: 40px;
}

.hero-icon-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-side-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.hero-side-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

.hero-title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.hero-title-collar {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-right: 40px;
}

.hero-title-collar:hover {
    transform: scale(1.05);
}

.hero-tagline-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.hero-tagline-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-right: 40px;
}

.hero-tagline-icon:hover {
    transform: scale(1.05);
}

.hero-title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #000000;
    margin: 0;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
}

.hero-title-collar-right {
    position: absolute;
    left: -230px;
    top: 50%;
    transform: translateY(-50%);
    width: 101px;
    height: 101px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.hero-title-collar-right:hover {
    transform: translateY(-50%) scale(1.1);
}

.hero-title-location {
    position: absolute;
    left: -180px;
    top: 50%;
    transform: translateY(50px);
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.hero-title-location:hover {
    transform: translateY(50px) scale(1.1);
}

.hero-main-subtitle {
    font-size: 1.2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #888;
    margin-bottom: 0.3rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: -0.01em;
}

.hero-tagline-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-main-tagline {
    font-size: 1.2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #888;
    margin: 0;
    font-weight: 300;
    text-align: center;
    letter-spacing: -0.01em;
}

.hero-tagline-paw {
    position: absolute;
    right: -320px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.hero-tagline-paw:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Why Choose PetAlert Section */
.why-choose-section {
    background: white;
    padding: 35px 2rem 80px 2rem;
    margin: 0;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-subtitle {
    font-size: 1.1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #444;
    text-align: center;
    line-height: 1.5;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    height: 60px;
}

.feature-item:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-check {
    color: #28a745;
    font-size: 1rem;
    flex-shrink: 0;
}

.why-dog-img {
    width: 182px;
    height: 234px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-dog-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-dog-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .feature-item {
        text-align: center;
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
        height: auto;
        min-height: 45px;
        flex-wrap: wrap;
    }
    
    .feature-item strong {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .feature-check {
        font-size: 0.85rem;
    }
    
    .why-title {
        font-size: 2rem;
    }
    
    .why-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile button adjustments for tablets */
    .btn-lg {
        font-size: 1rem !important;
        padding: 14px 24px !important;
    }
}

@media (max-width: 576px) {
    .features-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .feature-item {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
        height: auto;
        min-height: 40px;
        flex-wrap: wrap;
        text-align: center;
    }
    
    .feature-item strong {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .feature-check {
        font-size: 0.8rem;
    }
    
    .why-choose-section {
        padding: 35px 1rem 80px 1rem;
    }
    
    /* Fix unclaimed QR page button text cutoff on mobile */
    .btn-lg {
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.3 !important;
    }
    
    .btn-lg i {
        font-size: 0.8rem !important;
        margin-right: 8px !important;
    }
    
    /* Adjust button container padding on mobile */
    .text-center .btn-lg {
        max-width: 100% !important;
        word-wrap: break-word !important;
    }
}

/* How Does This Work Section */
.how-it-works-section {
    background: white;
    padding: 20px 2rem 40px 2rem;
    margin: 0;
}

.how-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.how-step {
    padding: 1rem 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-icon-wrapper {
    width: 160px;
    height: 160px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.how-icon-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.how-icon {
    width: 80px;
    height: 80px;
}

/* Mobile Carousel Styles */
.how-mobile-carousel {
    display: none;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.swipe-instructions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto 20px auto;
    max-width: 280px;
    transition: opacity 0.3s ease;
}

.swipe-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.swipe-arrow {
    color: var(--primary-color);
    font-size: 1rem;
    animation: pulse 2s infinite;
}

.left-arrow {
    animation: slideLeft 2s infinite;
}

.right-arrow {
    animation: slideRight 2s infinite;
}

@keyframes slideLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    width: 600%; /* 6 slides * 100% */
}

.carousel-slide {
    flex: 0 0 16.666%; /* 100% / 6 slides */
    padding: 0 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
}

/* Desktop Layout */
.how-desktop-layout {
    display: block;
}

@media (max-width: 768px) {
    .how-desktop-layout {
        display: none;
    }
    
    .how-mobile-carousel {
        display: block;
    }
    
    .how-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .carousel-slide .how-step {
        padding: 1.5rem 0.5rem;
    }
    
    .carousel-slide .how-icon-img-direct {
        width: 240px;
        height: 240px;
        margin-bottom: 1.5rem;
    }
    
    .carousel-slide .how-step-title {
        font-size: 1rem;
        line-height: 1.3;
        margin: 0;
        padding: 0 0.5rem;
    }
}

.how-icon-img {
    width: 135px;
    height: 135px;
    object-fit: contain;
}

.how-icon-img-direct {
    width: 240px;
    height: 240px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.how-icon-img-direct:hover {
    transform: translateY(-5px);
}

.how-icon-direct {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.how-icon-direct:hover {
    transform: translateY(-5px);
}

.how-step-title {
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    max-width: 200px;
}

@media (max-width: 1400px) {
    .how-icon-img-direct {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1200px) {
    .how-icon-img-direct {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 991px) {
    .how-title {
        font-size: 2rem;
    }
    
    .how-step {
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .how-icon-img-direct {
        width: 160px;
        height: 160px;
    }
    
    .how-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .how-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .how-icon-img-direct {
        width: 140px;
        height: 140px;
    }
}

/* What Do Pet Owners Think Section */
.testimonials-section {
    background: white;
    padding: 25px 2rem 60px 2rem;
    margin: 0;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-avatar i {
    font-size: 1.5rem;
    color: #6c757d;
}

.testimonial-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 991px) {
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

/* Admin Layout Styles - Inspired by Modern SaaS Dashboards */
.admin-layout {
    background: #fafbfc;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.admin-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sidebar Styles */
.admin-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e6e8eb;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 0 24px 32px 24px;
    border-bottom: 1px solid #f0f1f3;
    margin-bottom: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.01em;
}

.sidebar-nav {
    flex: 1;
    padding: 0 16px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background: #f9fafb;
    color: #374151;
    text-decoration: none;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    color: #dc3545;
    font-weight: 600;
    border-left: 3px solid #dc3545;
}

.nav-item svg {
    margin-right: 12px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 0 16px;
    border-top: 1px solid #f0f1f3;
    padding-top: 16px;
}

/* Main Content Area */
.admin-main {
    flex: 1;
    margin-left: 260px;
    background: #fafbfc;
    overflow-y: auto;
    height: 100vh;
}

.flash-messages {
    padding: 16px 32px 0 32px;
}

/* Dashboard Container */
.dashboard-container {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e6e8eb;
}

.header-main {
    flex: 1;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

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

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container svg {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    z-index: 1;
}

.search-input {
    width: 320px;
    padding: 8px 12px 8px 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

.filter-dropdown {
    position: relative;
}

.filter-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    color: #374151;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

/* Management Cards */
.management-card {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.management-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.card-icon.qr {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
}

.card-icon.pets {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
}

.card-icon.analytics {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.card-icon.users {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.card-icon.notifications {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.card-actions {
    display: flex;
    gap: 4px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.card-content {
    padding: 0 24px 24px 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.card-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.card-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.header-content {
    flex: 1;
}

.dashboard-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: #86868b;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

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

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34c759;
}

.status-dot.active {
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #34c759;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #f5f5f7;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #e5e5e7;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-icon.users {
    background: #dc3545;
    color: white;
}

.stat-icon.qr {
    background: #dc3545;
    color: white;
}

.stat-icon.claimed {
    background: #dc3545;
    color: white;
}

.stat-icon.pets {
    background: #dc3545;
    color: white;
}

.stat-trend {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-trend.positive {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.stat-trend.neutral {
    background: rgba(142, 142, 147, 0.1);
    color: #8e8e93;
}

.stat-content {
    padding-top: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: #86868b;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.01em;
}

/* Actions Section */
.actions-section {
    margin-bottom: 3rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.action-button {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: white;
    border: 1px solid #f5f5f7;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #e5e5e7;
    text-decoration: none;
    color: inherit;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.action-button.primary .action-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.action-button.success .action-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.action-button.info .action-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

.action-button.secondary .action-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.action-subtitle {
    font-size: 0.875rem;
    color: #86868b;
    margin: 0;
}

/* Activity Section */
.activity-section {
    margin-bottom: 3rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: white;
    border: 1px solid #f5f5f7;
    border-radius: 16px;
    overflow: hidden;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f5f5f7;
}

.activity-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.activity-count {
    background: #f5f5f7;
    color: #86868b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.activity-list {
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f5f5f7;
    transition: background-color 0.2s ease;
}

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

.activity-item:hover {
    background: #fafafa;
}

/* User Activity */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.avatar-text {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.925rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.125rem;
}

.user-email {
    font-size: 0.8rem;
    color: #86868b;
    margin-bottom: 0.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-date {
    font-size: 0.75rem;
    color: #8e8e93;
}

.user-badge.admin {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* QR Activity */
.qr-status {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.qr-status.claimed {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.15) 0%, rgba(52, 199, 89, 0.05) 100%);
    color: #059669;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.qr-status.available {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #8e8e93;
}

.qr-info {
    flex: 1;
    min-width: 0;
}

.qr-code {
    font-size: 0.925rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.125rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.qr-owner {
    font-size: 0.8rem;
    color: #86868b;
    margin-bottom: 0.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-date {
    font-size: 0.75rem;
    color: #8e8e93;
}

.qr-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.qr-badge.claimed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 700;
}

.qr-badge.available {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 700;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #8e8e93;
}

.empty-text {
    font-size: 0.925rem;
    color: #86868b;
    font-weight: 500;
}

/* Overview Section */
.overview-section {
    margin-bottom: 2rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.overview-metric {
    background: white;
    border: 1px solid #f5f5f7;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.overview-metric:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.875rem;
    color: #86868b;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e6e8eb;
        padding: 16px 0;
        max-height: none;
    }
    
    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 0 16px;
        gap: 8px;
    }
    
    /* Hide pet profile buttons on mobile navigation */
    .sidebar-nav .nav-item:nth-child(n+4) {
        display: none;
    }
    
    .nav-item {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 8px 12px;
        margin-bottom: 0;
        flex-direction: column;
        font-size: 12px;
        text-align: center;
        min-width: 70px;
    }
    
    .nav-item svg {
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .nav-item span {
        display: block;
    }
    
    .sidebar-brand {
        padding: 0 16px 16px 16px;
        margin-bottom: 16px;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
        height: auto;
        flex: 1;
    }
    
    .dashboard-container {
        padding: 16px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }
    
    .header-main {
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 8px;
    }
    
    .search-container {
        display: none;
    }
    
    .search-input {
        width: 100%;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .management-card {
        border-radius: 8px;
    }
    
    .card-header {
        padding: 16px 20px 12px 20px;
    }
    
    .card-content {
        padding: 0 20px 20px 20px;
    }
    
    .stats-overview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
        margin-bottom: 24px;
    }
    
    /* Fix button text overflow on mobile */
    .btn, .modern-btn {
        font-size: 14px;
        padding: 12px 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        justify-content: center;
        text-align: center;
    }
    
    /* Specific fix for submit buttons */
    input[type="submit"], button[type="submit"] {
        font-size: 13px;
        padding: 10px 12px;
        min-width: auto;
        width: 100%;
    }
    
    /* Hide QR code elements on mobile dashboard */
    .qr-status {
        display: none;
    }
    
    .action-btn.qr {
        display: none;
    }
    
    /* Fix action button display on mobile */
    .pet-actions {
        padding: 12px 16px 16px 16px;
        gap: 8px;
        display: flex !important;
        flex-direction: row !important;
        border-top: 1px solid #f3f4f6;
    }
    
    .action-btn {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 8px !important;
        font-size: 12px !important;
        min-height: 40px !important;
        gap: 4px !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
        text-decoration: none !important;
    }
    
    .action-btn.view,
    .action-btn.edit {
        background: #dc3545 !important;
        color: white !important;
    }
    
    .action-btn.view:hover,
    .action-btn.edit:hover {
        background: #c82333 !important;
        color: white !important;
    }
}

/* Admin Pet Management Styles */
.pet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.pet-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.user-email {
    font-size: 14px;
    color: #6b7280;
}

.owner-info {
    display: flex;
    flex-direction: column;
}

.owner-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

.owner-email {
    font-size: 14px;
    color: #6b7280;
}

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

.status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-badge.inactive {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}

.qr-code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 4px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-table th {
    background: #f9fafb;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.admin-table tr:hover {
    background: #f9fafb;
}

.table-container {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.management-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-icon.pets {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

/* Divider Styles */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* User Dashboard Styles */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.metric-icon.pets {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
}

.metric-icon.qr {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
}

.metric-icon.notifications {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.metric-icon.activity {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.metric-content {
    text-align: center;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
}

.modern-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    color: white;
}

/* Content Sections */
.content-section {
    margin-bottom: 32px;
}

/* Notification Styles */
.notification-list {
    background: white;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    overflow: hidden;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

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

.notification-item:hover {
    background: #fafbfc;
}

.notification-item.unread {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    color: #6b7280;
}

.notification-item.unread .notification-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-meta {
    font-size: 12px;
    color: #9ca3af;
}

.notification-actions {
    flex-shrink: 0;
}

.btn-mark-read {
    padding: 6px 12px;
    background: #dc3545;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-mark-read:hover {
    background: #c82333;
    text-decoration: none;
    color: white;
}

/* Pet Cards Grid */
.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.pet-card {
    background: white;
    border: 1px solid #e6e8eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.pet-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.pet-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-photo.placeholder {
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.pet-info {
    padding: 20px 24px 16px 24px;
}

.pet-name {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.pet-details {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.qr-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.qr-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.qr-status.inactive {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}

.pet-actions {
    display: flex;
    padding: 16px 24px 20px 24px;
    gap: 8px;
    border-top: 1px solid #f3f4f6;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 44px;
    white-space: nowrap;
}

.action-btn.view {
    background: #dc3545;
    color: white;
    text-align: center;
}

.action-btn.view:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

.action-btn.edit {
    background: #dc3545;
    color: white;
    text-align: center;
}

.action-btn.edit:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

.action-btn.qr {
    background: #fee;
    color: #dc3545;
}

.action-btn.qr:hover {
    background: #fdd;
    color: #c82333;
    text-decoration: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border: 1px solid #e6e8eb;
    border-radius: 16px;
}

.empty-icon {
    margin-bottom: 24px;
    color: #d1d5db;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.empty-description {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* Responsive Design for User Dashboard */
@media (max-width: 768px) {
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .pets-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pet-actions {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: flex-start;
    }
    
    .notification-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .notification-icon {
        margin-right: 0;
        align-self: flex-start;
    }
}

.btn-get-started {
    background: #e53e3e;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.btn-get-started:hover {
    background: #c53030;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
    text-decoration: none;
}

.btn-red {
    background: #e53e3e !important;
    border: none !important;
    color: white !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
}

.btn-red:hover {
    background: #c53030 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
    text-decoration: none !important;
}

.btn-red:visited,
.btn-red:link,
.btn-red:active {
    color: white !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-icon {
    font-size: 8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.3;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Buttons */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 14px 32px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    background: white;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--warm-orange));
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--soft-purple), var(--primary-color));
}

.feature-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pet Cards with Photo Focus */
.pet-card {
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    background: white;
    height: 100%;
}

.pet-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.pet-photo, .pet-photo-placeholder {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: transform 0.3s ease;
}

.pet-card:hover .pet-photo {
    transform: scale(1.05);
}

.pet-photo-placeholder {
    background: linear-gradient(135deg, var(--light-pink), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
}

.pet-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.pet-card .card-body {
    padding: 1.5rem;
}

.pet-card .card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.pet-card .text-muted {
    color: var(--text-light) !important;
}

/* Step Numbers */
.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-light);
}

/* Dashboard Stats Cards */
.stats-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-card p {
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* Forms */
.form-control {
    border: 2px solid var(--medium-gray);
    border-radius: 15px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    background: white;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-select {
    border: 2px solid var(--medium-gray);
    border-radius: 15px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Alerts */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, var(--light-green), #e8f5e8);
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-info {
    background: linear-gradient(135deg, var(--light-blue), #e6f3ff);
    color: #0c5460;
    border-left: 4px solid var(--accent-color);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-left: 4px solid var(--warm-orange);
}

.alert-danger {
    background: linear-gradient(135deg, var(--light-pink), #ffe6e6);
    color: #721c24;
    border-left: 4px solid var(--primary-color);
}

/* Notifications */
.notification-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--accent-color);
    transition: all 0.3s ease;
}

.notification-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.notification-item.unread {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, var(--light-green), #f8ffff);
}

/* QR Code Display */
.qr-display {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    margin: 2rem 0;
}

.qr-display img {
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    max-width: 100%;
    height: auto;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '🎾';
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 4rem;
    opacity: 0.2;
    animation: float 10s ease-in-out infinite;
}

.profile-header::after {
    content: '🦴';
    position: absolute;
    bottom: 20%;
    left: 10%;
    font-size: 3rem;
    opacity: 0.2;
    animation: float 12s ease-in-out infinite reverse;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Badges */
.badge {
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge.bg-success {
    background: linear-gradient(45deg, var(--success-color), #26d0ce) !important;
}

.badge.bg-warning {
    background: linear-gradient(45deg, var(--warm-orange), #ffb74d) !important;
}

.badge.bg-info {
    background: linear-gradient(45deg, var(--accent-color), #64b5f6) !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

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

/* Fun pet-themed decorations */
.pet-decoration {
    position: absolute;
    opacity: 0.1;
    font-size: 2rem;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .btn-lg {
        padding: 14px 28px;
    }
    
    .feature-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .hero-section {
        padding: 80px 0 60px 0;
    }
    
    .hero-icon {
        font-size: 5rem;
    }
    
    .pet-photo, .pet-photo-placeholder {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .stats-card {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Print styles for QR codes */
@media print {
    body * {
        visibility: hidden;
    }
    
    .qr-code-print, .qr-code-print * {
        visibility: visible;
    }
    
    .qr-code-print {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        text-align: center;
    }
}

/* Custom utility classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-light-pink {
    background: var(--light-pink) !important;
}

.bg-light-blue {
    background: var(--light-blue) !important;
}

.bg-light-green {
    background: var(--light-green) !important;
}

.rounded-xl {
    border-radius: var(--border-radius) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-light) !important;
}

.shadow-custom-medium {
    box-shadow: var(--shadow-medium) !important;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff5252, #26a69a);
}