/* Dashboard Styles - Clean, No Animations */
.catfishnumr-dashboard-wrapper {
    max-width: 100% !important;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Prevent horizontal scroll on body when dashboard is active */
body:has(.catfishnumr-dashboard-wrapper),
body .catfishnumr-dashboard-wrapper {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Additional fix for older browsers - only when dashboard wrapper exists */
body.catfishnumr-dashboard-page,
body:has(.catfishnumr-dashboard-wrapper) {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Ensure all child elements respect container width */
.catfishnumr-dashboard-wrapper * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Prevent overflow on specific problematic elements */
.catfishnumr-dashboard-wrapper table,
.catfishnumr-dashboard-wrapper pre,
.catfishnumr-dashboard-wrapper code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
}

.catfishnumr-dashboard-wrapper img {
    max-width: 100%;
    height: auto;
}

.catfishnumr-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.catfishnumr-dashboard-header h1 {
    margin: 0;
}

.catfishnumr-dashboard-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dashboard-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.find-coupon-btn {
    background: #28a745;
    color: white;
}

.find-coupon-btn:hover {
    background: #218838;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.history-btn {
    background: #6c757d;
    color: white;
}

.history-btn:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.catfishnumr-credits-display {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credits-label {
    color: #6c757d;
}

.credits-count {
    font-size: 1.25rem;
    font-weight: bold;
    color: #28a745;
}

.buy-credits-btn {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.buy-credits-btn:hover {
    background: #0056b3;
    color: white;
}

/* Tabs Styles */
.catfishnumr-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 1.5rem;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-button.active {
    background: #007bff;
    color: white;
}

.tab-button:hover {
    background: #e9ecef;
}

.tab-button.active:hover {
    background: #0056b3;
}

.tab-content {
    display: none;
}

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

/* Form Styles */
.lookup-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.cn-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.cn-input-group input[type="tel"],
.cn-input-group input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    max-width: 100%;
}

.lookup-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
    font-size: 1rem;
    white-space: nowrap;
}

.lookup-btn:hover {
    background: #218838;
}

.lookup-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Status Messages */
.lookup-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.lookup-status.loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.lookup-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lookup-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Results Display */
.lookup-results {
    margin-top: 2rem;
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.lookup-results.active {
    display: block;
}

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

/* Dashboard Results Card */
.dashboard-results-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.dashboard-results-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-results-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-results-title .success-icon {
    font-size: 1.5rem;
    color: #4ade80;
}

.dashboard-results-title h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.dashboard-results-credits {
    display: flex;
    align-items: center;
}

.credits-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-results-content {
    padding: 2rem;
}

/* Dashboard Result Items */
.dashboard-result-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.dashboard-result-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dashboard-result-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.dashboard-result-content {
    flex: 1;
}

.dashboard-result-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-result-content p {
    margin: 0;
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}

/* Platforms Header */
.platforms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
    gap: 1rem;
}

.platforms-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.platforms-header-content .success-icon {
    font-size: 1.5rem;
    color: #4ade80;
}

.platforms-header-content h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.platforms-credits {
    display: flex;
    align-items: center;
}

.credits-badge-small {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Platform Card */
.platform-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

/* Platform Card Header */
.platform-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.platform-card-icon-wrapper {
    flex-shrink: 0;
}

.platform-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.platform-card-icon i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.platform-card-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-card-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    text-transform: capitalize;
}

.platform-card-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    align-self: flex-start;
}

/* Platform Card Content */
.platform-card-content {
    padding: 1.5rem;
    background: white;
    min-height: 120px;
}

.platform-card-empty {
    margin: 0;
    padding: 1rem 0;
    color: #6c757d;
    font-style: italic;
    text-align: center;
}

.platform-card-field {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.platform-card-field:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.platform-card-label {
    display: block;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-card-value {
    color: #2c3e50;
    font-size: 0.9375rem;
    line-height: 1.6;
    display: block;
    word-break: break-word;
}

/* Platform Card Tags (for breaches) */
.platform-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.platform-card-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #f8f9fa;
    color: #495057;
    border-radius: 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Nested Fields */
.platform-card-nested {
    margin-top: 0.5rem;
    padding-left: 0.75rem;
    border-left: 2px solid #e9ecef;
}

.platform-card-nested-item {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.platform-card-nested-item:last-child {
    margin-bottom: 0;
}

.platform-card-nested-label {
    font-weight: 600;
    color: #6c757d;
    margin-right: 0.5rem;
}

.platform-card-nested-value {
    color: #2c3e50;
    word-break: break-word;
}

.platform-card-empty-value {
    color: #adb5bd;
    font-style: italic;
    font-size: 0.875rem;
}

/* Deeply Nested Objects */
.platform-card-deeply-nested {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.platform-card-deeply-nested-item {
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.platform-card-deeply-nested-item:last-child {
    margin-bottom: 0;
}

.platform-card-deeply-nested-label {
    font-weight: 600;
    color: #495057;
    margin-right: 0.5rem;
    display: inline-block;
    min-width: 120px;
}

.platform-card-deeply-nested-value {
    color: #2c3e50;
    word-break: break-word;
}

/* JSON Display */
.platform-card-json {
    background: #2c3e50;
    color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.platform-card-json::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.platform-card-json::-webkit-scrollbar-track {
    background: #1a1d29;
    border-radius: 3px;
}

.platform-card-json::-webkit-scrollbar-thumb {
    background: #495057;
    border-radius: 3px;
}

.platform-card-json::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}

/* Notes/Warnings */
.platform-card-note {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.platform-card-note i {
    color: #ffc107;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.platform-card-note span {
    flex: 1;
    line-height: 1.5;
}

/* Boolean Values */
.platform-card-boolean {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.platform-card-boolean-true {
    background: #d4edda;
    color: #155724;
}

.platform-card-boolean-true i {
    color: #28a745;
}

.platform-card-boolean-false {
    background: #f8d7da;
    color: #721c24;
}

.platform-card-boolean-false i {
    color: #dc3545;
}

/* Special Array Items (front_schemas, spec_format) */
.platform-card-special-array {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-card-special-item {
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

/* Spec Format Styles */
.platform-card-spec-format {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-card-spec-field {
    padding: 0.75rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.platform-card-spec-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.platform-card-spec-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9375rem;
}

.platform-card-spec-type {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.platform-card-spec-value {
    margin-top: 0.5rem;
    color: #495057;
    word-break: break-word;
}

.platform-card-spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.platform-card-spec-list-item {
    padding: 0.5rem;
    background: #f8f9fa;
    border-left: 2px solid #667eea;
    border-radius: 4px;
    font-size: 0.875rem;
}

.platform-card-spec-list-field {
    margin-bottom: 0.25rem;
}

.platform-card-spec-list-field:last-child {
    margin-bottom: 0;
}

.platform-card-spec-list-label {
    font-weight: 600;
    color: #495057;
    margin-right: 0.5rem;
}

.platform-card-spec-list-value {
    color: #2c3e50;
}

/* List and Dict Formatting */
.platform-card-list {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-card-list-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 3px solid #667eea;
    border-radius: 6px;
    font-size: 0.875rem;
}

.platform-card-list-field {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.platform-card-list-field:last-child {
    margin-bottom: 0;
}

.platform-card-list-label {
    font-weight: 600;
    color: #495057;
    min-width: 100px;
    flex-shrink: 0;
}

.platform-card-list-value {
    color: #2c3e50;
    word-break: break-word;
    flex: 1;
}

.platform-card-dict {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-card-dict-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.platform-card-dict-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.platform-card-dict-label {
    font-weight: 600;
    color: #495057;
    min-width: 120px;
    flex-shrink: 0;
}

.platform-card-dict-value {
    color: #2c3e50;
    word-break: break-word;
    flex: 1;
}

/* Business Hours Styles */
.platform-card-business-hours {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-card-business-day {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.platform-card-business-day:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.platform-card-business-day-name {
    font-weight: 600;
    color: #495057;
    min-width: 100px;
    flex-shrink: 0;
}

.platform-card-business-hours-times {
    color: #2c3e50;
    word-break: break-word;
    flex: 1;
}

.platform-card-business-timezone {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.platform-card-business-timezone-label {
    font-weight: 600;
    color: #6c757d;
}

.platform-card-business-timezone-value {
    color: #495057;
}

/* Front Schema Styles */
.platform-card-front-schema {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-card-front-field {
    margin-bottom: 0.75rem;
}

.platform-card-front-field:last-child {
    margin-bottom: 0;
}

.platform-card-front-label {
    font-weight: 600;
    color: #495057;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.platform-card-front-value {
    color: #2c3e50;
    word-break: break-word;
}

.platform-card-front-image {
    margin-top: 0.5rem;
}

.platform-card-front-image img {
    max-width: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.platform-card-front-body {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.platform-card-front-body-item {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.875rem;
}

.platform-card-front-body-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.platform-card-front-body-label {
    font-weight: 600;
    color: #6c757d;
    margin-right: 0.5rem;
}

.platform-card-front-body-value {
    color: #2c3e50;
}

.platform-card-front-timeline {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.platform-card-front-timeline-item {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.platform-card-front-timeline-item:last-child {
    margin-bottom: 0;
}

.platform-card-front-timeline-label {
    font-weight: 600;
    color: #6c757d;
    margin-right: 0.5rem;
}

.platform-card-front-timeline-value {
    color: #2c3e50;
}

/* Dashboard Modules (Legacy) */
.dashboard-modules-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.dashboard-modules-header h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sources-count {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.dashboard-module-section {
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.dashboard-module-header {
    background: #e9ecef;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.dashboard-module-name {
    margin: 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
}

.dashboard-module-content {
    padding: 1.5rem;
}

.dashboard-module-field {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.dashboard-module-field:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dashboard-module-field-label {
    font-weight: 600;
    color: #495057;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-module-field-value {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    display: block;
    word-break: break-word;
}

.dashboard-module-field-value pre {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.875rem;
    margin: 0.5rem 0 0 0;
}

.dashboard-no-module-data {
    color: #6c757d;
    font-style: italic;
    margin: 0;
    padding: 1rem;
    text-align: center;
}

/* Social Profiles */
.social-profiles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-profile-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.social-profile-link i {
    font-size: 1.125rem;
}

/* Breaches */
.breaches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.breach-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #fee;
    color: #c33;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #fcc;
}

/* No Results */
.dashboard-no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.dashboard-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.dashboard-no-results p {
    margin: 0;
    font-size: 1.125rem;
}

/* Legacy Result Card (for backwards compatibility) */
.result-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-section {
    margin-bottom: 1.5rem;
}

.result-section h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.result-section p {
    color: #6c757d;
    margin: 0.25rem 0;
}

/* Lookup Statistics Cards */
.catfishnumr-lookup-stats-cards {
    margin-top: 3rem;
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-sizing: border-box;
    overflow-x: hidden;
}

.lookup-stats-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 0;
    max-width: 100%;
    min-height: 400px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-x: hidden;
}

.lookup-stats-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
    flex-shrink: 0;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.5rem;
    color: #667eea;
    display: block;
}

.phone-card .card-icon i {
    color: #667eea;
}

.email-card .card-icon i {
    color: #28a745;
}

.image-card .card-icon i {
    color: #ff6b6b;
}

.card-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    flex: 1;
}

.card-title h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
}

.card-count {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.card-items {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex: 1;
    min-height: 200px;
}

.card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f3f5;
    padding: 0.75rem 0;
    transition: background-color 0.2s ease;
}

.card-item.clickable-item {
    cursor: pointer;
}

.card-item.clickable-item .item-value,
.card-item.clickable-item .item-date {
    border-bottom: 1px solid #0056b3;
}

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

.card-item .item-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2c3e50;
    word-break: break-word;
    flex: 1;
}

.card-item .item-date {
    font-size: 0.8125rem;
    color: #6c757d;
    white-space: nowrap;
    margin-left: 1rem;
}

/* Full div styling for clickable items - apply to both cells (item-value and item-date) */
.card-item.clickable-item .item-value,
.card-item.clickable-item .item-date {
    padding: 0.5rem;
}

.card-item.clickable-item .item-value {
    padding: 0.5rem;
}

.card-item.clickable-item .item-date {
    padding: 0.5rem;
}



.card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-top: 1px solid #f1f3f5;
    padding: 1rem;
    flex-shrink: 0;
    margin-top: auto;
}

.show-more-btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.show-more-btn i {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

.show-more-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.card-item-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 200px;
    padding: 2rem;
}

.empty-message {
    color: #6c757d;
    font-size: 0.9375rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .catfishnumr-lookup-stats-cards {
        display: block;
    }
    
    .lookup-stats-card {
        display: block;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .card-header {
        display: block;
        padding: 1.25rem;
    }
    
    .card-icon {
        display: inline-block;
        margin-right: 1rem;
        vertical-align: middle;
    }
    
    .card-title {
        display: inline-block;
        padding-left: 0;
        vertical-align: middle;
    }
    
    .card-items {
        display: block;
    }
    
    .card-item {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f1f3f5;
    }
    
    .card-item.clickable-item {
        padding: 0.5rem;
        cursor: pointer;
        color: #004d99;
    }
    
    .card-item.clickable-item:hover {
        background-color: #0056b3;
    }
    
    .card-item .item-value {
        display: block;
        padding: 0;
        margin-bottom: 0.25rem;
    }
    
    .card-item .item-date {
        display: block;
        padding: 0;
        text-align: left;
        width: auto;
    }
    
    .card-footer {
        display: block;
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
}

/* Image Upload */
.image-upload-container {
    margin-bottom: 1rem;
}

/* History Modal */
.catfishnumr-history-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.history-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.history-modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    margin: 5vh auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.history-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.history-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.history-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.history-modal-close:hover {
    color: #dc3545;
}

.catfishnumr-history-wrapper {
    max-width: 1200px !important    ;
    margin: 2rem auto !important;
    padding: 0 1rem !important;
}

.history-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.history-loading {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.history-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.history-list {
    display: grid;
    gap: 1rem;
}

.history-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.history-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.history-item-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.history-item-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.history-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-item-query {
    font-weight: 500;
    color: #007bff;
}

.history-item.clickable {
    cursor: pointer;
}

.history-item.clickable:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.history-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
}

.history-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s;
}

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

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

.history-results-header-info {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
}

.history-results-header-info h2 {
    margin: 0 0 1rem 0;
    color: #2c3d50;
}

.history-results-meta {
    display: flex;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.history-results-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-api-response {
    margin-top: 2rem;
}

.history-api-response h3 {
    margin-bottom: 1rem;
    color: #2c3d50;
}

.history-json {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    max-height: 600px;
    overflow-y: auto;
}

.history-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.history-result-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
}

.history-result-item h4 {
    margin: 0 0 1rem 0;
    color: #2c3d50;
}

.history-error {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

.history-no-results {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.history-empty {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.history-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

/* Responsive */
@media (max-width: 768px) {
    .catfishnumr-dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .catfishnumr-dashboard-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .dashboard-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .catfishnumr-tabs {
        flex-direction: column;
    }
    
    .cn-input-group {
        flex-direction: column;
    }
    
    .lookup-btn {
        width: 100%;
        justify-content: center;
    }
    
    .history-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 2.5vh auto;
    }
    
    .history-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .history-modal-body {
        padding: 1rem;
    }
    
    /* Dashboard Results Mobile */
    .dashboard-results-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
    }
    
    .dashboard-results-title h2 {
        font-size: 1.25rem;
    }
    
    .dashboard-results-content {
        padding: 1.5rem;
    }
    
    .dashboard-result-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-result-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .dashboard-module-content {
        padding: 1rem;
    }
    
    .social-profiles-grid {
        flex-direction: column;
    }
    
    .social-profile-link {
        width: 100%;
        justify-content: center;
    }
    
    /* Platforms Grid Mobile */
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platforms-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .platform-card-header {
        padding: 1rem;
    }
    
    .platform-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .platform-card-title {
        font-size: 1rem;
    }
    
    .platform-card-content {
        padding: 1rem;
    }
}

/* Hide FilePond PQINA branding/credits */
.filepond--credits,
.filepond--credits *,
[class*="filepond--credits"],
[class*="filepond"][class*="credits"],
.filepond--root [data-credit],
.filepond--root a[href*="pqina"],
.filepond--root a[href*="filepond"],
.filepond--root::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide any "Powered by" text */
.filepond--root::before {
    content: none !important;
    display: none !important;
}

/* Hide any credit links or text containing PQINA/FilePond branding */
.filepond--root [href*="pqina"],
.filepond--root [href*="filepond"] {
    display: none !important;
    visibility: hidden !important;
}

