/* Modern UI Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
}




.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    padding: 12px 30px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

nav a.nav-active {
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
}

nav a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateY(-2px);
}

.nav-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea !important;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.user-menu {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px;
}

.btn-login {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px;
}

/* Dropdown */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    right: 0;
    border-radius: 12px;
    margin-top: 8px;
    overflow: hidden;
    z-index: 1001;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    display: block;
    border-radius: 0;
    margin: 0;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: none;
    color: #667eea;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
}

.floating-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 2em;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 60%; left: 60%; animation-delay: 1s; }
.floating-icons i:nth-child(3) { top: 80%; left: 30%; animation-delay: 2s; }
.floating-icons i:nth-child(4) { top: 30%; left: 70%; animation-delay: 3s; }
.floating-icons i:nth-child(5) { top: 50%; left: 40%; animation-delay: 4s; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: white !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white !important;
}

.btn-secondary {
    background: white;
    color: #667eea !important;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white !important;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: white !important;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #667eea !important;
}

/* Search Hero */
.search-hero {
    background: transparent;
    color: #333;
    padding: 24px 0;
    border-radius: 0;
    margin-bottom: 20px;
    position: relative;
    overflow: visible;
    box-shadow: none;
}

.search-hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.search-hero h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.search-hero p {
    font-size: 1em;
    color: #666;
    margin-bottom: 0;
}

.search-hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
}

.floating-search-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-search-icons i {
    position: absolute;
    font-size: 2.5em;
    opacity: 0.2;
    color: #667eea;
    animation: float 6s ease-in-out infinite;
}

.floating-search-icons i:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.floating-search-icons i:nth-child(2) { top: 60%; left: 60%; animation-delay: 1s; }
.floating-search-icons i:nth-child(3) { top: 80%; left: 30%; animation-delay: 2s; }

@media (max-width: 768px) {
    .search-hero {
        padding: 18px 0;
        margin-bottom: 16px;
    }

    .search-hero h1 {
        font-size: 1.8em;
    }

    .search-hero-visual {
        display: none;
    }
}

/* Enhanced Search Section */
.search-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.search-section .search-form {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.search-section .search-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-section .search-input-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-section .search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-section .search-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-section .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 18px;
}

.search-section .search-select {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 16px;
    outline: none;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.search-section .search-select:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-section .search-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.search-section .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.search-section h2 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Search Results Header */
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.search-results-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-results-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
}

.search-results-text {
    color: #666;
    font-size: 1em;
}

.search-results-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sort-dropdown {
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    font-size: 0.9em;
    cursor: pointer;
    outline: none;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    background: white;
    cursor: pointer;
    border-radius: 5px;
}

.view-toggle button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Items Container */
.items-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.no-results i {
    font-size: 3em;
    color: #ccc;
    margin-bottom: 20px;
}

/* Content Section */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9em;
}

/* Features Section */
.features {
    background: white;
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Admin Specific Overrides */
body.admin-page .hero {
    padding: 60px 20px !important;
}

body.admin-page .hero-content {
    max-width: 800px !important;
}

body.admin-page .hero h1 {
    font-size: 2.5em !important;
    margin-bottom: 15px !important;
}

body.admin-page .hero p {
    font-size: 1.1em !important;
    margin-bottom: 30px !important;
}

body.admin-page .hero-actions {
    gap: 15px !important;
}

body.admin-page .hero-image {
    right: 5% !important;
    width: 250px !important;
    height: 250px !important;
}

body.admin-page .features {
    padding: 60px 20px !important;
}

body.admin-page .features h2 {
    font-size: 2.2em !important;
    margin-bottom: 40px !important;
}

body.admin-page .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

body.admin-page .feature-card {
    padding: 25px !important;
    border-radius: 16px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

body.admin-page .feature-icon {
    width: 70px !important;
    height: 70px !important;
    font-size: 1.8em !important;
    flex-shrink: 0 !important;
}

body.admin-page .feature-card h3 {
    font-size: 1.3em !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
}

body.admin-page .feature-card p {
    font-size: 0.95em !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Welcome Section */
.welcome-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.welcome-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-card h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.welcome-card p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.welcome-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome-actions .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1em;
}

/* Recent Items */
.recent-items {
    background: white;
    padding: 80px 0;
}

.recent-items h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.items-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.preview-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    background: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.preview-image {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-content {
    padding: 20px;
}

.preview-content h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.preview-content p {
    color: #666;
    margin-bottom: 10px;
    font-size: 1em;
}

.preview-content small {
    color: #999;
    font-size: 0.9em;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section p i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .features {
        padding: 40px 20px;
    }
    
    .features h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }
    
    .feature-card h3 {
        font-size: 1.1em;
    }
    
    .feature-card p {
        font-size: 0.9em;
    }
    
    .welcome-section {
        padding: 30px 20px;
    }
    
    .welcome-card {
        padding: 30px 20px;
    }
    
    .welcome-card h2 {
        font-size: 1.6em;
    }
    
    .welcome-card p {
        font-size: 1em;
    }
    
    .welcome-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .welcome-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features-grid,
    .stats-grid,
    .items-preview {
        grid-template-columns: 1fr;
    }
    
    nav {
        padding: 10px 20px;
    }
    
    .nav-left {
        gap: 16px;
    }
    
    .nav-right {
        gap: 8px;
    }
    
    .nav-brand {
        font-size: 1.2em;
        margin-right: 15px;
    }
    
    nav a {
        margin-right: 10px;
        font-size: 0.9em;
    }

    .search-section {
        padding: 24px;
    }

    .search-section .search-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .search-section .search-input-wrapper {
        min-width: 0;
        width: 100%;
    }

    .search-section .search-select {
        min-width: 0;
        width: 100%;
    }

    .search-section .search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Card */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    background: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.card-image {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge */
.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.badge.red { 
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}
.badge.green { 
    background: linear-gradient(135deg, #51cf66, #40c057);
}
.badge.blue { 
    background: linear-gradient(135deg, #339af0, #228be6);
}

/* Card Content */
.card-content {
    padding: 16px;
}
.card h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}
.card p {
    margin: 4px 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}
.card small {
    color: #999;
    font-size: 0.75rem;
    display: block;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}
.card-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.8rem;
    transition: transform 0.2s;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn-confirm {
    background: #6c5ce7;
    color: white;
    box-shadow: 0 10px 22px rgba(108,92,231,0.20);
}
.btn-confirm:hover {
    background: #5b4bd6;
    box-shadow: 0 14px 28px rgba(108,92,231,0.26);
}
.btn-confirm:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(108,92,231,0.20);
}
.modal-actions .btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.10);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.modal-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}
.modal-actions .btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(139,92,246,0.22);
}
.btn-edit {
    background: #0984e3;
    color: white;
}
.btn-delete {
    background: #dc3545;
    color: white;
}
.btn-post {
    background: #2ecc71;
    color: white;
}

/* Alerts */
.alert {
    padding: 12px;
    margin: 15px 0;
    border-radius: 5px;
    font-weight: bold;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Content */
.content {
    padding: 20px;
}
.section {
    margin: 30px 0;
}
.section h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}
.add-btn {
    background: #2ecc71;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    transition: background 0.2s;
}
.add-btn:hover {
    background: #27ae60;
}

/* Form Styles */
form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 50px auto;
}

.search-section form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    margin: 0;
}

.search-section input[type="text"],
.search-section select,
.search-section textarea {
    margin-bottom: 0;
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
input[type="text"],
input[type="date"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}
textarea {
    height: 100px;
    resize: vertical;
}
input[type="radio"] {
    margin-right: 8px;
}
.radio-group {
    margin-bottom: 15px;
}
.radio-group label {
    display: inline;
    margin-right: 15px;
    font-weight: normal;
}
input[type="file"] {
    margin-bottom: 15px;
}
.current-photo {
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.current-photo img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 4px;
}

/* Search Form */
.admin-search-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.admin-search-form input[type="text"] {
    width: 70%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.admin-search-form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 10px;
    font-size: 16px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #000;
}
.modal h2 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}
.modal p {
    margin: 10px 0;
    line-height: 1.5;
}
.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
/* Prevent global form card styling from affecting forms inside modal */
.modal-content form,
.modal-actions form {
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    width: auto;
    display: inline;
}
.btn-message {
    background: #25d366;
    color: white;
}

/* Admin Stats */
.stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}
.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    text-align: center;
    min-width: 150px;
}
.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #2ecc71;
}

/* Modern Modal Item Detail Styles */
.modal-item-detail {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.item-title-section {
    flex: 1;
}

.item-title {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: white !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-lost {
    background: #ef4444;
    color: #fff;
    border: 1px solid #dc2626;
}

.status-found {
    background: #22c55e;
    color: #fff;
    border: 1px solid #16a34a;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
    margin-left: 16px;
}

.close-modal:hover {
    opacity: 1;
}

.modal-body {
    display: flex;
    max-height: 60vh;
    overflow-y: auto;
}

.item-image-section {
    flex: 0 0 40%;
    padding: 24px;
    border-right: 1px solid #e5e7eb;
}

.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.item-image:hover {
    transform: scale(1.05);
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
}

.no-image-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
}

.no-image-placeholder span {
    font-size: 14px;
}

.item-info-section {
    flex: 1;
    padding: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-label i {
    font-size: 14px;
}

.info-value {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
}

.description-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.description-text {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    white-space: pre-wrap;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-item-detail .btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-item-detail .btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.modal-item-detail .btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-item-detail .btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.modal-item-detail .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.modal-item-detail .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.modal-item-detail .btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.modal-item-detail .btn-success:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.modal-item-detail .btn-warning {
    background: #FFD700 !important;
    color: #000000 !important;
    border: 2px solid #FFA500 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
}

.modal-item-detail .btn-warning:hover {
    background: #FFA500 !important;
    border-color: #FF8C00 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5) !important;
}

.modal-item-detail .btn-confirm {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.modal-item-detail .btn-confirm:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.modal-item-detail .btn-message {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.modal-item-detail .btn-message:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-item-detail {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .item-image-section {
        flex: none;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .image-container {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .item-title {
        font-size: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .modal-item-detail .btn-danger,
    .modal-item-detail .btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .close-modal {
        align-self: flex-end;
        margin-left: 0;
    }
    
    .item-title-section {
        width: 100%;
    }
}

/* Admin Dashboard Styles */
.admin-hero {
    padding: 60px 20px 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.admin-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.admin-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.admin-welcome {
    flex: 1;
}

.admin-hero h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-hero p {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 500px;
}

.admin-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-visual {
    flex: 0 0 350px;
    position: relative;
}

.admin-floating-icons {
    position: relative;
    width: 100%;
    height: 350px;
}

.admin-floating-icons i {
    position: absolute;
    font-size: 2.5em;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
    filter: blur(0.5px);
}

.admin-floating-icons i:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.admin-floating-icons i:nth-child(2) {
    top: 60%;
    left: 30%;
    animation-delay: 1s;
}

.admin-floating-icons i:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.admin-floating-icons i:nth-child(4) {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.admin-floating-icons i:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.15;
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.05); 
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-25px) rotate(-3deg) scale(1.1); 
        opacity: 0.25;
    }
    75% { 
        transform: translateY(-10px) rotate(2deg) scale(1.02); 
        opacity: 0.18;
    }
}

.admin-dashboard {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.admin-dashboard::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 80px;
}

.dashboard-header h2 {
    font-size: 2.2em;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    position: relative;
}

.dashboard-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.dashboard-header p {
    font-size: 1em;
    color: #6b7280;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--card-color), var(--card-color-light));
    border-radius: 6px 6px 0 0;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card.primary {
    --card-color: #667eea;
    --card-color-light: #764ba2;
}

.stat-card.success {
    --card-color: #22c55e;
    --card-color-light: #16a34a;
}

.stat-card.info {
    --card-color: #3b82f6;
    --card-color-light: #2563eb;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    color: white;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0.4;
    z-index: -1;
}

.stat-card.primary .stat-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-card.success .stat-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.stat-card.info .stat-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 1em;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2.4em;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content p {
    color: #9ca3af;
    font-size: 0.95em;
    font-weight: 500;
}


/* Responsive Design */
@media (max-width: 768px) {
    .admin-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .admin-hero {
        padding: 80px 15px 60px;
    }
    
    .admin-hero h1 {
        font-size: 2.2em;
    }
    
    .admin-hero p {
        font-size: 1em;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .admin-visual {
        flex: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .admin-floating-icons {
        height: 280px;
    }
    
    .admin-floating-icons i {
        font-size: 2.5em;
    }
    
    .admin-actions {
        justify-content: center;
    }
    
    .admin-dashboard {
        padding: 80px 15px;
    }
    
    .dashboard-header {
        margin-bottom: 60px;
    }
    
    .dashboard-header h2 {
        font-size: 1.8em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-card {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .stat-icon {
        width: 80px;
        height: 80px;
        font-size: 2em;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .admin-hero {
        padding: 60px 15px 50px;
    }
    
    .admin-hero h1 {
        font-size: 2em;
    }
    
    .admin-hero p {
        font-size: 1em;
    }
    
    .admin-dashboard {
        padding: 60px 15px;
    }
    
    .dashboard-header h2 {
        font-size: 1.5em;
    }
    
    .dashboard-header p {
        font-size: 1em;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8em;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    .admin-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .admin-footer .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Admin Specific */
.badge.yellow { 
    background: linear-gradient(135deg, #ffd93d, #ffb800);
}
.btn-verify {
    background: #6c5ce7;
    color: white;
}
.btn-detail {
    background: #0984e3;
    color: white;
}
.btn-cancel {
    background: #6c757d;
    color: white;
}
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
}
.status-verified {
    background: #d4edda;
    color: #155724;
}
.status-posted {
    background: #fff3cd;
    color: #856404;
}
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.item-card {
    border: 1px solid #ccc;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    background: #f9f9f9;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.item-card h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0 10px 0;
}

.report-title {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.report-subtitle {
    margin: 6px 0 0 0;
    color: #666;
}

.btn-create-report {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.95em;
}

.report-tabs {
    display: flex;
    gap: 28px;
    margin-top: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.report-tab {
    display: inline-flex;
    padding: 12px 0;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.report-tab:hover {
    color: #667eea;
}

.report-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.report-tab-panel {
    padding-top: 28px;
    min-height: 320px;
}

.report-empty {
    height: 320px;
}

.report-card-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.report-inline-form {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
}

.report-confirm-form {
    margin-top: 12px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
}

.report-form-page {
    padding-top: 30px;
}

/* File Upload Component */
.file-upload-wrapper {
    position: relative;
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.file-upload-area.drag-over {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.02);
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-icon {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.file-upload-text {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 8px;
    font-weight: 500;
}

.file-upload-subtext {
    color: #999;
    font-size: 0.9em;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    left: 0;
}

.file-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.file-preview-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.file-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #e74c3c;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.file-remove-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.report-form-page {
    padding-bottom: 60px;
}

.report-form-card {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 28px;
}

.report-form-header {
    margin-bottom: 18px;
}

.report-form-title {
    font-size: 1.6em;
    font-weight: 700;
    margin: 0;
}

.report-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    margin: 0;
}

.report-form .form-group {
    margin-bottom: 18px;
}

.report-form .form-group label {
    margin-bottom: 8px;
}

.report-form input[type="text"],
.report-form input[type="date"],
.report-form select,
.report-form textarea {
    margin-bottom: 0;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
}

.radio-inline {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.radio-item {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 500;
    color: #333;
}

.radio-item input {
    margin: 0;
}

.report-form-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.report-submit-btn {
    padding: 12px 22px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .report-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-create-report {
        width: 100%;
        justify-content: center;
    }

    .report-tabs {
        gap: 16px;
    }

    .report-form-card {
        padding: 20px;
    }

    .report-form-actions {
        justify-content: stretch;
    }

    .report-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Utility */
.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Login Prompt */
.login-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.login-prompt:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-color: #adb5bd;
    color: #495057;
}

.login-prompt i {
    font-size: 16px;
    color: #6c757d;
}


