/* Blacklist Page Styles */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
}

/* Hide hero background */
.hero-background {
    display: none !important;
}

.blacklist-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 2rem 1rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blacklist-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Policy Card */
.policy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    animation: slideInUp 0.8s ease-out 0.1s both;
}

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

.policy-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444 ;
    flex-shrink: 0;
}

.policy-icon svg {
    width: 28px;
    height: 28px;
}

.policy-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem;
}

.policy-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

/* Blacklist Section */
.blacklist-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

/* Blacklist Grid */
.blacklist-grid {
    display: grid;
    gap: 1.5rem;
}

.blacklist-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.blacklist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.url-section {
    flex: 1;
    min-width: 0;
}

.url-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f59e0b;
    word-break: break-all;
    margin-bottom: 0.5rem;
}

.url-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blocked-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.blocked-info svg {
    width: 14px;
    height: 14px;
}

.entry-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    white-space: nowrap;
}

.status-indicator svg {
    width: 16px;
    height: 16px;
}

/* Reason Section */
.reason-section {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reason-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.reason-header svg {
    width: 16px;
    height: 16px;
}

.reason-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #10b981;
}

.empty-icon svg {
    width: 48px;
    height: 48px;
}

.empty-state h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Help Card */
.help-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.help-icon {
    width: 60px;
    height: 60px;
    background: rgba(147, 51, 234, 0.2);
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9333ea;
    flex-shrink: 0;
}

.help-icon svg {
    width: 28px;
    height: 28px;
}

.help-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem;
}

.help-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.help-link {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-link:hover {
    color: #f97316;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .blacklist-wrapper {
        padding: 1rem;
    }

    .policy-card,
    .help-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .blacklist-section {
        padding: 1.5rem;
    }

    .item-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .status-indicator {
        align-self: flex-start;
    }

    .url-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .policy-card,
    .blacklist-section,
    .help-card {
        padding: 1.25rem;
    }

    .empty-state {
        padding: 3rem 1.5rem;
    }
}
