/* Fundnation Events - Custom Styles */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #e2014d;
    --primary-dark: #b8013d;
    --primary-light: #ff2167;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #1a1a2e;
    --sidebar-bg: #1a1a2e;
    --sidebar-hover: #16213e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f7fa;
    color: #2d3748;
    font-size: 14px;
    line-height: 1.6;
}

/* Login Pages */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.login-header {
    background: linear-gradient(135deg, #e2014d 0%, #b8013d 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.login-header img.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.login-header h2 {
    margin: 10px 0 0 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-header p {
    margin: 8px 0 0 0;
    opacity: 0.95;
    font-size: 15px;
    font-weight: 400;
}

.login-body {
    padding: 35px 30px;
}

.form-floating {
    margin-bottom: 18px;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(226, 1, 77, 0.1);
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 1, 77, 0.3);
}

.btn-login {
    width: 100%;
    padding: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 1, 77, 0.2);
}

/* Login Page Button Enhancements */
.login-body .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 16px 24px;
}

.login-body .btn i {
    font-size: 18px;
}

.login-body .btn-outline-primary {
    background: rgba(226, 1, 77, 0.03);
    border: 2px solid rgba(226, 1, 77, 0.2);
}

.login-body .btn-outline-primary:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 18px;
    font-weight: 500;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
}

.sidebar-brand {
    padding: 25px 20px;
    background: linear-gradient(135deg, #e2014d 0%, #b8013d 100%);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand img.logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 10px;
}

.sidebar-brand .role-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.sidebar-menu {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: var(--sidebar-hover);
    color: white;
    padding-left: 28px;
}

.sidebar-menu li a.active {
    background: linear-gradient(90deg, rgba(226, 1, 77, 0.2) 0%, transparent 100%);
    border-left: 4px solid var(--primary-color);
    padding-left: 24px;
}

.sidebar-menu li a i {
    margin-right: 12px;
    width: 20px;
    font-size: 16px;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    background: #f5f7fa;
}

.top-navbar {
    background: white;
    padding: 20px 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.top-navbar h4 {
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.top-navbar small {
    color: #718096;
    font-weight: 500;
}

.content-area {
    padding: 35px;
}

/* Cards */
.stat-card {
    background: white;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 13px;
    color: #718096;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-card .stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -1px;
}

.stat-card .stat-icon {
    font-size: 45px;
    opacity: 0.15;
}

/* Tables */
.table-card {
    background: white;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.table-card h4 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-color);
}

.table {
    font-family: 'Inter', sans-serif;
}

.table thead th {
    border-bottom: 2px solid #e2e8f0;
    color: #4a5568;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 12px;
}

.table tbody td {
    padding: 15px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f7fafc;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* Donor Pledge Card */
.pledge-card-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #e2014d 0%, #b8013d 100%);
    padding: 40px 20px;
}

.pledge-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    max-width: 650px;
    margin: 0 auto;
    overflow: hidden;
}

.pledge-header {
    padding: 50px 35px;
    text-align: center;
    background: linear-gradient(135deg, #e2014d 0%, #b8013d 100%);
    color: white;
    position: relative;
}

.pledge-header img.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.pledge-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pledge-body {
    padding: 40px 35px;
}

.donor-info {
    background: #f8fafc;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.donor-info h3 {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--dark-color);
}

.last-donation {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.custom-message {
    padding: 25px;
    background: #fff5f7;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    margin-bottom: 25px;
}

.amount-input-group {
    margin: 25px 0;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.quick-amount-btn {
    padding: 18px;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--dark-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.quick-amount-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 1, 77, 0.15);
}

.quick-amount-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-amount-input {
    font-size: 28px;
    text-align: center;
    font-weight: 700;
    padding: 18px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

.btn-pledge,
.btn-donate {
    padding: 18px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
}

.progress {
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
}

.progress-bar {
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

/* Mobile Navigation Bar */
.mobile-navbar {
    display: none;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Hide mobile navbar on login and pledge card pages */
body.no-mobile-nav .mobile-navbar {
    display: none !important;
}

.mobile-navbar .container-fluid {
    padding: 12px 20px;
}

.mobile-navbar .navbar-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.mobile-navbar .navbar-brand small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #718096;
    margin-top: 2px;
}

.mobile-navbar .navbar-toggler {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--dark-color);
}

.mobile-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(226, 1, 77, 0.1);
}

.mobile-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 46, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mobile-sidebar-menu {
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-sidebar-menu {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-sidebar-menu .nav-link {
    padding: 14px 20px;
    color: var(--dark-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f7fafc;
    transition: all 0.2s ease;
}

.mobile-sidebar-menu .nav-link:hover,
.mobile-sidebar-menu .nav-link.active {
    background: #f8fafc;
    color: var(--primary-color);
    padding-left: 24px;
}

.mobile-sidebar-menu .nav-link.active {
    background: linear-gradient(90deg, rgba(226, 1, 77, 0.05) 0%, transparent 100%);
    border-left: 4px solid var(--primary-color);
}

.mobile-sidebar-menu .nav-link i {
    margin-right: 12px;
    width: 20px;
    font-size: 16px;
}

.mobile-sidebar-menu hr {
    margin: 8px 0;
    border-color: #e2e8f0;
    opacity: 0.5;
}

/* Smooth collapse animation */
.mobile-sidebar-menu.collapsing {
    transition: height 0.3s ease;
}

.sidebar-overlay {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    /* Show Mobile Navbar */
    .mobile-navbar {
        display: block;
    }

    /* Hide Desktop Sidebar */
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    /* Hide Desktop Top Navbar */
    .top-navbar {
        display: none;
    }

    /* Content Area */
    .content-area {
        padding: 20px 15px;
    }

    /* Stat Cards - Stack on Mobile */
    .stat-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .stat-card h3 {
        font-size: 12px;
    }

    .stat-card .stat-value {
        font-size: 28px;
    }

    /* Grid Layouts */
    .row > [class*='col-'] {
        margin-bottom: 15px;
    }

    /* Tables */
    .table-card {
        padding: 15px;
        overflow-x: auto;
    }

    .table-card h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .table {
        font-size: 13px;
    }

    .table thead th {
        font-size: 11px;
        padding: 10px 8px;
    }

    .table tbody td {
        padding: 10px 8px;
    }

    /* Table Filters and Search */
    .table-card .row {
        flex-direction: column;
    }

    .table-card .row .col-md-4,
    .table-card .row .col-md-8 {
        width: 100%;
    }

    .table-card .d-flex.gap-2 {
        flex-direction: column;
        gap: 10px !important;
    }

    .table-card .input-group,
    .table-card .form-select {
        max-width: 100% !important;
    }

    /* Pledge Card */
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    .pledge-header {
        padding: 35px 25px;
    }

    .pledge-header h1 {
        font-size: 26px;
    }

    .pledge-body {
        padding: 25px 20px;
    }

    /* Buttons */
    .btn {
        font-size: 14px;
        padding: 10px 18px;
    }

    .btn-sm {
        font-size: 12px;
        padding: 6px 12px;
    }

    .btn-lg {
        font-size: 15px;
        padding: 12px 20px;
    }

    /* Action Button Groups */
    .d-flex.gap-1,
    .d-flex.gap-2,
    .d-flex.gap-3 {
        flex-wrap: wrap;
    }

    /* Forms - Stack inputs on mobile */
    .form-section {
        padding: 20px;
    }

    .form-section h4 {
        font-size: 18px;
    }

    /* Tab Navigation */
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 15px;
    }

    /* Event Cards */
    .event-card {
        margin-bottom: 15px;
    }

    /* Donor Info Cards */
    .donor-info h3 {
        font-size: 22px;
    }

    /* Summary Cards on Donors Page */
    .stat-card .row {
        flex-direction: column;
    }

    .stat-card .row .col-md-8,
    .stat-card .row .col-md-4 {
        width: 100%;
        text-align: left !important;
    }

    .stat-card .row .col-md-4 {
        margin-top: 15px;
    }

    /* Progress Bar */
    .progress {
        height: 25px;
    }

    /* Display Page */
    .col-lg-8 {
        max-width: 100%;
    }

    /* Alerts */
    .alert {
        font-size: 13px;
        padding: 12px 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .mobile-navbar .navbar-brand {
        font-size: 16px;
    }

    .mobile-navbar .navbar-brand small {
        font-size: 11px;
    }

    .content-area {
        padding: 15px 10px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card .stat-value {
        font-size: 24px;
    }

    .table-card {
        padding: 12px;
    }

    .table {
        font-size: 12px;
    }

    .btn {
        font-size: 13px;
        padding: 8px 14px;
    }

    .quick-amounts {
        grid-template-columns: 1fr;
    }

    .quick-amount-btn {
        padding: 15px;
        font-size: 18px;
    }

    .pledge-header {
        padding: 25px 15px;
    }

    .pledge-body {
        padding: 20px 15px;
    }

    .nav-tabs .nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Master Display Styles */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Master display uses CSS custom properties for dynamic values */
.master-display-body {
    font-family: var(--display-font, 'Inter'), sans-serif;
    color: var(--display-text-color, #ffffff);
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.master-display-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.master-display-container .display-header {
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.master-display-container .display-header h1 {
    font-size: 42px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin: 0;
    letter-spacing: -1px;
}

/* Glass morphism card style */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
}

/* Main content area */
.display-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    overflow: hidden;
    min-height: 0;
}

.main-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
}

.total-raised-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
}

.total-raised-label {
    font-size: 28px;
    color: inherit;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.total-raised-amount {
    font-size: 120px;
    font-weight: 900;
    color: inherit;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    letter-spacing: -4px;
    line-height: 1;
    margin-bottom: 20px;
}

.goal-progress {
    width: 100%;
    max-width: 700px;
    position: relative;
}

.master-display-container .progress {
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.master-display-container .progress-bar {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
    background: linear-gradient(90deg, #28a745, #20c997);
    height: 100%;
}

.master-display-container .progress-bar span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: inherit;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.goal-info {
    font-size: 28px;
    color: inherit;
    opacity: 0.9;
    font-weight: 600;
    margin-top: 10px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.stats-row {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-box {
    border-radius: 20px;
    padding: 20px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.master-display-container .stat-value {
    font-size: 42px;
    font-weight: 900;
    color: inherit;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 14px;
    color: inherit;
    opacity: 0.85;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 8px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Right sidebar - Donations feed */
.donations-sidebar {
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    overflow: hidden;
    min-height: 0;
}

.donations-feed {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    padding: 25px;
    overflow: hidden;
}

.donations-feed h3 {
    display: none;
}

#recentDonationsList {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.donation-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-left: 4px solid rgba(40, 167, 69, 0.8);
    padding: 15px 18px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.donation-donor {
    font-size: 20px;
    font-weight: 600;
    color: inherit;
    flex: 1;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.donation-amount {
    font-size: 28px;
    font-weight: 900;
    color: inherit;
    letter-spacing: -1px;
    text-align: right;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Scrollbar Styling for donations list */
#recentDonationsList::-webkit-scrollbar {
    width: 8px;
}

#recentDonationsList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#recentDonationsList::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

#recentDonationsList::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Status message for non-active states */
.status-message-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
}

.status-message-container h2 {
    font-size: 48px;
    font-weight: 800;
    color: inherit;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.status-message-container .content {
    font-size: 22px;
    color: inherit;
    opacity: 0.9;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.status-message-container .content p {
    margin: 0;
}

/* Powered by Fundnation branding */
.fundnation-branding {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: auto;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fundnation-branding:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.fundnation-branding img {
    height: 16px;
    width: auto;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Event Settings Page Styles */
.nav-tabs .nav-link {
    color: #4a5568;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: #e2014d;
    border-bottom: 3px solid #e2014d;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.form-section h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.image-preview {
    max-width: 300px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Error Pages (404, etc) */
.error-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: #e2014d;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.error-message {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-icon {
    font-size: 80px;
    color: #6c757d;
    margin-bottom: 30px;
    opacity: 0.5;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 160px;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #e2014d 0%, #b8013d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active {
    background: #d4edda;
    color: #155724;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-completed,
.badge-paid {
    background: #d4edda;
    color: #155724;
}

.badge-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.badge-draft {
    background: #e2e8f0;
    color: #4a5568;
}

/* Event Selection Page */
.event-card {
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    background: white;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(226, 1, 77, 0.15);
    border-color: var(--primary-color);
}

/* Logo Styles */
.logo-img {
    max-width: 180px;
    height: auto;
}

/* Improved Button Styles */
.btn-success {
    background: var(--success-color);
}

.btn-success:hover {
    background: #218838;
}

.btn-info {
    background: var(--info-color);
}

.btn-info:hover {
    background: #138496;
}

.btn-danger {
    background: var(--danger-color);
}

.btn-danger:hover {
    background: #c82333;
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Enhanced Shadows */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-overlay > div {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}
