/* Google Analytics Cookie Banner Styles - AVG/GDPR Compliant */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #007bff;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-title {
    margin: 0 0 8px 0;
    font-weight: bold;
    color: #ffffff;
}

.cookie-description {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ecf0f1;
}

.cookie-note {
    margin: 0;
    opacity: 0.8;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.cookie-banner .btn-accept {
    background: #28a745;
}

.cookie-banner .btn-accept:hover {
    background: #218838;
    transform: translateY(-1px);
}

.cookie-banner .btn-decline {
    background: #6c757d;
}

.cookie-banner .btn-decline:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner button {
        flex: 1;
        max-width: 150px;
    }
}

/* Consent message styles */
.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    color: inherit;
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

/* Visitor Counter Styles */
.visitor-counter-section {
    margin-top: 2rem;
}

.visitor-counter-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.counter-item {
    padding: 10px;
}

.counter-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.counter-label {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .counter-number {
        font-size: 1.5rem;
    }
    
    .counter-label {
        font-size: 0.8rem;
    }
}

/* Admin Statistics Styles */
.border-left-primary {
    border-left: 4px solid #007bff !important;
}

.card-body h6 {
    font-weight: 600;
}

.progress-bar {
    background-color: #007bff;
}

#generatedLink {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
