/* Seguro Shark - Design System Customizado */

:root {
    --primary-orange: #FF6B00;
    --primary-dark: #1A1A1A;
    --accent-yellow: #FFC400;
    --accent-blue: #003F5C;
    --light-gray: #F7F7F7;
    --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--light-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), #ff8533);
    color: white;
    box-shadow: var(--shadow-glow);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-outline {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

/* Cards */
.card {
    background: #2a2a2a;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary-orange);
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.2);
}

.card-premium {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 2px solid var(--primary-orange);
    box-shadow: var(--shadow-glow);
}

/* Input fields */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    color: white;
    transition: all 0.3s ease;
}

.input-field:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: #3a3a3a;
}

.timeline-item.completed::before {
    background: linear-gradient(180deg, var(--primary-orange), var(--accent-yellow));
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3a3a3a;
    border: 3px solid var(--primary-dark);
}

.timeline-item.completed .timeline-dot {
    background: var(--primary-orange);
    box-shadow: 0 0 10px var(--primary-orange);
}

/* Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

.badge-success {
    background: #10b981;
    color: white;
}

.badge-warning {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

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

.badge-info {
    background: var(--accent-blue);
    color: white;
}

.badge-primary {
    background: var(--primary-orange);
    color: white;
}

/* Animations */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

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

.loading-wheel {
    width: 4rem;
    height: 4rem;
    border: 4px solid #3a3a3a;
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin-slow 1s linear infinite;
}

/* Stats */
.stat-card {
    text-align: center;
    background: linear-gradient(135deg, #2a2a2a, var(--primary-dark));
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-orange);
}

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

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: #2a2a2a;
}

.table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-orange);
}

.table td {
    padding: 0.75rem 1rem;
    border-top: 1px solid #3a3a3a;
}

.table tbody tr:hover {
    background: #2a2a2a;
}

/* Car shine effect */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.car-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.car-image::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    left: -100%;
    animation: shine 3s infinite;
}
