/* ============================================
   PROFILE STYLES
   Merged from: profile-enhanced.css & profile-cards.css
   ============================================ */

/* Note: Variables inherited from tokens.css */

/* ── Enhanced Profile Header Card ── */
.profile-header-enhanced {
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.profile-banner {
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.profile-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px);
    animation: carbonFiber 20s linear infinite;
}

@keyframes carbonFiber {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

.profile-info-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    margin-top: -60px;
}

.profile-avatar-enhanced {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-glow-red), 0 8px 24px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    background: var(--color-bg-surface);
    position: relative;
    z-index: 2;
}

.profile-avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-glow-red);
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.2) 0%, rgba(20, 20, 20, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-primary);
}

.profile-details {
    flex: 1;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-username {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.profile-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.2) 0%, rgba(230, 0, 0, 0.1) 100%);
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-badge i {
    color: var(--color-primary);
}

/* ── Enhanced Stats Cards ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-grid .stats-card-enhanced {
    margin-bottom: 0;
}

.stats-card-enhanced {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stats-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.stats-card-enhanced:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(230, 0, 0, 0.2);
}

.stats-card-enhanced:hover::before {
    opacity: 1;
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.stats-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-glow-red);
    animation: countUp 0.6s ease-out;
}

.stats-value.success {
    background: linear-gradient(135deg, var(--color-success) 0%, #00C853 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-label {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    font-weight: 600;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Enhanced Vehicle Cards ── */
.vehicle-card-enhanced {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.vehicle-card-enhanced:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 32px rgba(230, 0, 0, 0.2);
}

.vehicle-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.vehicle-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card-enhanced:hover .vehicle-image-container img {
    transform: scale(1.1);
}

.vehicle-placeholder-themed {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: var(--color-primary);
    gap: 1rem;
}

.vehicle-placeholder-themed i {
    font-size: 3.5rem;
    opacity: 0.2;
    filter: drop-shadow(0 0 10px rgba(230, 0, 0, 0.3));
}

.vehicle-badge-racing {
    position: absolute;
    top: 15px;
    right: -5px;
    background: var(--color-primary);
    color: white;
    padding: 6px 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: skewX(-15deg);
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vehicle-overlay-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    z-index: 4;
}

.vehicle-card-enhanced:hover .vehicle-overlay-fade {
    opacity: 1;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    backdrop-filter: blur(5px);
}

.edit-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.edit-btn:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

.delete-btn {
    background: rgba(230, 0, 0, 0.2);
    color: var(--color-primary);
}

.delete-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.vehicle-content-refined {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.vehicle-title-modern {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.vehicle-id-tag {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.vehicle-specs-refined {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.spec-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.spec-badge i {
    font-size: 0.9rem;
    opacity: 0.6;
}

.spec-badge.primary {
    border-color: rgba(230, 0, 0, 0.3);
    color: var(--color-primary-light);
}

.spec-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.vehicle-timeline-mini {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.timeline-header i {
    color: var(--color-primary);
    margin-right: 4px;
}

.timeline-header .count {
    color: var(--color-text-secondary);
    font-weight: 600;
}

.timeline-empty {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--color-text-muted);
    opacity: 0.6;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 5px var(--color-primary);
}

.timeline-item .label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Ultra-Premium Vehicle Cards (My Vehicles) ── */
.vehicle-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.vehicle-card-ultra {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vehicle-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 10;
    opacity: 0.5;
}

.vehicle-card-ultra:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(230, 0, 0, 0.4);
    box-shadow: 0 20px 40px rgba(230, 0, 0, 0.15), 0 0 20px rgba(230, 0, 0, 0.1) inset;
}

.vc-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.vc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.85);
}

.vehicle-card-ultra:hover .vc-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.vc-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 15, 15, 1) 0%, transparent 100%);
    z-index: 2;
}

.vc-badge-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vc-id-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.vc-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    opacity: 0;
    z-index: 5;
    transition: all 0.3s ease;
}

.vehicle-card-ultra:hover .vc-actions {
    opacity: 1;
}

.vc-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.vc-btn-edit:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.vc-btn-delete {
    color: #ff4d4d;
}

.vc-btn-delete:hover {
    background: #ff4d4d;
    color: #fff;
    border-color: #ff4d4d;
    transform: scale(1.1);
}

.vc-content {
    padding: 1.5rem;
    position: relative;
    z-index: 3;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vc-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.vc-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.vc-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.vc-spec-item:last-child {
    border-right: none;
}

.vc-spec-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.vc-spec-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Courier New', monospace;
}

.vc-spec-val.glowing {
    color: var(--color-primary-light);
    text-shadow: 0 0 10px rgba(230, 0, 0, 0.5);
}

.vc-track-record {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.vc-tr-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.vc-tr-header i {
    color: var(--color-primary);
}

.vc-tr-nodes {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 10px 0;
}

.vc-tr-nodes::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 1;
}

.vc-node {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #111;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    cursor: help;
    transition: all 0.2s;
}

.vc-node.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.4);
    background: rgba(230, 0, 0, 0.1);
}

.vc-node i {
    font-size: 0.6rem;
    color: var(--color-text-muted);
}

.vc-node.active i {
    color: var(--color-primary);
}

.vc-node:hover {
    transform: scale(1.2);
    border-color: #fff;
}

.vc-empty-state {
    grid-column: 1 / -1;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.vc-empty-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.05));
}

/* ── Enhanced Table ── */
.table-enhanced {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-bg-surface);
    border-radius: 12px;
    overflow: hidden;
}

.table-enhanced thead {
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, rgba(20, 20, 20, 0.8) 100%);
}

.table-enhanced th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-main);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-primary);
}

.table-enhanced tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: all 0.2s;
}

.table-enhanced tbody tr:hover {
    background: rgba(230, 0, 0, 0.05);
}

.table-enhanced td {
    padding: 1.25rem 1.5rem;
    color: var(--color-text-secondary);
}

.table-enhanced .lap-time {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
    text-shadow: var(--shadow-glow-red);
}

/* Badge Animations */
.badge-verified {
    background: linear-gradient(135deg, var(--color-success) 0%, #00C853 100%);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    animation: pulse 2s infinite;
}

.badge-pending {
    background: linear-gradient(135deg, var(--color-warning) 0%, #FFC107 100%);
    color: #000;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.status-submitted {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.status-unassigned {
    background: transparent;
    border: 1px solid var(--color-danger);
    color: var(--color-danger);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.unassigned-badge {
    background: rgba(230, 0, 0, 0.1);
    border: 1px dashed var(--color-danger);
    padding: 1rem;
    border-radius: 8px;
    color: #ff4d4d;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ── Registration Cards (From profile-cards.css) ── */
.registration-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.registration-card-header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent);
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.registration-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.registration-card-footer {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--color-border);
}

.event-date-badge {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.2);
}

.upload-zone:hover {
    border-color: var(--color-primary);
    background: rgba(230, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-info-container {
        flex-direction: column;
        text-align: center;
        margin-top: -80px;
    }

    .profile-meta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .profile-banner {
        height: 150px;
    }

    .profile-avatar-enhanced,
    .profile-avatar-placeholder {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .stats-value {
        font-size: 2.5rem;
    }

    .vehicle-image-container {
        height: 180px;
    }
}

/* ── Premium Form Containers ── */
.form-container-premium {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 850px;
    margin: 2rem auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
}

.form-section-header {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(230, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section-header:first-child {
    margin-top: 0;
}

.form-label-premium {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.form-control-premium {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.85rem 1.25rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.15);
}

/* ── Type Selector ── */
.type-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.type-choice {
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.type-choice input {
    position: absolute;
    opacity: 0;
}

.type-choice .choice-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.type-choice i {
    font-size: 2rem;
    color: var(--color-text-muted);
    transition: all 0.3s;
}

.type-choice span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.type-choice.active,
.type-choice:hover {
    border-color: var(--color-primary);
    background: rgba(230, 0, 0, 0.05);
}

.type-choice.active i {
    color: var(--color-primary);
    transform: scale(1.1);
}

.type-choice.active span {
    color: white;
}

/* ── Media Upload ── */
.media-upload-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.image-preview-box-enhanced {
    width: 200px;
    height: 133px;
    /* 3:2 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.image-preview-box-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    padding: 1rem;
}

.preview-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.preview-placeholder p {
    font-size: 0.7rem;
    line-height: 1.2;
}

.hidden-input {
    display: none;
}

/* ── Form Layout Utilities ── */
.grid-3-1 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1.5rem;
}

.form-actions-extended {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .form-container-premium {
        padding: 1.5rem;
    }

    .media-upload-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-preview-box-enhanced {
        margin: 0 auto;
    }

    .grid-3-1 {
        grid-template-columns: 1fr;
    }
}

/* ── Profile Completion Progress ── */
.profile-progress-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.progress-percentage {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.3);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Smart Onboarding Cards ── */
.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.onboarding-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.onboarding-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(230, 0, 0, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.onboarding-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.onboarding-card:hover::after {
    transform: translateX(100%);
}

.onboarding-icon {
    width: 60px;
    height: 60px;
    background: rgba(230, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.onboarding-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #fff;
}

.onboarding-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.onboarding-action {
    margin-left: auto;
    color: var(--color-text-muted);
    transition: transform 0.3s;
}

.onboarding-card:hover .onboarding-action {
    transform: translateX(5px);
    color: var(--color-primary);
}

/* ── Activity Stream Cards ── */
.activity-stream {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.2s;
}

.activity-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.activity-main {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.activity-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.activity-meta {
    text-align: right;
    min-width: 120px;
}

.activity-time {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.activity-date {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* ── Redesigned Registration Cards ── */
.registration-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.registration-card-premium {
    background: linear-gradient(145deg, #1e1e1e, #141414);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.reg-card-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.reg-event-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.reg-status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reg-body {
    padding: 1.5rem;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.reg-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reg-detail-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.reg-detail-value {
    font-size: 0.9rem;
    color: #eee;
    font-weight: 600;
}

.reg-footer {
    padding: 1.25rem 1.5rem;
    background: rgba(230, 0, 0, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.reg-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

@media (max-width: 480px) {
    .registration-grid-premium {
        grid-template-columns: 1fr;
    }

    .reg-body {
        grid-template-columns: 1fr;
    }
}