* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            min-height: 100vh;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 20px;
        }

        body.admin-theme {
            background: linear-gradient(135deg, #ffe0e0 0%, #ffb3c1 100%);
        }

        body.admin-theme header {
            background: #fff5f5;
            border: 1px solid rgba(220, 53, 69, 0.2);
            box-shadow: 0 10px 30px rgba(220, 53, 69, 0.15);
        }

        body.admin-theme .logo h1,
        body.admin-theme .logo i {
            color: #c82333;
        }

        body.admin-theme .theme-toggle {
            background: #dc3545;
        }

        body.admin-theme .admin-dashboard {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(220, 53, 69, 0.15);
            box-shadow: 0 20px 40px rgba(220, 53, 69, 0.15);
        }

        body.admin-theme .tab-btn.active {
            background: #dc3545;
            color: white;
        }

        body.admin-theme .tab-btn:not(.active) {
            border-color: rgba(220, 53, 69, 0.2);
            color: #c82333;
        }

        body.admin-theme .tab-btn:not(.active):hover {
            background: rgba(220, 53, 69, 0.08);
        }

        body.admin-theme .admin-report-item,
        body.admin-theme .admin-user-item {
            border-left: 6px solid #dc3545;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo h1 {
            color: #4361ee;
            font-size: 28px;
            margin-left: 10px;
        }
        
        .logo i {
            font-size: 32px;
            color: #4361ee;
        }
        
        .auth-container {
            display: flex;
            gap: 20px;
        }
        
        .auth-btn {
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .login-btn, .signup-btn {
            background: transparent;
            border: 2px solid #4361ee;
            color: #4361ee;
        }
        
        .login-btn:hover, .signup-btn:hover {
            background: #4361ee;
            color: white;
        }

        /* ✅ ADMIN BUTTON STYLING */
        .admin-btn {
            background: #dc3545 !important;
            color: white !important;
            border: 2px solid #dc3545 !important;
        }

        .admin-btn:hover {
            background: #c82333 !important;
            border-color: #c82333 !important;
        }
        
        .profile-container {
            display: none;
            position: relative;
        }
        
        .profile-container.active {
            display: flex !important;
            align-items: center;
        }
        
        .theme-toggle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #4361ee;
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .theme-toggle:hover {
            background: #3a56d4;
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
        }
        
        .profile-picture {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #4361ee;
            cursor: pointer;
        }
        
        .dropdown-menu {
            display: none;
            position: absolute;
            top: 60px;
            right: 0;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            width: 200px;
            overflow: hidden;
            z-index: 100;
        }
        
        .dropdown-item {
            padding: 15px 20px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .dropdown-item i {
            margin-right: 10px;
            color: #4361ee;
        }
        
        .dropdown-item:hover {
            background: #f8f9fa;
        }
        
        .hero {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }
        
        .hero h2 {
            font-size: 42px;
            color: #4361ee;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 18px;
            color: #6c757d;
            max-width: 700px;
            margin: 0 auto 30px;
        }
        
        .cta-btn {
            padding: 15px 30px;
            background: #4361ee;
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .cta-btn:hover {
            background: #3a56d4;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .feature-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            text-align: center;
            transition: all 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            font-size: 40px;
            color: #4361ee;
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: #343a40;
        }
        
        .feature-card p {
            color: #6c757d;
            line-height: 1.6;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background: white;
            border-radius: 15px;
            width: 100%;
            max-width: 800px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            max-height: 90vh;
            overflow-y: auto;
            scrollbar-width: none;
        }
        
        .modal-content::-webkit-scrollbar {
            display: none;
        }
        
        .modal-header {
            background: #4361ee;
            color: white;
            padding: 20px 30px;
            text-align: center;
            position: relative;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        .close-modal {
            position: absolute;
            right: 20px;
            top: 20px;
            font-size: 24px;
            cursor: pointer;
        }
        
        .modal-body {
            padding: 30px;
        }

        .listings-filters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid #e9ecef;
        }

        .filter-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #495057;
            margin-bottom: 6px;
        }

        .filter-group input,
        .filter-group select {
            width: 100%;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid #ced4da;
            font-size: 14px;
        }

        .filter-actions {
            display: flex;
            gap: 10px;
            align-items: flex-end;
        }

        .filter-actions button {
            flex: 1;
            padding: 12px;
            border-radius: 8px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .filter-apply {
            background: #4361ee;
            color: white;
        }

        .filter-reset {
            background: #e9ecef;
            color: #343a40;
        }

        .filter-apply:hover {
            background: #3a56d4;
        }

        .filter-reset:hover {
            background: #dee2e6;
        }

        .report-status {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .status-open {
            background: rgba(67, 97, 238, 0.1);
            color: #4361ee;
        }

        .status-pending_claim {
            background: rgba(255, 193, 7, 0.15);
            color: #d97706;
        }

        .status-matched,
        .status-closed {
            background: rgba(40, 167, 69, 0.15);
            color: #1b7f3c;
        }

        .claims-page,
        .matches-modal,
        .notifications-modal {
            display: none;
        }

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

        .claims-board {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .claim-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid #f0f0f0;
        }

        .claim-card h4 {
            margin-bottom: 10px;
            color: #343a40;
        }

        .claim-meta {
            font-size: 14px;
            color: #6c757d;
            margin: 10px 0;
            line-height: 1.4;
        }

        .claim-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .claim-actions button {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .claim-approve {
            background: #28a745;
            color: white;
        }

        .claim-reject {
            background: #dc3545;
            color: white;
        }

        .claim-approve:hover {
            background: #218838;
        }

        .claim-reject:hover {
            background: #c82333;
        }

        .matches-list,
        .notifications-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .match-card,
        .notification-item {
            background: white;
            border-radius: 12px;
            padding: 20px;
            border: 1px solid #f1f1f1;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .match-card h4 {
            margin-bottom: 10px;
            color: #343a40;
        }

        .match-info,
        .notification-body {
            font-size: 14px;
            color: #6c757d;
            line-height: 1.5;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #dc3545;
            color: white;
            font-size: 12px;
            font-weight: 700;
            margin-left: 8px;
        }

        .claim-modal-info {
            margin-bottom: 15px;
            color: #495057;
            font-size: 15px;
        }

        .notifications-empty,
        .claims-empty,
        .matches-empty {
            text-align: center;
            color: #6c757d;
            padding: 30px 20px;
        }

        .claim-btn {
            margin-top: 12px;
            width: 100%;
            padding: 10px 14px;
            border: none;
            border-radius: 8px;
            background: #17a2b8;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .claim-btn:hover {
            background: #138496;
        }

        .card-note {
            display: block;
            margin-top: 6px;
            font-size: 12px;
            color: #6c757d;
        }

        .modal-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
            padding: 0 30px 20px;
        }

        .modal-actions button {
            flex: 1;
            min-width: 150px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #495057;
        }
        
        .form-group input, .form-group select, .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            font-size: 15px;
            color: #333;
            background-color: #f8f9fa;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            border-color: #4361ee;
            background-color: #fff;
            box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
            outline: none;
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }
        
        .file-upload {
            border: 2px dashed #dee2e6;
            padding: 20px;
            text-align: center;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .file-upload:hover {
            border-color: #4361ee;
            background: #f8f9fa;
        }
        
        .file-upload i {
            font-size: 48px;
            color: #6c757d;
            margin-bottom: 10px;
        }
        
        .file-upload p {
            color: #6c757d;
            margin-bottom: 10px;
        }
        
        .file-name {
            font-size: 14px;
            color: #4361ee;
            margin-top: 10px;
            font-weight: 500;
        }
        
        .modal-footer {
            padding: 20px 30px 30px;
            text-align: center;
        }
        
        .submit-btn {
            width: 100%;
            padding: 15px;
            background: #4361ee;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .submit-btn:active {
            transform: scale(0.95);
            box-shadow: 0 2px 15px rgba(67, 97, 238, 0.4);
        }
        
        .submit-btn:hover {
            background: #3a56d4;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
        }
        
        .submit-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .submit-btn.loading {
            pointer-events: none;
        }
        
        .submit-btn.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid transparent;
            border-top: 2px solid #ffffff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .switch-form {
            margin-top: 20px;
            color: #6c757d;
        }
        
        .switch-form a {
            color: #4361ee;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
        }

        /* --- UI POLISH: Grid Layout for Report Forms inside Modals --- */
        .modal .report-form {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .modal .report-form .form-group {
            margin-bottom: 0;
        }

        /* Span 2 columns for textareas and file uploads */
        .modal .report-form .form-group:has(textarea),
        .modal .report-form .form-group:has(.file-upload),
        .modal .report-form .form-group:has(input[type="file"]) {
            grid-column: 1 / -1;
        }

        @media (max-width: 768px) {
            .modal .report-form {
                grid-template-columns: 1fr;
            }
        }

        /* Modal specific button adjustments */
        .form-actions {
            display: flex;
            gap: 15px;
            justify-content: flex-end;
            margin-top: 10px;
        }

        .form-actions .submit-btn,
        .form-actions .cancel-btn {
            width: auto;
            flex: 1; 
        }

        .cancel-btn {
            padding: 15px;
            background: #f1f3f5;
            color: #495057;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .cancel-btn:hover {
            background: #e9ecef;
            border-color: #ced4da;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }
        
        .cancel-btn:active {
            transform: scale(0.98);
        }
        
        .dashboard {
            display: none;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .dashboard-header h2 {
            color: #4361ee;
        }
        
        .dashboard-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .dashboard-card {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }
        
        .dashboard-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 30px rgba(67, 97, 238, 0.15);
            border-color: #4361ee;
            background: white;
        }
        
        .dashboard-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.1), transparent);
            transition: left 0.5s;
        }
        
        .dashboard-card:hover::before {
            left: 100%;
        }
        
        .dashboard-card h3 {
            color: #495057;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .dashboard-card h3 i {
            margin-right: 10px;
            color: #4361ee;
        }
        
        .upload-profile {
            text-align: center;
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            display: none;
        }
        
        .upload-profile h3 {
            color: #4361ee;
            margin-bottom: 20px;
        }
        
        .upload-btn {
            display: inline-block;
            padding: 12px 25px;
            background: #4361ee;
            color: white;
            border-radius: 8px;
            cursor: pointer;
            margin-top: 15px;
            transition: all 0.3s;
        }
        
        .upload-btn:hover {
            background: #3a56d4;
        }
        
        .profile-page, .settings-page, .reports-page {
            display: none;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f1f3f4;
        }
        
        .page-header h2 {
            color: #4361ee;
            display: flex;
            align-items: center;
        }
        
        .page-header h2 i {
            margin-right: 10px;
        }
        
        .back-btn {
            padding: 10px 20px;
            background: #6c757d;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .back-btn:hover {
            background: #5a6268;
        }
        
        .profile-details, .settings-options {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid #f1f3f4;
        }
        
        .detail-label {
            font-weight: 600;
            color: #495057;
        }
        
        .detail-value {
            color: #6c757d;
        }
        
        .password-mask {
            letter-spacing: 3px;
            font-weight: bold;
        }
        
        .settings-option {
            padding: 20px;
            border-bottom: 1px solid #f1f3f4;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .settings-option:hover {
            background: #f8f9fa;
        }
        
        .settings-option h3 {
            color: #495057;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
        }
        
        .settings-option h3 i {
            margin-right: 10px;
            color: #4361ee;
        }
        
        .settings-option p {
            color: #6c757d;
            font-size: 14px;
        }
        
        /* ✅ SUPPORT CHAT STYLES */
        .support-chat-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .support-chat-container {
            background: white;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            height: 600px;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        .support-chat-header {
            background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .support-chat-header h3 {
            margin: 0;
            font-size: 18px;
        }

        .support-chat-header .close-support {
            cursor: pointer;
            font-size: 24px;
            transition: transform 0.3s;
        }

        .support-chat-header .close-support:hover {
            transform: rotate(90deg);
        }

        .support-chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .support-message {
            max-width: 70%;
            padding: 12px 16px;
            border-radius: 15px;
            word-wrap: break-word;
            animation: messageSlide 0.3s ease;
        }

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

        .support-message.user {
            align-self: flex-end;
            background: #4361ee;
            color: white;
            border-bottom-right-radius: 5px;
        }

        .support-message.admin {
            align-self: flex-start;
            background: white;
            color: #333;
            border: 1px solid #e0e0e0;
            border-bottom-left-radius: 5px;
        }

        .message-time {
            font-size: 10px;
            opacity: 0.7;
            margin-top: 5px;
            display: block;
        }

        .support-chat-input {
            padding: 15px;
            background: white;
            border-top: 1px solid #e0e0e0;
            display: flex;
            gap: 10px;
        }

        .support-chat-input input {
            flex: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 25px;
            font-size: 14px;
        }

        .support-chat-input button {
            background: #4361ee;
            color: white;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .support-chat-input button:hover {
            background: #3a56d4;
            transform: scale(1.1);
        }

        .support-chat-input button:active {
            transform: scale(0.95);
        }

        .support-empty {
            text-align: center;
            padding: 40px 20px;
            color: #6c757d;
        }

        .support-unread-badge {
            background: #dc3545;
            color: white;
            border-radius: 50%;
            padding: 2px 8px;
            font-size: 11px;
            font-weight: bold;
            margin-left: 8px;
        }

        /* Admin Support Chat List */
        .admin-support-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .admin-support-user {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s;
            border-left: 4px solid #4361ee;
            position: relative;
        }

        .admin-support-user:hover {
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateX(5px);
        }

        .admin-support-user-name {
            font-weight: 600;
            color: #4361ee;
            margin-bottom: 5px;
        }

        .admin-support-user-email {
            font-size: 14px;
            color: #6c757d;
        }
        
        /* Report Form Styles */
        .report-form {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .form-actions {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .cancel-btn {
            padding: 15px 25px;
            background: #6c757d;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            flex: 1;
        }
        
        .cancel-btn:hover {
            background: #5a6268;
        }
        
        .cancel-btn:active {
            transform: scale(0.95);
        }
        
        /* Reports List Styles */
        .reports-list {
            display: grid;
            gap: 20px;
            margin-top: 20px;
        }
        
        .report-item {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            border-left: 4px solid #4361ee;
            transition: all 0.3s;
            position: relative;
            cursor: pointer;
        }
        
        .report-item:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .report-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .report-title {
            font-size: 18px;
            font-weight: 600;
            color: #4361ee;
        }
        
        .report-type {
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .report-type.lost {
            background: #ffeaa7;
            color: #e17055;
        }
        
        .report-type.found {
            background: #a29bfe;
            color: white;
        }
        
        .report-details {
            color: #6c757d;
            margin-bottom: 10px;
        }
        
        .report-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #adb5bd;
            margin-bottom: 10px;
        }
        
        .report-photo img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin-top: 10px;
            border: 2px solid #dee2e6;
        }
        
        .report-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e9ecef;
        }
        
        .delete-btn {
            padding: 8px 16px;
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .delete-btn:hover {
            background: #c82333;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
        }
        
        .delete-btn:active {
            transform: scale(0.95);
        }
        
        .no-reports {
            text-align: center;
            padding: 40px;
            color: #6c757d;
        }
        
        .no-reports i {
            font-size: 48px;
            margin-bottom: 15px;
            color: #dee2e6;
        }
        
        .coming-soon {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }
        
        .coming-soon i {
            font-size: 64px;
            margin-bottom: 20px;
            color: #dee2e6;
        }
        
        .coming-soon h3 {
            color: #495057;
            margin-bottom: 10px;
        }
        
        /* ✅ NEW: Contact Modal Styling */
        .contact-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .contact-modal-content {
            background: white;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        .contact-modal-header {
            background: #4361ee;
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
        }

        .contact-modal-body {
            padding: 30px;
        }

        .contact-info-modal {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .contact-item-modal {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid #4361ee;
        }

        .contact-item-modal i {
            color: #4361ee;
            width: 20px;
            font-size: 18px;
        }

        .contact-label {
            font-weight: 600;
            color: #495057;
            min-width: 120px;
        }

        .contact-value {
            color: #4361ee;
            font-weight: 500;
        }

        /* ✅ ADMIN DASHBOARD STYLING */
        .admin-dashboard {
            display: none;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin-bottom: 30px;
        }

        .admin-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 2px solid #f1f3f4;
        }

        .tab-btn {
            padding: 12px 24px;
            background: #f8f9fa;
            border: none;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }

        .tab-btn.active {
            background: #4361ee;
            color: white;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .admin-report-item {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            border-left: 4px solid #4361ee;
        }

        .admin-user-item {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            border-left: 4px solid #28a745;
        }
        
        footer {
            text-align: center;
            padding: 30px;
            color: #6c757d;
            margin-top: 30px;
        }
        
        /* Dark Theme Styles */
        body.dark-theme {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: #e0e0e0;
        }
        
        body.dark-theme header {
            background: #2d2d44;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        body.dark-theme .logo h1 {
            color: #64b5f6;
        }
        
        body.dark-theme .logo i {
            color: #64b5f6;
        }
        
        body.dark-theme .hero {
            background: #2d2d44;
            color: #e0e0e0;
        }
        
        body.dark-theme .hero h2 {
            color: #64b5f6;
        }
        
        body.dark-theme .hero p {
            color: #b0b0b0;
        }
        
        body.dark-theme .feature-card {
            background: #2d2d44;
            color: #e0e0e0;
        }
        
        body.dark-theme .feature-card h3 {
            color: #e0e0e0;
        }
        
        body.dark-theme .feature-card p {
            color: #b0b0b0;
        }
        
        body.dark-theme .dashboard {
            background: #2d2d44;
            color: #e0e0e0;
        }
        
        body.dark-theme .dashboard-header h2 {
            color: #64b5f6;
        }
        
        body.dark-theme .dashboard-card {
            background: #1e1e2e;
            color: #e0e0e0;
        }
        
        body.dark-theme .dashboard-card:hover {
            background: #252538;
        }
        
        body.dark-theme .dashboard-card h3 {
            color: #e0e0e0;
        }
        
        body.dark-theme .modal-content {
            background: #2d2d44;
            color: #e0e0e0;
        }
        
        body.dark-theme .modal-header {
            background: #4361ee;
        }
        
        body.dark-theme .form-group input,
        body.dark-theme .form-group select,
        body.dark-theme .form-group textarea {
            background: #1e1e2e;
            border-color: #444;
            color: #e0e0e0;
        }
        
        body.dark-theme .form-group input:focus,
        body.dark-theme .form-group select:focus,
        body.dark-theme .form-group textarea:focus {
            border-color: #64b5f6;
        }
        
        body.dark-theme .dropdown-menu {
            background: #2d2d44;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        body.dark-theme .dropdown-item {
            color: #e0e0e0;
        }
        
        body.dark-theme .dropdown-item:hover {
            background: #1e1e2e;
        }
        
        body.dark-theme .profile-page,
        body.dark-theme .settings-page,
        body.dark-theme .reports-page,
        body.dark-theme .upload-profile {
            background: #2d2d44;
            color: #e0e0e0;
        }
        
        body.dark-theme .page-header h2 {
            color: #64b5f6;
        }
        
        body.dark-theme .detail-item {
            border-bottom-color: #444;
        }
        
        body.dark-theme .detail-label {
            color: #e0e0e0;
        }
        
        body.dark-theme .detail-value {
            color: #b0b0b0;
        }
        
        body.dark-theme .settings-option {
            border-bottom-color: #444;
        }

        body.dark-theme .settings-option p {
            color: #cbd5e1;
        }
        
        body.dark-theme .settings-option h3 {
            color: #f8f9fa;
        }
        
        body.dark-theme .settings-option h3 i {
            color: #64b5f6;
        }
        
        body.dark-theme .settings-option:hover {
            background: #1e1e2e;
        }
        
        body.dark-theme .report-item {
            background: #1e1e2e;
            border-left-color: #64b5f6;
        }
        
        body.dark-theme .report-item:hover {
            background: #252538;
        }
        
        body.dark-theme .report-title {
            color: #64b5f6;
        }
        
        body.dark-theme .report-details {
            color: #b0b0b0;
        }
        
        body.dark-theme .admin-dashboard {
            background: #2d2d44;
            color: #e0e0e0;
        }
        
        body.dark-theme .admin-report-item,
        body.dark-theme .admin-user-item {
            background: #1e1e2e;
        }
        
        body.dark-theme footer {
            color: #b0b0b0;
        }
        
        body.dark-theme .file-upload {
            border-color: #444;
            background: #1e1e2e;
        }
        
        body.dark-theme .file-upload:hover {
            border-color: #64b5f6;
            background: #252538;
        }
        
        body.dark-theme .contact-modal-content {
            background: #2d2d44;
        }
        
        body.dark-theme .contact-item-modal {
            background: #1e1e2e;
            border-left-color: #64b5f6;
        }
        
        body.dark-theme .contact-label {
            color: #e0e0e0;
        }
        
        body.dark-theme .contact-value {
            color: #64b5f6;
        }
        
        body.dark-theme .dropdown-menu {
            background: #2d2d44;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            border: 1px solid #444;
        }
        
        body.dark-theme .dropdown-item {
            color: #e0e0e0;
        }
        
        body.dark-theme .dropdown-item:hover {
            background: #1e1e2e;
            color: #ffffff;
        }
        
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                text-align: center;
                justify-content: flex-start;
                position: relative;
                min-height: 65px;
                padding: 15px 15px;
            }
            
            .logo {
                margin-bottom: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                height: 40px;
                z-index: 2;
            }
            
            .logo h1 {
                font-size: 18px;
                white-space: nowrap;
            }

            .logo i {
                font-size: 20px;
            }
            
            .auth-container {
                margin-top: 15px;
                position: relative;
                right: auto;
                top: auto;
                transform: none;
                gap: 8px;
                z-index: 3;
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .auth-btn {
                padding: 6px 12px;
                font-size: 13px;
            }
            
            .hero h2 {
                font-size: 32px;
            }
            
            .hero p {
                font-size: 16px;
            }
            
            .form-actions {
                flex-direction: column;
            }
            
            .modal-content {
                max-width: 95%;
                margin: 20px;
            }
            
            .report-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .report-actions {
                justify-content: center;
            }

            .admin-tabs {
                flex-direction: column;
            }

            /* ── Admin Claims: Mobile responsive fixes ──────────────────── */

            /* Make tab buttons fill full width when stacked */
            .tab-btn {
                width: 100%;
                text-align: left;
                border-radius: 8px;
            }

            /* Collapse the hardcoded 2-column claimant/reporter grid to 1 column */
            #adminClaimsList .report-details {
                grid-template-columns: 1fr !important;
                gap: 12px !important;
            }

            /* Remove the left-border divider on the second column — it looks odd stacked */
            #adminClaimsList .report-details > div[style*="border-left"] {
                border-left: none !important;
                padding-left: 0 !important;
            }

            /* Wrap and stack action buttons so they don't overflow */
            #adminClaimsList .report-actions {
                flex-wrap: wrap;
                justify-content: stretch;
                gap: 10px;
            }

            /* Make each button fill the full row on mobile */
            #adminClaimsList .report-actions .submit-btn,
            #adminClaimsList .report-actions .delete-btn,
            #adminClaimsList .report-actions .upload-btn {
                width: 100%;
                flex: 1 1 100%;
                text-align: center;
                justify-content: center;
            }

            /* Allow long item names + ID span to wrap without overflow */
            #adminClaimsList .report-title {
                word-break: break-word;
                white-space: normal;
            }
            
            .header-controls {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 70px;
                justify-content: space-between !important;
                margin-top: 0;
                padding: 0 15px;
                pointer-events: none;
                z-index: 2;
            }
            
            .header-controls > * {
                pointer-events: auto;
            }
            
            .theme-toggle {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .profile-picture {
                width: 40px;
                height: 40px;
                border-width: 2px;
            }
            
            .profile-container {
                display: none;
                flex-direction: column;
                align-items: flex-end; /* Align dropdown to the right rather than strictly center if the icon is on the edge */
            }
            
            .profile-container.active {
                display: flex !important;
            }
            
            .dropdown-menu {
                right: 0;
                left: auto;
                transform: none;
                top: 55px;
            }
        }

        /* ✅ ADDITIONAL MOBILE FIXES */
        @media (max-width: 480px) {
            body {
                padding: 10px;
                font-size: 14px;
            }
            
            .hero h2 {
                font-size: 24px;
            }
            
            .hero p {
                font-size: 14px;
            }
            
            .cta-btn {
                padding: 12px 24px;
                font-size: 16px;
            }
            
            .dashboard-card {
                padding: 15px;
            }

            .dashboard, .admin-dashboard {
                padding: 15px !important;
            }
            
            .dashboard-card h3 {
                font-size: 16px;
            }
            
            .feature-card h3 {
                font-size: 18px;
            }
            
            .feature-card p {
                font-size: 14px;
            }
            
            .feature-icon {
                font-size: 32px;
            }
            
            .modal-content {
                margin: 10px;
                max-height: 95vh;
            }
            
            .modal-header {
                padding: 15px;
            }
            
            .modal-body {
                padding: 20px;
            }
            
            .form-group label {
                font-size: 14px;
                margin-bottom: 6px;
                font-weight: 600;
            }
            
            .form-group input, .form-group select, .form-group textarea {
                padding: 12px;
                font-size: 14px;
            }
            
            .listings-filters {
                grid-template-columns: 1fr;
                padding: 15px;
            }
            
            .claim-actions {
                flex-direction: column;
            }

            /* ── Admin Claims: extra-small screen polish ─────────────────── */

            /* Tighter card padding on phones */
            #adminClaimsList .admin-report-item {
                padding: 14px 12px;
            }

            /* Shrink font sizes inside claim cards */
            #adminClaimsList .report-details {
                font-size: 13px;
            }

            #adminClaimsList .report-title {
                font-size: 15px;
            }

            /* Claim message box: tighter padding */
            #adminClaimsList [style*="fff8e1"] {
                padding: 10px !important;
                font-size: 13px;
            }
        }

        /* ✅ SHARE BUTTON STYLES */
        .share-buttons {
            display: flex;
            gap: 8px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        
        .share-btn {
            padding: 8px 12px;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        
        .share-btn.whatsapp {
            background: #25D366;
            color: white;
        }
        
        .share-btn.whatsapp:hover {
            background: #1da851;
        }
        
        .share-btn.copy {
            background: #6c757d;
            color: white;
        }
        
        .share-btn.copy:hover {
            background: #5a6268;
        }
        
        .share-btn.report-spam {
            background: #dc3545;
            color: white;
        }
        
        .share-btn.report-spam:hover {
            background: #c82333;
        }
/* ==========================================================================
   PREMIUM UI UPGRADES (HERO, DASHBOARD, FOOTER, STATS)
   ========================================================================== */

/* 1. Global Transitions & Navbar Polish */
body, header, .dashboard-card, .footer-grid {
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
body.dark-theme header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-picture {
    border: 2px solid #4361ee;
    padding: 2px;
    background: #fff;
    transition: border-color 0.4s ease, background 0.4s ease;
}
body.dark-theme .profile-picture {
    background: #1e1e2e;
    border-color: #64b5f6;
}

/* Premium Theme Switch Toggle */
.premium-toggle {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}
.toggle-track {
    width: 60px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.4s ease;
}
body.dark-theme .toggle-track {
    background: #1e1e2e;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
    border: 1px solid #444;
}
.light-icon { color: #f59e0b; font-size: 14px; z-index: 1; }
.dark-icon { color: #e2e8f0; font-size: 14px; z-index: 1; }
body.dark-theme .dark-icon { color: #fbbf24; }
.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 2;
}
body.dark-theme .toggle-thumb {
    transform: translateX(28px);
    background: #2d2d44;
}

/* 2. Hero Section Makeover */
.premium-hero {
    position: relative;
    background: linear-gradient(135deg, #e0eAFC 0%, #cfdef3 100%);
    overflow: hidden;
    border-radius: 12px;
    padding: 60px 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    margin-bottom: 50px;
}
body.dark-theme .premium-hero {
    background: linear-gradient(135deg, #1e1e2e 0%, #151520 100%);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
}

.hero-bg-anim {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.hero-bg-anim i {
    position: absolute;
    color: rgba(67, 97, 238, 0.05);
}
body.dark-theme .hero-bg-anim i {
    color: rgba(255, 255, 255, 0.02);
}
.float-anim-1 {
    font-size: 180px;
    top: -20px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}
.float-anim-2 {
    font-size: 120px;
    bottom: -10px;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.premium-hero h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #4361ee, #3a0ca3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.dark-theme .premium-hero h2 {
    background: linear-gradient(90deg, #64b5f6, #8e24aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. Live Stats Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: -30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}
.stat-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, background 0.4s ease;
}
body.dark-theme .stat-item {
    background: #252538;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.stat-item:hover {
    transform: translateY(-4px);
}
.stat-icon {
    width: 60px; height: 60px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #4361ee;
    margin-right: 15px;
    transition: background 0.4s ease, color 0.4s ease;
}
body.dark-theme .stat-icon {
    background: rgba(100, 181, 246, 0.1);
    color: #64b5f6;
}
.stat-details h3 {
    font-size: 26px; font-weight: 800; color: #333; margin-bottom: 4px; line-height: 1; transition: color 0.4s ease;
}
body.dark-theme .stat-details h3 { color: #fff; }
.stat-details p {
    font-size: 13px; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.4s ease;
}
body.dark-theme .stat-details p { color: #aaa; }

/* 4. Welcome Banner Upgrade */
.premium-header {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
    border: none !important;
    box-shadow: none !important;
}
.welcome-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #ffffff, #f0f4ff);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #4361ee;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
body.dark-theme .welcome-banner {
    background: linear-gradient(90deg, #1e1e2e, #252538);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-left: 5px solid #64b5f6;
}
.welcome-avatar-wrapper {
    margin-right: 20px;
}
.welcome-avatar-wrapper img {
    width: 65px; height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0eAFC;
    transition: border-color 0.4s ease;
}
body.dark-theme .welcome-avatar-wrapper img { border-color: #2d2d44; }
.welcome-text { text-align: left; }
.welcome-text h2 {
    font-size: 26px; color: #333; margin-bottom: 6px; padding: 0; transition: color 0.4s ease;
}
body.dark-theme .welcome-text h2 { color: #f8f9fa; }
.highlight-name { color: #4361ee; font-weight: 800; }
body.dark-theme .highlight-name { color: #64b5f6; }
.date-text { font-size: 14px; color: #6c757d; font-weight: 600; transition: color 0.4s ease; }
body.dark-theme .date-text { color: #a0aab2; }

/* 5. Dashboard Card Hover Effects */
.dashboard-card {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s ease;
    position: relative; /* ensure badges absolute anchor properly */
    border: 1px solid transparent;
}
body.dark-theme .dashboard-card { border-color: #2d2d44; }
.dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.15) !important;
    border-color: rgba(67, 97, 238, 0.3) !important;
}
body.dark-theme .dashboard-card:hover {
    box-shadow: 0 15px 35px rgba(100, 181, 246, 0.2) !important;
    border-color: #64b5f6 !important;
}

/* 6. Dynamic Notification/Match Badges */
.dashboard-card h3 { display: flex; align-items: center; gap: 8px; }
.dashboard-card .badge, .tab-btn .badge {
    position: absolute;
    top: 15px; 
    right: 15px;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 12px; font-weight: bold;
    color: white; background: #dc3545;
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.4);
    transition: all 0.3s ease;
}
#matchesCard .badge, #matchesBadge {
    background: #28a745;
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.4);
}
.badge.badge-zero {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    opacity: 0.5;
}
body.dark-theme .badge.badge-zero {
    background: #334155;
    color: #64748b;
}

/* 7. Premium Footer */
.premium-footer {
    background: #f8f9fa;
    padding: 60px 40px 20px;
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    transition: background 0.4s ease, border-color 0.4s ease;
}
body.dark-theme .premium-footer {
    background: #151520;
    border-top: 1px solid #2d2d44;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3, .footer-col h4 {
    color: #333; margin-bottom: 20px; font-weight: 700; transition: color 0.4s ease; display:flex; gap:10px; align-items:center;
}
body.dark-theme .footer-col h3, body.dark-theme .footer-col h4 { color: #f8f9fa; }
.footer-col p { color: #6c757d; line-height: 1.6; transition: color 0.4s ease; }
body.dark-theme .footer-col p { color: #a0aab2; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-link {
    display: block; color: #6c757d; text-decoration: none; margin-bottom: 12px; transition: color 0.2s ease;
}
.footer-link:hover { color: #4361ee; }
body.dark-theme .footer-link:hover { color: #64b5f6; }
.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: #e2e8f0; display: flex; align-items: center; justify-content: center;
    color: #4361ee; transition: all 0.3s ease; text-decoration: none;
}
body.dark-theme .social-links a { background: #2d2d44; color: #64b5f6; }
.social-links a:hover { background: #4361ee; color: white; transform: translateY(-3px); }
body.dark-theme .social-links a:hover { background: #64b5f6; color: #1e1e2e; }
.footer-bottom {
    text-align: center; padding-top: 20px; border-top: 1px solid #e2e8f0; color: #94a3b8; font-size: 14px; transition: border-color 0.4s ease, color 0.4s ease;
}
body.dark-theme .footer-bottom { border-color: #2d2d44; color: #64748b; }

/* 8. Keyframes */
@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 9. Mobile Layout Fixes */
@media (max-width: 768px) {
    .premium-hero { padding: 40px 15px; margin-bottom: 30px; }
    .premium-hero h2 { font-size: 28px; }
    .stats-strip { grid-template-columns: 1fr; margin-top: -15px; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 20px; }
    .premium-footer { padding: 40px 20px 20px; margin-top: 40px; }
    
    /* Strictly enforce 1 column tight grid on mobile dashboards */
    .dashboard-content {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px;
    }
    .welcome-banner { flex-direction: column; text-align: center; padding: 20px; border-left: none; border-top: 5px solid #4361ee; }
    body.dark-theme .welcome-banner { border-top: 5px solid #64b5f6; }
    .welcome-avatar-wrapper { margin-right: 0; margin-bottom: 15px; }
    .welcome-text h2 { font-size: 20px; }
}

/* 10. Urgent Mobile Header Overlap Fix */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
    }
    .header-controls {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px !important;
        margin-top: 5px !important;
        justify-content: space-between !important;
        order: -1 !important; /* Forces the Theme Button and Profile to the very top */
        z-index: 5 !important;
        pointer-events: auto !important;
    }
    .logo {
        order: 2 !important; /* Pushes Logo to the middle */
        margin-top: 10px;
    }
    .auth-container {
        order: 3 !important; /* Pushes Auth buttons below the Logo */
    }
}

/* 11. Logo to Absolute Top Override */
@media (max-width: 768px) {
    .logo {
        order: -2 !important; /* Pushes Logo to the VERY top row */
        margin-top: 5px !important;
        margin-bottom: 25px !important;
    }
    .header-controls {
        order: -1 !important; /* Forces Theme/Profile exactly under the Logo */
        margin-bottom: 15px !important;
        margin-top: 0 !important;
    }
}

/* 12. Final Mobile Header Masterpiece */
@media (max-width: 768px) {
    header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding: 15px 12px !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }
    .logo {
        order: 1 !important;
        margin: 0 !important;
        width: auto !important;
        justify-content: flex-start !important;
        flex: 1; /* Let it shrink if needed */
        min-width: 0; /* Important for flex child truncating */
    }
    .logo h1 {
        font-size: 15px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Safely truncate on ultra-tiny screens */
    }
    .logo i {
        font-size: 16px !important;
        margin-right: 6px !important;
    }
    .header-controls {
        order: 2 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        justify-content: flex-end !important;
        gap: 12px !important;
        height: auto !important;
        flex-shrink: 0;
    }
    .toggle-track {
        width: 54px !important; /* Slightly smaller for mobile */
        height: 28px !important;
    }
    .toggle-thumb {
        width: 22px !important;
        height: 22px !important;
    }
    body.dark-theme .toggle-thumb {
        transform: translateX(26px) !important;
    }
    .profile-picture {
        width: 36px !important;
        height: 36px !important;
    }
    .profile-container {
        margin-left: 0 !important;
    }
    
    .auth-container {
        order: 3 !important;
        width: 100% !important;
        margin-top: 15px !important;
        margin-bottom: 0 !important;
        display: flex; /* Crucial: Removed !important so JS can hide this element upon Login */
        justify-content: space-between !important;
        gap: 8px !important;
        right: auto !important;
        top: auto !important;
        position: relative !important;
    }
    /* Strictly enforce JS display: none bindings over any external !important declarations */
    .auth-container[style*="display: none"] {
        display: none !important;
    }
    .auth-btn {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 10px 4px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   SKELETON LOADERS (SHIMMER EFFECTS)
   ========================================================================== */
.skeleton-box {
    background: #f1f5f9;
    background-image: linear-gradient(90deg, #f1f5f9 0px, #e2e8f0 40px, #f1f5f9 80px);
    background-size: 300px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}
body.dark-theme .skeleton-box {
    background: #252538;
    background-image: linear-gradient(90deg, #252538 0px, #2d2d44 40px, #252538 80px);
}
@keyframes shimmer {
    0% { background-position: -300px 0; }
    100% { background-position: 300px 0; }
}

/* Specific Shimmer Variations */
.skeleton-title { height: 22px; width: 60%; margin-bottom: 8px; border-radius: 6px; }
.skeleton-type { height: 16px; width: 30%; border-radius: 12px; }
.skeleton-status { height: 26px; width: 80px; border-radius: 20px; }
.skeleton-text { height: 14px; width: 100%; margin-top: 6px; border-radius: 4px; }
.skeleton-text.short { width: 70%; }

/* ✅ VISUAL FEEDBACK FOR CLICKING ALL ACTION/SUBMIT BUTTONS */
.submit-btn, .cta-btn, .auth-btn, .upload-btn, .filter-apply, .filter-reset, .cancel-btn, .back-btn, #sendSupportMessage {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1), filter 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}

.submit-btn:active:not(:disabled),
.cta-btn:active:not(:disabled),
.auth-btn:active:not(:disabled),
.upload-btn:active:not(:disabled),
.filter-apply:active:not(:disabled),
.filter-reset:active:not(:disabled),
.cancel-btn:active:not(:disabled),
.back-btn:active:not(:disabled),
#sendSupportMessage:active:not(:disabled),
.active-press:not(:disabled) {
    transform: scale(0.96) !important;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.25) !important;
    filter: brightness(0.95) !important;
}

/* ✅ TOAST NOTIFICATION SYSTEM */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999999;
}

.toast {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    color: #333;
    padding: 16px 22px;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 420px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
    border-left: 5px solid #4361ee;
}

body.dark-theme .toast {
    background: #1e1e2e;
    color: #f8f9fa;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success { border-left-color: #28a745; }
.toast-error { border-left-color: #dc3545; }
.toast-warning { border-left-color: #ffc107; }
.toast-info { border-left-color: #4361ee; }

.toast-icon {
    font-size: 22px;
    margin-right: 14px;
    margin-top: 2px;
}

.toast-success .toast-icon { color: #28a745; }
.toast-error .toast-icon { color: #dc3545; }
.toast-warning .toast-icon { color: #ffc107; }
.toast-info .toast-icon { color: #4361ee; }

.toast-message {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    word-break: break-word;
}

.toast-close {
    font-size: 22px;
    line-height: 1;
    margin-left: 15px;
    cursor: pointer;
    color: #a0aab2;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.toast-close:hover {
    color: #333;
}

body.dark-theme .toast-close:hover {
    color: #fff;
}

/* ✅ CUSTOM DIALOG (PROMPT/CONFIRM) */
.custom-dialog-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-dialog {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    overflow: hidden;
}

.custom-dialog.show {
    transform: scale(1);
    opacity: 1;
}

body.dark-theme .custom-dialog {
    background: #252538;
    color: #f8f9fa;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 1px solid #444;
}

.custom-dialog-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

body.dark-theme .custom-dialog-header {
    background: #1e1e2e;
    border-bottom: 1px solid #333;
}

.custom-dialog-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

body.dark-theme .custom-dialog-header h3 {
    color: #f8f9fa;
}

.custom-dialog-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

body.dark-theme .custom-dialog-body {
    color: #e0e0e0;
}

.custom-dialog-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

body.dark-theme .custom-dialog-footer {
    background: #1e1e2e;
    border-top: 1px solid #333;
}

.modal-btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
    width: auto !important;
    margin: 0 !important;
}

body.dark-theme #dialogPromptInput {
    background: #1e1e2e !important;
    color: #fff !important;
    border-color: #444 !important;
}

.text-warning { color: #ffc107; }
.text-info { color: #4361ee; }
body.dark-theme .text-info { color: #64b5f6; }

/* ✅ FIX FOR REPORT CARDS SPACING (Lists & Admin Panels) */
#listingsList, #reportsList, #adminReportsList, #adminUsersList, #adminClaimsList {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#listingsList .report-item, #reportsList .report-item, 
#adminReportsList .admin-report-item, #adminUsersList .admin-user-item, #adminClaimsList .admin-report-item {
    margin-bottom: 0 !important;
}

.skeleton-image { height: 120px; width: 100px; border-radius: 8px; float: left; margin-right: 15px; }

/* ✅ ADMIN USER CARD RESPONSIVENESS */
.admin-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.admin-user-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    flex-wrap: wrap;
}
.admin-user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #28a745;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.admin-user-info-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.admin-user-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.admin-user-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}
.admin-badge-user {
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .admin-user-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .admin-user-left {
        width: 100%;
        gap: 15px !important;
    }
    .admin-user-right {
        width: 100%;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-top: 5px;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-top: 15px;
    }
    body.dark-theme .admin-user-right {
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .admin-user-info-stack {
        width: auto;
        flex: 1;
    }
    .admin-user-avatar {
        width: 60px !important;
        height: 60px !important;
    }
    .admin-user-name {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   ADDED UI/UX ENHANCEMENTS (Animations, Hamburger, Drag-drop, Validation)
   ========================================================================== */

/* 1. SPA Smooth Entry Transitions */
@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard, .reports-page, .claims-page, .profile-page, .settings-page, .admin-dashboard, .upload-profile {
    animation: fadeInSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 3. Drag and Drop Upload Visuals */
.file-upload.dragover {
    background-color: rgba(67, 97, 238, 0.1);
    border: 2px dashed #4361ee;
    transform: scale(1.02);
}
body.dark-theme .file-upload.dragover {
    background-color: rgba(100, 181, 246, 0.1);
    border-color: #64b5f6;
}

/* 4. Real-time Validation Visuals */
.form-group input.valid-input {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}
.form-group input.invalid-input {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}
body.dark-theme .form-group input.valid-input { border-color: #28a745; }
body.dark-theme .form-group input.invalid-input { border-color: #dc3545; }

.password-strength {
    height: 4px; border-radius: 2px; margin-top: 5px; width: 0%; transition: all 0.3s ease;
}
.strength-weak { width: 33%; background: #dc3545; }
.strength-medium { width: 66%; background: #ffc107; }
.strength-strong { width: 100%; background: #28a745; }
.validation-message { font-size: 12px; margin-top: 4px; display: none; }
.invalid-input + .validation-message { display: block; color: #dc3545; }

/* ✅ CLAIMS SECTION MOBILE RESPONSIVENESS */

/* 1. Admin Claims List Fixes */
#adminClaimsList {
    overflow-x: hidden;
    width: 100%;
}

#adminClaimsList .admin-report-item {
    padding: 18px !important;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px !important;
}

#adminClaimsList .report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    width: 100%;
}

#adminClaimsList .report-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 200px;
    color: #2d3436;
}

body.dark-theme #adminClaimsList .report-title {
    color: #ecf0f1;
}

#adminClaimsList .report-details {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #adminClaimsList .report-details {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }

    #adminClaimsList .report-details > div {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding: 15px 0 !important;
        width: 100%;
        box-sizing: border-box;
        word-break: break-word;
    }

    #adminClaimsList .report-details > div:first-child {
        border-top: none;
        padding-top: 0 !important;
    }

    #adminClaimsList .report-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    #adminClaimsList .report-actions button {
        width: 100% !important;
        margin: 0 !important;
        justify-content: center;
        padding: 12px !important;
    }
}

/* 2. User Claims Cards (Incoming & Submitted) */
.claims-columns {
    width: 100%;
    box-sizing: border-box;
}

.claim-card {
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    margin-bottom: 15px;
}

.claim-card h4 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}

.claim-meta {
    font-size: 0.9rem;
    line-height: 1.6;
}

.claim-meta strong {
    color: #343a40;
}

@media (max-width: 768px) {
    .claims-columns {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .claims-page .page-header h2 {
        font-size: 1.4rem !important;
    }

    .claims-page h3 {
        font-size: 1.15rem !important;
        margin-bottom: 15px !important;
        border-bottom: 2px solid #4361ee;
        padding-bottom: 5px;
        display: inline-block;
    }
}

@media (max-width: 500px) {
    .claim-card {
        padding: 15px !important;
    }

    .claim-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .claim-actions button {
        width: 100% !important;
        margin: 0;
        padding: 12px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Ensure check/approved contact info box is responsive */
    .claim-card > div[style*="background: #e8f5e9"] {
        margin-top: 15px !important;
        padding: 15px !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        border: 1px solid #c3e6cb !important;
    }
}

/* 3. Dark Theme Specifics for Claims */
body.dark-theme #adminClaimsList .report-details > div {
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .claim-card {
    background: #2d2d44;
    border-color: #3d3d5c;
}

body.dark-theme .claim-meta strong {
    color: #ecf0f1;
}

body.dark-theme .claim-card h4 {
    color: #64b5f6;
}


/* 4. Owner Badge Styles */
.owner-badge-container {
    position: relative;
    display: inline-block;
}

.owner-badge-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: none;
    box-shadow: none;
    z-index: 10;
}

.owner-badge-icon-large {
    font-size: 22px;
    bottom: -2px;
    right: -2px;
}
