/* Pegassi Team Racing - Branding Styles */

/* Header Branding */
.header-logo,
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo img,
.site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Pegassi Color Accents */
.accent-green {
    color: #5bc069;
}

.accent-yellow {
    color: #f6df1c;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.bg-pegassi-green {
    background-color: #5bc069;
}

.bg-pegassi-yellow {
    background-color: #f6df1c;
    color: #3a3a3a;
}

.bg-pegassi-anthracite {
    background-color: #3a3a3a;
}

/* Button Enhancements */
.btn.btn-primary,
.action-btn.primary {
    background: linear-gradient(135deg, #5bc069 0%, #4aac5a 100%);
    border-color: #5bc069;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.btn-primary:hover,
.action-btn.primary:hover {
    background: linear-gradient(135deg, #6ad079 0%, #5ac06a 100%);
    box-shadow: 0 0 15px rgba(91, 192, 105, 0.4);
    transform: translateY(-2px);
}

/* Yellow Accent Buttons */
.btn.btn-accent-yellow,
.action-btn.accent-yellow {
    background: linear-gradient(135deg, #f6df1c 0%, #f0d807 100%);
    border-color: #f6df1c;
    color: #3a3a3a;
    font-weight: 600;
}

.btn.btn-accent-yellow:hover,
.action-btn.accent-yellow:hover {
    background: linear-gradient(135deg, #ffed4d 0%, #f6df1c 100%);
    box-shadow: 0 0 15px rgba(246, 223, 28, 0.5);
}

/* Card Styling */
.card,
.event-card,
.participant-card,
.participants-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(91, 192, 105, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.card:hover,
.event-card:hover,
.participant-card:hover,
.participants-card:hover {
    border-color: rgba(91, 192, 105, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 8px 24px rgba(91, 192, 105, 0.15);
}

/* Section Headers */
.section-header {
    border-bottom: 2px solid #5bc069;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-header h2,
.section-header h3 {
    color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h2::before,
.section-header h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #5bc069 0%, #f6df1c 100%);
    border-radius: 2px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(91, 192, 105, 0.15);
    color: #5bc069;
    border: 1px solid rgba(91, 192, 105, 0.3);
}

.status-badge.approved {
    background: rgba(91, 192, 105, 0.2);
    color: #5bc069;
    border-color: #5bc069;
}

.status-badge.pending {
    background: rgba(246, 223, 28, 0.15);
    color: #f6df1c;
    border-color: #f6df1c;
}

.status-badge.denied {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border-color: #ff6b6b;
}

/* Table Styling */
.participants-table,
.events-table,
.results-table,
.users-table {
    border-collapse: separate;
    border-spacing: 0;
}

.participants-table thead,
.events-table thead,
.results-table thead,
.users-table thead {
    border-bottom: 2px solid #5bc069;
}

.participants-table thead th,
.events-table thead th,
.results-table thead th,
.users-table thead th {
    background: rgba(91, 192, 105, 0.1);
    color: #5bc069;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

.participants-table tbody tr:hover,
.events-table tbody tr:hover,
.results-table tbody tr:hover,
.users-table tbody tr:hover {
    background: rgba(91, 192, 105, 0.08);
}

/* Modal Styling */
.modal-content {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
    border: 1px solid rgba(91, 192, 105, 0.2);
    border-radius: 12px;
}

.modal-content h2,
.modal-content h3 {
    border-bottom: 2px solid #5bc069;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Form Elements */
.form-control,
.form-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(91, 192, 105, 0.2);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #5bc069;
    box-shadow: 0 0 12px rgba(91, 192, 105, 0.2);
    outline: none;
}

/* Gradient Overlays */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(91, 192, 105, 0.1) 0%, rgba(246, 223, 28, 0.05) 100%);
}

/* Pegassi Title */
.pegassi-title {
    background: linear-gradient(90deg, #5bc069 0%, #f6df1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.5rem;
}

/* Team Badge */
.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, #5bc069 0%, #f6df1c 100%);
    color: #3a3a3a;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Highlight Elements */
.highlight-green {
    background: rgba(91, 192, 105, 0.15);
    border-left: 4px solid #5bc069;
    padding-left: 1rem;
}

.highlight-yellow {
    background: rgba(246, 223, 28, 0.1);
    border-left: 4px solid #f6df1c;
    padding-left: 1rem;
}

/* Loading Animation */
@keyframes pegassi-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pegassi-loading {
    animation: pegassi-pulse 2s ease-in-out infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #3a3a3a;
}

::-webkit-scrollbar-thumb {
    background: #5bc069;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f6df1c;
}
