/* Contact Base Styles - Core styles and reset */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0f1419;
    min-height: 100vh;
    color: #1a202c;
    padding-top: 60px; /* For fixed navigation */
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    background: #ffffff;
    min-height: calc(100vh - 110px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* Typography */
h1 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

h2 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 16px;
    font-weight: 600;
}

p {
    font-size: 13px;
    line-height: 1.6;
}

/* Utility Classes */
.hide {
    display: none !important;
}

.show {
    display: block !important;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 24px 32px;
    border-bottom: 4px solid #1a2332;
}

.header h1 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header h1 i {
    font-size: 20px;
    opacity: 0.9;
}

.header p {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Blue Gradient Bar */
.blue-gradient-bar {
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Loading States */
.loading-indicator {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    color: #64748b;
}

.loading-indicator.hide {
    display: none;
}

/* Performance Indicator */
.performance-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 9999;
    font-size: 13px;
    font-weight: 500;
}

.performance-indicator.show {
    display: block;
    animation: slideUp 0.3s ease;
}

.performance-indicator.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.performance-indicator.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.performance-indicator.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.performance-indicator.info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Search Highlight */
.search-highlight {
    background-color: #fef08a;
    color: #713f12;
    font-weight: 600;
    padding: 1px 2px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
