/* Custom Styles - Compiled from SCSS */
/* Generated on October 29, 2025 */

/* Event Form Enhancements */
/* Enhanced Page Header Styling */
.page-header-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
    margin-bottom: 1.5rem;
}

.page-header-enhanced h4 {
    color: white;
}

.event-status-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.75rem;
}

.event-status-published {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.event-status-draft {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.event-status-cancelled {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Enhanced Navigation Pills */
.nav-pills {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.nav-pills .nav-link {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-pills .nav-link:hover:not(.active) {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Tab Icons - using simple emoji/unicode symbols as fallback */
.nav-pills .nav-link::before {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

/* Additional Event Form Utilities */
.event-image-preview {
    max-height: 120px;
    border-radius: .5rem;
    object-fit: cover;
}

.banner-preview {
    max-height: 160px;
    border-radius: .5rem;
    object-fit: cover;
    width: 100%;
}

.table-tight td,
.table-tight th {
    vertical-align: middle;
}

.table-responsive {
    overflow: visible !important;
}

.table-responsive>table {
    margin-bottom: 0;
}

.status-badge[data-title] {
    position: relative;
}

.status-badge[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    top: 100%;
    left: 0;
    white-space: nowrap;
    background: #000;
    color: #fff;
    font-size: .75rem;
    padding: .15rem .35rem;
    border-radius: .25rem;
    margin-top: .25rem;
}

.tiny-progress {
    height: 6px;
}

.search-input {
    max-width: 280px;
}

.cap-badge {
    font-variant-numeric: tabular-nums;
}

.badge-pill {
    border-radius: 10rem;
}

.date-display {
    color: #6c757d;
    font-size: 0.875rem;
}

.kv-list {
    max-height: calc(100vh - 220px);
    overflow: auto;
}

.word-break {
    word-break: break-all;
}

/* Email Queue Admin Styles */
.queue-stat-card {
    transition: all 0.2s ease-in-out;
}

.queue-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-pending {
    background-color: #fbbf24;
}

.status-processing {
    background-color: #3b82f6;
}

.status-sent {
    background-color: #10b981;
}

.status-failed {
    background-color: #ef4444;
}

/* Signup Page Styles */
.sub-desc {
    white-space: pre-wrap;
}

.form-help {
    font-size: .82rem;
    color: var(--bs-secondary-color, #6c757d);
}

.total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, .075);
    background: #fafafa;
    border-radius: 0 0 .5rem .5rem;
}

.total-amount {
    font-weight: 600;
    font-size: 1.1rem;
}

.option-price {
    opacity: .75;
    font-weight: 500;
    margin-left: .25rem;
}

.kbd {
    background: #f1f2f4;
    border: 1px solid #dcdfe3;
    padding: .1rem .35rem;
    border-radius: .25rem;
}

/* Roles Admin Styles */
.role-card .role-edit {
    cursor: pointer;
}

.avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: .8rem;
}

.bg-lightest {
    background: rgba(0, 0, 0, .06);
}

/* Profile Page Styles */
.avatar-frame {
    width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: .75rem;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid rgba(0, 0, 0, .06);
}

.avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* My Entries Page Styles */
.kv-list a {
    text-decoration: underline;
}

.file-frame {
    width: 100%;
    height: 70vh;
    border: 0;
}

.file-fallback {
    background: #f8f9fa;
    border: 1px dashed var(--bs-border-color);
    border-radius: .5rem;
    padding: 1rem;
}

/* Manage Profiles Modal Styles */


body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

.layout-wrapper,
.layout-container,
.layout-page {
    position: relative !important;
    z-index: auto !important;
}

.container-xxl {
    overflow: visible !important;
}

/* Index Page Event Cards */
.event-card .meta {
    font-size: .875rem;
    color: var(--bs-secondary-color, #6c757d);
}

.event-card .kv {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.event-card .kv .k {
    font-weight: 600;
}

.paginate-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

/* Form Builder Styles */
.field-card {
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    padding: 1rem;
}

.badge-type {
    font-size: .75rem;
}

.opt-chip {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    padding: .15rem .5rem;
    margin: .15rem .25rem 0 0;
}

.opt-price {
    opacity: .75;
    margin-left: .25rem;
}

/* Event Page Styles */
.user-profile-header-banner img {
    object-fit: cover;
}

.event-badge {
    font-size: .7rem;
    letter-spacing: .04em;
}

.user-profile-img {
    background: #fff;
}

.btn-details {
    padding: .15rem .5rem;
    font-size: .75rem;
}

/* Event Wizard Styles */
.wizard-steps {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.wizard-step {
    padding: .5rem .75rem;
    border-radius: .5rem;
    border: 1px solid var(--bs-border-color);
    background: #fff;
    font-weight: 600;
}

.wizard-step.active {
    color: #fff;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.wizard-step.done {
    background: var(--bs-success-bg-subtle);
    border-color: var(--bs-success-border-subtle);
    color: var(--bs-success-text);
}

/* Event Detail Styles */
fieldset.view-only :is(input, textarea, select, button[type=submit], .form-check-input) {
    pointer-events: none;
    opacity: .9;
}

.payload-total {
    font-weight: 600;
}

.offcanvas-lg {
    width: 520px;
}

.badge-total {
    font-size: .9rem;
}

/* Index Page Additional Styles */
@media (max-width: 576px) {
    .paginate-wrap {
        gap: .5rem;
    }
}

.badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.badge i {
    margin-right: 0.125rem;
}

.organiser-event-card {
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb;
}

.organiser-event-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.organiser-stats-grid {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
}

.stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.15s ease-in-out;
}

.stat-card:hover {
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.progress-thin {
    height: 4px;
    border-radius: 2px;
}

.stat-card.border-2 {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card.border-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.primary-status-icon {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    display: block;
}

/* Form Builder Additional Utilities */
.w-84 {
    width: 84px;

/* Event Form Visual Enhancements */
.nav-pills .nav-link .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
}

.status-indicator {
    min-width: 20px;
    text-align: center;
}

.progress-bar {
    transition: width 0.3s ease-in-out;
}

.logo-preview-wrapper,
.banner-preview-wrapper {
    position: relative;
    overflow: hidden;
}

.logo-preview-wrapper::before,
.banner-preview-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0,0,0,0.1) 50%, transparent 51%);
    pointer-events: none;
    z-index: 1;
}

.event-image-preview:hover,
.banner-preview:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out;
}

.bulk-actions-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

.form-label i {
    opacity: 0.7;
}

.card-title i {
    opacity: 0.8;
}
}