.card-gallery img{
    width: auto;
}

/* Large Registration Buttons Styling */
.registration-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-registration-large {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    min-width: 200px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-registration-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-registration-large i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

/* Primary Registration Button - Bright Red */
.btn-registration-primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-color: transparent;
}

.btn-registration-primary:hover {
    background: transparent;
    color: #dc3545;
    border-color: #dc3545;
}

.btn-registration-primary:active {
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
    border-color: #c82333;
    transform: translateY(0);
}

/* Secondary Registration Button - Dark Red */
.btn-registration-secondary {
    background: linear-gradient(135deg, #8b0000 0%, #660000 100%);
    color: white;
    border-color: transparent;
}

.btn-registration-secondary:hover {
    background: transparent;
    color: #8b0000;
    border-color: #8b0000;
}

.btn-registration-secondary:active {
    background: rgba(139, 0, 0, 0.1);
    color: #660000;
    border-color: #660000;
    transform: translateY(0);
}

/* Check Rider Registration Card Styling */
.check-rider-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.check-rider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Rider Profile Card Styling */
.rider-profile-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-icon-wrapper {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* Info Cards Styling */
.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f8f9fa;
    font-size: 1rem;
}

.info-content {
    space-y: 1rem;
}

.info-item {
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

/* Form Section Styling */
.form-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
}

.form-group-enhanced {
    position: relative;
}

.form-group-enhanced .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group-enhanced .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    transform: translateY(-1px);
}

.form-group-enhanced .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-helper {
    margin-top: 0.5rem;
}

.form-helper small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Icon Wrapper */
.icon-wrapper {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.check-input-group {
    position: relative;
}

.check-input-group .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.check-input-group .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.check-input-group .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-check-enhanced {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    border: none;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-check-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-check-enhanced:hover::before {
    left: 100%;
}

.btn-check-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: white;
}

.btn-check-enhanced:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.card-header-custom {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem 2rem;
    border: none;
}

.form-floating-custom {
    position: relative;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
    margin: 2rem 0;
    border: none;
}

/* Button Outline Secondary Custom */
.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
    border-radius: 12px;
    /*padding: 1rem 1.5rem;*/
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

/* Form Group Enhanced - Textarea Styling */
.form-group-enhanced textarea.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

.form-group-enhanced textarea.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    transform: translateY(-1px);
}

.form-group-enhanced textarea.form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
    font-style: italic;
}

/* Rider Photo Styling */
.rider-photo-container {
    position: relative;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.rider-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.rider-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.rider-photo-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rider-photo-placeholder:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #adb5bd;
}

.rider-photo-placeholder i {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.rider-photo-placeholder:hover i {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Info Header Justify Center */
.info-header.justify-content-center {
    justify-content: center;
}

/* Enhanced Info Card for Photo Section */
.info-card .rider-photo-container {
    margin-top: 0.5rem;
}

/* Textarea Character Counter (Optional Enhancement) */
.form-group-enhanced.with-counter {
    position: relative;
}

.form-group-enhanced.with-counter::after {
    content: attr(data-counter);
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.75rem;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

/* Registration Actions Styling */
.registration-actions {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.registration-actions .btn {
    min-height: 60px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.registration-actions .btn-registration-large {
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.25);
}

.registration-actions .btn-registration-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.35);
}

.registration-actions .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.registration-actions .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

/* Enhanced Profile Header Styling */
.profile-header-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(40, 167, 69, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.profile-header-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8, #007bff);
    border-radius: 20px 20px 0 0;
}

.profile-icon-wrapper-enhanced {
    position: relative;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.profile-icon-wrapper-enhanced:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.success-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.success-indicator i {
    color: #28a745;
    font-size: 0.8rem;
}

.profile-header-content {
    padding-left: 1rem;
}

.profile-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.profile-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-badges .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Divider */
.enhanced-divider {
    display: flex;
    align-items: center;
    margin: 2.5rem 0;
    position: relative;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.divider-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.divider-icon i {
    color: #6c757d;
    font-size: 1.2rem;
}

/* Rider Info Grid */
.rider-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rider-info-item {
    animation: fadeInUp 0.6s ease-out;
}

.rider-info-item:nth-child(1) { animation-delay: 0.1s; }
.rider-info-item:nth-child(2) { animation-delay: 0.2s; }
.rider-info-item:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced Info Cards */
.info-card-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.info-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.card-header-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.card-icon.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.card-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.card-title h6 {
    font-weight: 700;
    color: #212529;
    font-size: 1rem;
}

.card-content {
    padding: 1.5rem;
}

/* Enhanced Info Items */
.info-item-enhanced {
    margin-bottom: 1.5rem;
}

.info-item-enhanced:last-child {
    margin-bottom: 0;
}

.info-label-enhanced {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.info-value-enhanced {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-value-enhanced:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-badge .badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Enhanced Photo Styling */
.rider-photo-container-enhanced {
    position: relative;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.rider-photo-enhanced {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.rider-photo-enhanced:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.rider-photo-placeholder-enhanced {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
    padding: 1rem;
}

.rider-photo-placeholder-enhanced:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #adb5bd;
    transform: scale(1.02);
}

.placeholder-icon {
    margin-bottom: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.rider-photo-placeholder-enhanced:hover .placeholder-icon {
    opacity: 0.8;
    transform: scale(1.1);
}

.placeholder-icon i {
    color: #6c757d;
}

.placeholder-text p {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.placeholder-text small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-buttons-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-registration-large {
        min-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .check-rider-card, .rider-profile-card {
        margin: 1rem;
        padding: 1.5rem !important;
    }

    .icon-wrapper, .profile-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .btn-check-enhanced {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .info-card {
        margin-bottom: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .rider-photo-container {
        max-width: 150px;
    }

    .rider-photo,
    .rider-photo-placeholder {
        height: 150px;
    }

    .rider-photo-placeholder i {
        font-size: 3rem;
    }

    .form-group-enhanced textarea.form-control {
        min-height: 100px;
        font-size: 0.95rem;
    }

    .form-section {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .registration-actions {
        padding: 1rem;
        margin-top: 1rem;
    }

    .registration-actions .btn {
        min-height: 50px;
        font-size: 1rem;
    }

    .registration-actions .row {
        flex-direction: column;
    }

    .registration-actions .col-md-4 {
        margin-top: 0.75rem;
    }

    .form-group-enhanced textarea.form-control {
        min-height: 80px;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .btn-registration-large {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        min-width: 100%;
    }

    .btn-registration-large i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    .check-rider-card, .rider-profile-card {
        border-radius: 16px !important;
        margin: 0.5rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .info-value {
        font-size: 1rem;
    }

    .rider-photo-container {
        max-width: 120px;
    }

    .rider-photo,
    .rider-photo-placeholder {
        height: 120px;
    }

    .rider-photo-placeholder i {
        font-size: 2.5rem;
    }

    .form-group-enhanced textarea.form-control {
        min-height: 80px;
        padding: 0.75rem 1rem;
    }

    .info-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
}

/* Enhanced Profile Header Styling */
.profile-header-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(40, 167, 69, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.profile-header-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8, #007bff);
    border-radius: 20px 20px 0 0;
}

.profile-icon-wrapper-enhanced {
    position: relative;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.profile-icon-wrapper-enhanced:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.success-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.success-indicator i {
    color: #28a745;
    font-size: 0.8rem;
}

.profile-header-content {
    padding-left: 1rem;
}

.profile-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.profile-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-badges .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Divider */
.enhanced-divider {
    display: flex;
    align-items: center;
    margin: 2.5rem 0;
    position: relative;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.divider-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.divider-icon i {
    color: #6c757d;
    font-size: 1.2rem;
}

/* Rider Info Grid */
.rider-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rider-info-item {
    animation: fadeInUp 0.6s ease-out;
}

.rider-info-item:nth-child(1) { animation-delay: 0.1s; }
.rider-info-item:nth-child(2) { animation-delay: 0.2s; }
.rider-info-item:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced Info Cards */
.info-card-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.info-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.card-header-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.card-icon.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.card-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.card-title h6 {
    font-weight: 700;
    color: #212529;
    font-size: 1rem;
}

.card-content {
    padding: 1.5rem;
}

/* Enhanced Info Items */
.info-item-enhanced {
    margin-bottom: 1.5rem;
}

.info-item-enhanced:last-child {
    margin-bottom: 0;
}

.info-label-enhanced {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.info-value-enhanced {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-value-enhanced:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-badge .badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Enhanced Photo Styling */
.rider-photo-container-enhanced {
    position: relative;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.rider-photo-enhanced {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.rider-photo-enhanced:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.rider-photo-placeholder-enhanced {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
    padding: 1rem;
}

.rider-photo-placeholder-enhanced:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #adb5bd;
    transform: scale(1.02);
}

.placeholder-icon {
    margin-bottom: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.rider-photo-placeholder-enhanced:hover .placeholder-icon {
    opacity: 0.8;
    transform: scale(1.1);
}

.placeholder-icon i {
    color: #6c757d;
}

.placeholder-text p {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.placeholder-text small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Responsive Design for Enhanced Cards */
@media (max-width: 992px) {
    .rider-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profile-header-enhanced {
        padding: 1.5rem;
    }

    .profile-icon-wrapper-enhanced {
        width: 70px;
        height: 70px;
    }

    .profile-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .rider-info-grid {
        gap: 1rem;
    }

    .profile-header-enhanced {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .profile-header-enhanced .row {
        text-align: center;
    }

    .profile-header-content {
        padding-left: 0;
        margin-top: 1rem;
    }

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

    .rider-photo-container-enhanced {
        max-width: 180px;
    }

    .rider-photo-enhanced,
    .rider-photo-placeholder-enhanced {
        height: 180px;
    }

    .card-header-enhanced {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .card-content {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .profile-title {
        font-size: 1.25rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .profile-subtitle {
        font-size: 1rem;
    }

    .profile-badges .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .rider-photo-container-enhanced {
        max-width: 150px;
    }

    .rider-photo-enhanced,
    .rider-photo-placeholder-enhanced {
        height: 150px;
    }

    .placeholder-icon i {
        font-size: 2rem;
    }
}

