/* Components Styles - 4FansLy Platform */

/* Header Component */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 280px;
    width: auto;
    filter: brightness(1.1) contrast(1.1);
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    letter-spacing: 1.2px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-btn i {
    margin-right: 5px;
}

/* Navigation Component */
.main-nav {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 16px 22px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-1px);
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: inset 0 -3px 0 #f093fb;
}

/* Sub Navigation */
.sub-nav {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sub-nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

.sub-nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 0;
    transition: all 0.3s;
    position: relative;
}

.sub-nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #ff1744, #ff6b9d);
    transition: width 0.3s;
}

.sub-nav-links a:hover {
    color: white;
}

.sub-nav-links a:hover::after {
    width: 100%;
}

/* Card Components */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.card-content {
    padding: 25px;
}

/* Sidebar Components */
.sidebar {
    background: white;
    border-radius: 0;
    padding: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    border: none;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    height: 100%;
    position: sticky;
    top: 0;
}

.search-box {
    position: relative;
    margin: 20px 15px 15px 15px;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    background: #f8f9fa;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-input:focus {
    border-color: #ff1744;
    outline: none;
    background: white;
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.sidebar-section {
    margin-top: 20px;
}

.sidebar-title {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.country-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.country-list li {
    border-bottom: 1px solid #f5f5f5;
}

.country-list li:last-child {
    border-bottom: none;
}

.country-list a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.country-list a:hover {
    background: linear-gradient(90deg, #f3f4f6, #e5e7eb);
    color: #667eea;
    padding-left: 22px;
}

.country-list img {
    width: 28px;
    height: 20px;
    margin-right: 12px;
    border-radius: 2px;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    object-fit: cover;
}

.country-list span {
    margin-left: auto;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 8px;
}

/* Modal Components */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-content {
    padding: 25px;
}

/* Filter Components */
.filter-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    border-color: rgba(102, 126, 234, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
    color: white;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
    font-weight: 800;
}

/* Tab Components */
.tab-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
    color: #333;
    transform: translateY(-1px);
}

/* Notification Component */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    z-index: 10001;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    max-width: 350px;
}

.notification.success {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

.notification.error {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.notification.info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Loading Component */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Badge Component */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: #667eea;
    color: white;
}

.badge-success {
    background: #00d2ff;
    color: white;
}

.badge-warning {
    background: #ffd700;
    color: #333;
}

.badge-danger {
    background: #ff4757;
    color: white;
}

.badge-secondary {
    background: #6c757d;
    color: white;
}

/* Tooltip Component */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
} 