/*
Theme Name: Scam Report Child Theme
Theme URI: http://example.com/scam-report-theme/
Author: Your Name
Author URI: http://example.com
Template: astra
Description: Child theme for scam reporting website - A WordPress theme for reporting online scams based on Astra
Version: 1.2.0
License: GPL v2 or later
Text Domain: scam-report
*/

/* Child theme custom styles will be added here */

/* Fix for scam report card layout */
.card-enhanced {
    flex: 1;
    min-width: 0;
}

/* Ensure proper grid item behavior */
.grid > .card-enhanced,
.grid > a {
    flex-shrink: 0;
    min-width: 0;
}

/* Thai Font Support */
body {
    font-family: 'Noto Sans Thai', 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Homepage Styles */
.scam-report-homepage {
    margin-top: -2rem; /* Offset theme header padding */
}

/* Hero Section - Magic UI Inspired */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}

.hero-title {
    position: relative;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.hero-subtitle {
    position: relative;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.admin-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    background: white;
    color: #0a0a0a;
    border: 1px solid #e4e4e7;
    transition: all 0.2s ease;
}

.contact-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.contact-button.facebook {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.contact-button.facebook:hover {
    background: #166fe5;
}

.contact-button.line {
    background: #00c300;
    color: white;
    border-color: #00c300;
}

.contact-button.line:hover {
    background: #00b200;
}

/* Search Section - Magic UI Inspired */
.search-section {
    background: #fafafa;
    padding: 4rem 0;
    position: relative;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e4e4e7, transparent);
}

.search-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.search-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 2rem;
}

.search-form {
    margin-bottom: 2rem;
}

.search-input-wrapper {
    display: flex;
    gap: 0.5rem;
    max-width: 42rem;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background: white;
    border: 2px solid #e4e4e7;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    outline: none;
}

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

.search-button {
    padding: 0.875rem 1.5rem;
    background: #0a0a0a;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-button:hover {
    background: #18181b;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.search-button:active {
    transform: scale(0.98);
}

.report-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    margin-top: 1rem;
    background: #ef4444;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.report-button:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.3);
}

.report-button:active {
    transform: scale(0.98);
}

/* Statistics Section - Magic UI Inspired */
.statistics-section {
    padding: 4rem 0;
    background: white;
}

.statistics-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.stat-card {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 255, 91, 0.1) 0%, transparent 100%);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(249, 255, 91, 0.5);
}

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

.stat-card i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-card p {
    color: #64748b;
    font-size: 1rem;
    position: relative;
}

/* Latest Scammers Section - Magic UI Inspired */
.latest-scammers-section {
    padding: 4rem 0;
    background: #fafafa;
}

.latest-scammers-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 3rem;
}

.scammers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.scammer-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    transition: all 0.3s ease;
}

.scammer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(249, 255, 91, 0.5);
}

.scammer-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.scammer-card img,
.no-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.no-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #a0aec0;
    font-size: 3rem;
}

.scammer-info {
    padding: 1.5rem;
}

.scammer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.website-url {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    word-break: break-all;
}

.scammer-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.scammer-stats i {
    margin-right: 0.25rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.status-verified {
    background: #f0fdf4;
    color: #16a34a;
}

.status-badge.status-suspicious {
    background: #fef3c7;
    color: #d97706;
}

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

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background 0.3s;
}

.view-all-button:hover {
    background: #5a67d8;
}

/* Top Scammers Section */
.top-scammers-section {
    padding: 3rem 0;
    background: white;
}

.top-scammers-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.top-scammers-list {
    max-width: 800px;
    margin: 0 auto;
}

.top-scammer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.3s;
}

.top-scammer-item:hover {
    background: #f8f9fa;
}

.rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    min-width: 3rem;
}

.scammer-details {
    flex: 1;
}

.scammer-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.scammer-details .url {
    color: #718096;
    font-size: 0.9rem;
}

.scammer-metrics {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
}

.scammer-metrics .reports {
    color: #4a5568;
}

.scammer-metrics .damage {
    color: #e53e3e;
    font-weight: 500;
}

/* Chat Preview Section */
.chat-preview-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.chat-preview-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.chat-preview {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.chat-info {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.chat-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background 0.3s;
}

.chat-button:hover {
    background: #5a67d8;
}

.no-data {
    text-align: center;
    color: #718096;
    padding: 2rem;
}

/* Magic UI Components */

/* Shimmer effect for loading */
.shimmer {
    background: linear-gradient(90deg, #f5f5f5 25%, #e5e5e5 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Glow effect */
.glow {
    box-shadow: 0 0 20px rgba(249, 255, 91, 0.5);
}

/* Glass morphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form Components - Magic UI Style */
.register-page {
    background: #fafafa;
    min-height: 100vh;
}

.form-container {
    max-width: 28rem;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e4e4e7;
}

.form-card.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0a0a0a;
}

.form-label .required {
    color: #ef4444;
}

.form-input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: white;
    border: 2px solid #e4e4e7;
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.2s ease;
}

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

.form-hint {
    font-size: 0.75rem;
    color: #64748b;
}

.otp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    width: 100%;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    text-decoration: none !important;
}

.btn-primary:visited,
.btn-primary:link,
.btn-primary:active {
    color: white !important;
    text-decoration: none !important;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    width: 100%;
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-1px);
    color: white !important;
    text-decoration: none !important;
}

.btn-facebook:visited,
.btn-facebook:link,
.btn-facebook:active {
    color: white !important;
    text-decoration: none !important;
}

.btn-link {
    background: none;
    color: #0a0a0a;
    text-decoration: underline;
    padding: 0.5rem;
}

.form-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.form-divider span {
    background: white;
    padding: 0 1rem;
    color: #64748b;
    position: relative;
    z-index: 1;
}

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

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
}

.form-footer .link {
    color: #0a0a0a;
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert ul {
    margin: 0;
    padding-left: 1rem;
    list-style: disc;
}

.otp-info {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.otp-info strong {
    color: #0a0a0a;
}

.otp-resend {
    text-align: center;
    margin-top: 1.5rem;
}

.otp-resend p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.timer-text {
    color: #64748b;
    font-size: 0.875rem;
}

/* Profile Page - Magic UI Style */
.profile-page {
    background: #fafafa;
    min-height: 100vh;
}

.profile-header {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-avatar {
    position: relative;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) border-box;
}

.user-rank-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #0a0a0a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-rank-badge.rank-แมว { background: #64748b; }
.user-rank-badge.rank-หมา { background: #3b82f6; }
.user-rank-badge.rank-นกฮูก { background: #8b5cf6; }
.user-rank-badge.rank-สิงโต { background: #f59e0b; }
.user-rank-badge.rank-มังกร { background: #ef4444; }

.profile-basic-info {
    margin-top: 1rem;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}



.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a0a0a;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e4e4e7;
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.tab-button:hover {
    color: #0a0a0a;
}

.tab-button.active {
    color: #0a0a0a;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
}

.tab-content.block {
    display: block !important;
}

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

/* Utility classes for show/hide */
.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

/* Profile specific tab content */
#settings-tab.tab-content.block {
    display: block !important;
}

#reports-tab.tab-content {
    display: none;
}

#reports-tab.tab-content.block {
    display: block !important;
}

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

.overview-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.overview-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Activity List */
.activity-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e4e4e7;
}

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

.activity-content a {
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 500;
}

.activity-content a:hover {
    color: #3b82f6;
}

.activity-time {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Rank Progress */
.rank-progress {
    text-align: center;
}

.current-rank, .next-rank {
    margin-bottom: 1rem;
}

.progress {
    width: 100%;
    height: 0.5rem;
    background: #e4e4e7;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    transition: width 0.5s ease;
}

/* Badges Grid */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.badge-item {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.badge-item.earned {
    background: #fef3c7;
    color: #d97706;
}

.badge-item.locked {
    background: #f3f4f6;
    color: #9ca3af;
    opacity: 0.5;
}

.badge-item i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Reports List */
.report-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.report-status.status-publish {
    background: #dcfce7;
    color: #16a34a;
}

.report-status.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.report-status.status-draft {
    background: #e0e7ff;
    color: #4338ca;
}

.report-content {
    flex: 1;
}

.report-content h4 {
    margin-bottom: 0.5rem;
}

.report-content a {
    color: #0a0a0a;
    text-decoration: none;
}

.report-content a:hover {
    color: #3b82f6;
}

.report-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.report-meta i {
    margin-right: 0.25rem;
}

/* Comments List */
.comment-item {
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-header a {
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 500;
}

.comment-date {
    font-size: 0.875rem;
    color: #64748b;
}

.comment-content {
    color: #4b5563;
}

/* Profile Form */
.profile-form {
    max-width: 600px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    background: #e4e4e7;
    color: #0a0a0a;
}

.btn-secondary:hover {
    background: #d4d4d8;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

/* Rank Progress Card in Profile Header */
.rank-progress-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #e2e8f0;
}

.rank-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-title i {
    color: #f59e0b;
}

.current-rank, .next-rank {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

.rank-progress-card .progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.rank-progress-card .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    transition: width 0.5s ease;
}

.points-needed {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.max-rank {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* No content messages */
.no-activity,
.no-reports,
.no-comments {
    text-align: center;
    color: #64748b;
    padding: 2rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-button {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scammers-grid {
        grid-template-columns: 1fr;
    }
    
    .top-scammer-item {
        flex-wrap: wrap;
    }
    
    .scammer-metrics {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }
}

/* Profile Management Styles */
.profile-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #3b82f6;
    font-size: 1.125rem;
}

.section-description {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #3b82f6;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    background-color: #ef4444;
}

.strength-fill.medium {
    background-color: #f59e0b;
}

.strength-fill.strong {
    background-color: #10b981;
}

.strength-fill.very-strong {
    background-color: #059669;
}

.strength-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.strength-text.weak {
    color: #ef4444;
}

.strength-text.medium {
    color: #f59e0b;
}

.strength-text.strong {
    color: #10b981;
}

.strength-text.very-strong {
    color: #059669;
}

/* Password Match Indicator */
.password-match {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.password-match.success {
    color: #10b981;
}

.password-match.error {
    color: #ef4444;
}

.password-match i {
    margin-right: 0.25rem;
}

/* Required Field Indicator */
.required {
    color: #ef4444;
    font-weight: 600;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.alert-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-success .success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 1rem;
}

.alert-success .success-content i {
    font-size: 3rem;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.alert-success .success-content h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.alert-success .success-content p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

.alert-success .success-content .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.alert-success .success-content .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3);
}

/* Button Variants */
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
}

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

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-actions .btn {
    min-width: 150px;
}

/* Profile Username Style */
.profile-username {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    margin-bottom: 0;
    font-weight: 400;
}

/* Login Page Styles */
.login-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
}

.login-box {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.login-box .form-group {
    margin-bottom: 1rem;
}

.login-box .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

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

.login-box .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.login-box .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.login-box .form-check-input {
    width: 1rem;
    height: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
}

.login-box .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.login-box .form-check-label {
    font-size: 0.875rem;
    color: #64748b;
    cursor: pointer;
    margin: 0;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.forgot-password-link {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.forgot-password-link a {
    color: #3b82f6;
    text-decoration: none;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

.forgot-password-link .separator {
    color: #94a3b8;
    margin: 0 0.5rem;
}

.btn-facebook {
    width: 100%;
    padding: 0.75rem;
    background: #1877f2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-facebook:hover:not(:disabled) {
    background: #166fe5;
    transform: translateY(-1px);
    color: white !important;
    text-decoration: none !important;
}

.btn-facebook:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Facebook-only login styles */
.social-login-main {
    margin: 2rem 0;
}

.social-login-main .alert {
    margin-bottom: 1rem;
}

.login-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 8px;
}

.login-info p {
    margin: 0.5rem 0;
    color: #475569;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-info i {
    color: #3b82f6;
    width: 20px;
    text-align: center;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #64748b;
}

.register-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Facebook Registration Styles */
.facebook-register-section {
    margin: 2rem 0;
    text-align: center;
}

.register-benefits {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 8px;
}

.register-benefits h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.register-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.875rem;
}

.register-benefits li i {
    color: #3b82f6;
    width: 20px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: #64748b;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

/* Auth Page Styles (Combined Login/Register) */
.auth-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.auth-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
}

.auth-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e4e4e7;
}

.auth-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.auth-tab:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.auth-tab.active {
    color: #3b82f6;
    background: white;
    border-bottom: 2px solid #3b82f6;
}

.auth-content {
    padding: 2.5rem;
}

.tab-content {
    display: none;
}

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

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #0a0a0a;
}

.auth-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.auth-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e4e4e7;
}

.auth-info p {
    margin: 0.5rem 0;
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-info i {
    color: #3b82f6;
    width: 16px;
    text-align: center;
}

/* Responsive adjustments for auth */
@media (max-width: 640px) {
    .auth-box {
        margin: 0.5rem;
    }
    
    .auth-content {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-tab {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}

/* Keep existing login/register styles for backward compatibility */
.login-page .auth-wrapper {
    max-width: 500px;
}

/* Responsive adjustments for login */
@media (max-width: 640px) {
    .login-box {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}

/* Forgot Password Page Styles */
.forgot-password-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.forgot-password-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
}

.forgot-password-box {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.forgot-password-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forgot-password-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-password-box .form-group {
    margin-bottom: 1rem;
}

.forgot-password-box .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

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

.forgot-password-box .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.forgot-password-box .form-hint {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.btn-forgot-password {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
}

.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.back-to-login a {
    color: #3b82f6;
    text-decoration: none;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* OTP Verification Styles */
.otp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
}

.otp-input::-webkit-inner-spin-button,
.otp-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-input[type="number"] {
    -moz-appearance: textfield;
}

.btn-verify-otp {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
}

.resend-otp {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.resend-otp a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.resend-otp a:hover {
    text-decoration: underline;
}

.resend-otp a.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive adjustments for forgot password */
@media (max-width: 640px) {
    .forgot-password-box {
        padding: 2rem 1.5rem;
    }
    
    .forgot-password-title {
        font-size: 1.5rem;
    }
}

/* Responsive Design for Profile Management */
@media (max-width: 768px) {
    .profile-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .profile-left {
        align-items: center;
        text-align: center;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .profile-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.125rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .password-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .password-toggle {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Report Page Styles */
.report-page .form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.report-page .submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-page .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

