/* SUSY Venezuela Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --gradient-success: linear-gradient(135deg, #198754 0%, #146c43 100%);
    --gradient-warning: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #212529;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

/* Stats Section */
.stats-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

/* Step Numbers */
.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Card Hover Effects */
.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Level Cards */
.level-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.level-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.level-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 1rem;
}

/* Dashboard Styles */
.dashboard-sidebar {
    min-height: 100vh;
    background: var(--dark-color);
    color: white;
}

.dashboard-nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-nav-link i {
    width: 24px;
}

/* Status Badges */
.status-forming {
    background: #ffc107;
    color: #212529;
}

.status-active {
    background: #198754;
    color: white;
}

.status-completed {
    background: #0dcaf0;
    color: white;
}

.status-cancelled {
    background: #dc3545;
    color: white;
}

.status-pending {
    background: #ffc107;
    color: #212529;
}

.status-verified {
    background: #198754;
    color: white;
}

.status-rejected {
    background: #dc3545;
    color: white;
}

/* Payment Cards */
.payment-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.payment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

/* Level Progress */
.level-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.level-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

/* Notification Styles */
.notification-card {
    border-left: 4px solid transparent;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.notification-card.unread {
    background: #f8f9fa;
    border-left-color: var(--primary-color);
}

.notification-card.type-success {
    border-left-color: var(--success-color);
}

.notification-card.type-warning {
    border-left-color: var(--warning-color);
}

.notification-card.type-error {
    border-left-color: var(--danger-color);
}

/* Button Styles */
.btn-gradient-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #0d6efd 100%);
    color: white;
}

.btn-gradient-success {
    background: var(--gradient-success);
    border: none;
    color: white;
}

.btn-gradient-success:hover {
    background: linear-gradient(135deg, #146c43 0%, #198754 100%);
    color: white;
}

/* Form Styles */
.form-floating > .form-control:focus ~ label {
    color: var(--primary-color);
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #6c757d;
}

/* Table Styles */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background: var(--light);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stats-section {
        margin-top: 0;
    }
    
    .dashboard-sidebar {
        min-height: auto;
    }
    
    .dashboard-nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-white:hover {
    color: white !important;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

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

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}