/* Custom styles for DMCA Takedown System */

/* Brand colors */
:root {
    --brand-navy: #121642;
    --brand-gold: #FFBF00;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-bottom: 2rem;
}

.navbar {
    background-color: var(--brand-navy) !important;
    padding: 1rem 0;
    border-bottom: 3px solid var(--brand-gold);
}

.navbar-brand span {
    color: var(--brand-gold) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.navbar-text {
    color: var(--brand-gold) !important;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.btn-outline-light {
    border-color: var(--brand-gold) !important;
    color: var(--brand-gold) !important;
}

.btn-outline-light:hover {
    background-color: var(--brand-gold) !important;
    color: var(--brand-navy) !important;
}

.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.card-header, .modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 191, 0, 0.25);
}

.form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.form-select:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 191, 0, 0.25);
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    padding: 0.75rem 1.5rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #ffd84d 100%);
    border: none;
    color: #121642;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--brand-gold);
    color: #121642;
}

.btn-outline-primary {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--brand-gold);
    color: #121642;
    border-color: var(--brand-gold);
}

.btn-outline-secondary {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background: var(--brand-navy);
    color: #fff;
    border-color: var(--brand-navy);
}

h1, h2, h3, h4, h5, h6, .stat-label {
    color: var(--brand-navy);
}

/* Status badges */
.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem;
}

.status-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.status-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* URL check results */
.url-result-item {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid;
}

.url-result-success {
    background-color: #f8fff9;
    border-left-color: var(--brand-gold);
}

.url-result-warning {
    background-color: #fffbf0;
    border-left-color: var(--brand-gold);
}

.url-result-danger {
    background-color: #fff5f5;
    border-left-color: #dc3545;
}

.url-result-info {
    background-color: #f0f8ff;
    border-left-color: var(--brand-navy);
}

/* Statistics cards */
.stat-card {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-gold);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search results */
.search-result-item {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease-in-out;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    border-color: var(--brand-gold);
}

.search-result-url {
    font-weight: 600;
    color: var(--brand-navy);
    word-break: break-all;
}

.search-result-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Table styling */
.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.table thead th {
    background-color: var(--brand-navy);
    color: var(--brand-gold);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.table tbody tr:hover {
    background-color: rgba(255, 191, 0, 0.1);
}

/* Loading animations */
.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
    }
    
    .navbar-brand span {
        font-size: 1.1rem !important;
    }
}

/* Modal customizations */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

/* Progress bars */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Tooltips */
.tooltip-inner {
    background-color: #212529;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffd84d;
}

/* Animation for results */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Success/Error messages */
.alert {
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
} 