body {
    font-family: 'Open Sans', sans-serif;
    min-height: 100%!important;
}
/* Fix for fixed header - ensure content is not hidden behind header */
body .flex-fill {
    padding-top: 64px !important;
}
/* Top Navbar Menu */
.navbar{
    padding:1rem;
}
.navbar-brand img{
    max-width: 180px;
    max-height: 60px;
}
.error-container{
    min-width: 350px;
}
.button-search {
    color: #DDD;
    background: none;
    position: absolute;
    right: 0;
    cursor: pointer;
    outline: none;
    border: none;
}
.home-user-avatar{
    width: 32px;
    height: 32px;
    margin-left:0.5rem;
}
/* Login Register pages  */
.login,
.image {
    min-height: 100vh
}
.bg-image {
    background-size: cover;
    background-position: center center
}
.brand-logo{
    width: 200px;
}
.rounded-lg{
    border-radius: 0.4rem!important;
}
.hidden{
    display: none!important;
}
/* Dropzone preview boxes + other general fixes */
.audio-preview-item {
    padding-right: 36px;
}
.video-preview-item{
    border-radius: 20px;
}
.video-preview-item .video-preview {
    border-radius: 20px;
    overflow: hidden;
    width: 240px;
    height: 240px;
    position: relative;
    display: block;
    z-index: 10;
    background: linear-gradient(to bottom, #eee, #ddd);
}
.dropzone-previews.dropzone {
    background: none!important;
}
.sticky {
    position: sticky;
    top: 1.5rem;
}
.sticky-sm{
    position: sticky;
    top:1rem;
}
.min-h-75{
    min-height: 75%;
}
.sticky-profile-widgets {
    position: sticky;
    top: 1rem;
}
.sticky-widgets {
    position: sticky!important;
    padding-top: .5rem!important;
}
.pointer-cursor{
    cursor:pointer;
}
.avatar-placeholder i{
    font-size: 2.8rem;
}
.avatar-placeholder i:hover{
}
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.side-menu .icon-wrapper{
    width: 2.6rem;
}
.side-menu .nav{
    flex-wrap:nowrap;
}
.side-menu .nav-item i{
    font-size: 2.0rem!important;
}
.side-menu .user-avatar, .sidebar .user-avatar{
    width: 50px;
    height: 50px;
}
/* Toasts */
.toast-container {
    position: fixed;
    z-index: 1055;
    margin: .5rem!important;
}
.top-right {
    top: 0;
    right: 0
}
.top-left {
    top: 0;
    left: 0
}
.top-center {
    transform: translateX(-50%);
    top: 0;
    left: 50%
}
.bottom-right {
    right: 0;
    bottom: 0
}
.bottom-left {
    left: 0;
    bottom: 0
}
.bottom-center {
    transform: translateX(-50%);
    bottom: 0;
    left: 50%
}
.toast-container>.toast {
    min-width: 200px;
    max-width: 300px;
}
.toast .toast-indicator{
    width:20px;
    height:20px;
}
/* Feed component */
.half-bg {
    background-color: rgba(0,0,0,.45);
}
.suggestion-box{
    background-color: #FFF!important;
}
.suggestion-box .avatar{
    width: 96px;
    height: 96px;
    border: 2px solid #fefefe;
}
.post-box .avatar{
    width:48px;
    height: 48px;
}
.post-box .post-content-data p{
    margin-bottom: 0px;
}
.post-details .dropdown .dropdown-toggle:after,.post-details .dropdown .dropdown-toggle:before{
    display: none;
}
.post-box .post-count-details{
    font-size: 15px;
}
.dropdown .dropdown-toggle:after, .dropdown .dropdown-toggle:before{
    display: none;
}
.post-box .post-comments .form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none!important;
}
.suggestions-header i{
    cursor: pointer;
}
.dropdown:not(.dropdown-hover) .dropdown-menu {
    margin-top: 0px!important;
}
.pswp_video{
    position: relative!important;
}
.pswp_audio{
    position: relative!important;
    width:75%!important;
    height:100px!important;
}
.pswp--zoom-allowed .pswp__img {
    cursor: default !important
}
/* Menu */
.open-menu{
    text-decoration: none!important;
}
.dropleft .dropdown-menu {
    top: 0!important;
    right: 0%!important;
    left: auto!important;
    margin-top: 0!important;
    margin-right: 0!important;
}
.dropright .dropdown-menu {
    top: 0!important;
    right: auto!important;
    left: 0%!important;
    margin-top: 0!important;
    margin-left: 0!important;
}
/* Icons wrapper for backend SVGs includes */
.ion-icon-wrapper{
    display: inline-block;
    width: 1em;
    height: 1em;
    contain: strict;
    fill: currentcolor;
    box-sizing: content-box !important;
}
.input-group-prepend .ion-icon-wrapper{
    width: 20px!important;
    height: 20px!important;
}
.ion-icon-inner, .ion-icon-inner svg{
    display: block;
    height: 100%;
    width: 100%;
}
.icon-large{
    font-size: 32px;
}
.icon-xlarge{
    font-size: 50px;
}
.icon-medium{
    font-size: 24px;
}
.icon-small{
    font-size: 18px;
}
.icon-xsmall{
    font-size: 11px;
}
.social-media-icon{
    width: 1.4rem;
    height: 1.4rem
}
/* Global nav override */
.page-item, .page-link{
    margin-left:4px;
    width:34px;
    height:34px;
    border-radius: 50%!important;
    text-align: center;
}
.btn-rounded-icon{
    width: 45px!important;
    height: 45px!important;
    padding:0;
    transition: 0.3s;
    border: none!important;
    border-radius: 50%;
    font-size: 20px;
    margin:0;
}
#login-dialog .card-wrapper{
    height: 100%;
}
/* User cards */
.suggestion-header-bg {
    background-color: #50505047;
    background-position: center center!important;
    background-size: cover!important;
    height:140px!important;
}
.creator-body{
    margin-top:-50px;
}
.creator-body .avatar{
    width: 100px;
    height: 100px;
}
.suggestion-card-btn{
    width: 30px;
    height: 30px;
}
/*  */
.installer-bg{
    background-color: #f8f9fa;
}
/* */
.checkout-dialog .rounded-circle.user-avatar{
    width:50px;
    height:50px;
}
/*  */
footer .copyRightInfo .d-flex.flex-row.nav{
    margin-left:-1rem;
}
footer .copyRightInfo .nav-link:nth-child(1){
    padding-left:0px!important;
}
footer .text-lg{
    font-size: 1.1rem!important;
}
footer .ion-icon-wrapper{
    font-size: 1.25rem!important;
}
footer .brand-logo{
    max-width: 180px;
    /*max-height: 60px;*/
}
/* Profile / Posts widget */
.recent-media .card-body img{
    width:80px!important;
    height:80px!important;
}
.dropdown:not(.nav-item) .dropdown-menu:before {
    content: none!important;
}
.grayscale {
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(95%); /* Chrome 19+ & Safari 6+ */
}
.grayscale:hover {
    filter: none;
    -webkit-filter: grayscale(0%);
}
.contact-illustration{
    width: 450px;
}
.posts-loading-indicator .spinner-border{
    width:2rem;
    height: 2rem;
}
.page-content-wrapper p{
    margin:0px;
}
.page-content-wrapper h4{
    margin-bottom:1rem!important;
}
.min-vh-65{
    min-height: 65vh;
}
.page-link{
    display: flex;
    justify-content: center;
    align-items: center;
}
.w-16{
    width: 16px;
    height: 16px;
}
.w-24{
    width:24px;
    height:24px;
}
.w-32{
    width:32px;
    height:32px;
}
.w-40{
    width:40px;
    height:40px;
}
.text-bold-600{
    font-weight: 600;
}
.blob {
    background: black;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    margin: 8px;
    height: 6px;
    width: 6px;
    transform: scale(1);
    animation: pulse-black 2s infinite;
}
@keyframes pulse-black {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}
.blob.red {
    background: rgba(234, 6, 5, 1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(234, 6, 5, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(234, 6, 5, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(234, 6, 5, 0);
    }
}
.text-orange{
    color:#FD7E14;
}
/* Streams CSS */
.stream-cover, .stream-cover-public{
    max-height: 40px;
    max-width: 150px;
    height:40px;
    width: 80px
}
.stream-chat-no-message{
    height: 300px;
}
.grecaptcha-badge{
    z-index: 100;
}
.captcha-field .text-danger{
    font-size: .875em;
}
.blurred{
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
}
/* Laravel-Bootstrap mobile navigation hack for larger pagination numbers */
@media screen and ( max-width: 400px ){
    li.page-item {
        display: none;
    }
    .page-item:first-child,
    .page-item:nth-child( 2 ),
    .page-item:nth-last-child( 2 ),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {
        display: block;
    }
}
.max-width-150{
    max-width: 150px;
}
.n-mt-2{
    margin-top:-2rem;
}
.widgets-footer-link{
    font-size: 15px;
}
.widgets-footer .widgets-footer-link:not(:last-child):after {
    content: "\2022";
    margin-left: 15px;
    font-size: 12px;
    display: inline-flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    color: #8a96a3;
}
.swiper-pagination-wrapper{
    height: 18px;
}
.feed-widgets .swiper-pagination{
    position: relative;
}
.sticky-info-bar {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1030; /* Ensure it is above other content */
}
.global-announcement-banner .content p{
    margin-bottom: 0px!important;
}
.global-announcement-banner .content{
    color: #fff;
}
/*.no-long-press {*/
/*    user-select: none;*/
/*    -webkit-user-select: none; !* Safari *!*/
/*}*/
.no-long-press {
    /* Disable text selection */
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10+ */
    /* Disable image saving and callout menu on iOS */
    -webkit-touch-callout: none; /* Disable callout menu */
    -webkit-user-drag: none;     /* Disable image dragging */
    /* Allow touch actions like swipe and scroll */
    touch-action: manipulation; /* Prevent double-tap zoom, allow pan and pinch-zoom */
}
/* ============================================
   Enhanced Forms & Buttons - Primary Color #830866
   ============================================ */
/* Primary Color Variables */
:root {
    --primary-color: #830866;
    --primary-dark: #6a0652;
    --primary-light: #a10a7f;
    --primary-gradient: linear-gradient(135deg, #830866 0%, #a10a7f 100%);
}
/* Enhanced Buttons */
.btn {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.5;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn:active:not(:disabled) {
    transform: translateY(0);
}
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(131, 8, 102, 0.25);
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
/* Primary Button */
.btn-primary {
    background: var(--primary-gradient) !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}
.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #6a0652 0%, #830866 100%) !important;
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}
/* Secondary Button */
.btn-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
}
.btn-secondary:hover:not(:disabled) {
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
}
/* Success Button */
.btn-success {
    background-color: #28a745 !important;
    color: #ffffff !important;
    border-color: #28a745 !important;
}
.btn-success:hover:not(:disabled) {
    background-color: #218838 !important;
    border-color: #218838 !important;
}
/* Danger Button */
.btn-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
}
.btn-danger:hover:not(:disabled) {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
}
/* Outline Buttons */
.btn-outline-primary {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.btn-outline-primary:hover:not(:disabled) {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.btn-outline-secondary {
    background-color: transparent !important;
    color: #6c757d !important;
    border-color: #6c757d !important;
}
.btn-outline-secondary:hover:not(:disabled) {
    background-color: #6c757d !important;
    color: #ffffff !important;
}
/* Button Sizes */
.btn-sm {
    padding: 6px 16px !important;
    font-size: 13px !important;
}
.btn-lg {
    padding: 10px 24px !important;
    font-size: 15px !important;
}
/* Enhanced Form Controls */
.form-control,
.form-select,
textarea.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
select {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    border: 1.5px solid #dee2e6 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #212529 !important;
    transition: all 0.2s ease !important;
    width: 100%;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
input:focus,
select:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(131, 8, 102, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    background-color: #ffffff !important;
    color: #212529 !important;
}
.form-control:hover:not(:disabled):not(:focus),
.form-select:hover:not(:disabled):not(:focus) {
    border-color: #adb5bd !important;
}
.form-control::placeholder {
    color: #6c757d !important;
    opacity: 1;
}
.form-control:disabled,
.form-select:disabled {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.7;
}
/* Textarea */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}
/* Select Dropdown */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 38px !important;
    appearance: none;
}
/* Form Labels */
.form-label,
label.form-label,
.form-group label,
label {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #495057 !important;
    margin-bottom: 6px !important;
    display: block;
}
/* Form Text & Help */
.form-text,
.help-block,
.help-text,
small.form-text {
    font-size: 12px !important;
    color: #6c757d !important;
    margin-top: 4px !important;
    display: block;
}
/* Invalid Feedback */
.invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-size: 12px;
    color: #dc3545;
    font-weight: 500;
}
.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 10px);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 1.4 1.4 1.4-1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
}
.form-control.is-valid,
.form-select.is-valid,
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #28a745 !important;
    padding-right: calc(1.5em + 10px);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
}
/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}
/* File Input */
input[type="file"] {
    font-size: 14px !important;
    padding: 8px !important;
    border: 1.5px solid #dee2e6 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #212529 !important;
    cursor: pointer;
}
input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(131, 8, 102, 0.15) !important;
}
/* Checkbox & Radio */
.form-check-input {
    width: 18px !important;
    height: 18px !important;
    border: 1.5px solid #dee2e6 !important;
    cursor: pointer;
    margin-top: 3px;
}
.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(131, 8, 102, 0.15);
}
.form-check-label {
    font-weight: 500;
    color: #495057;
    margin-left: 6px;
    cursor: pointer;
    font-size: 14px;
}
input[type="radio"].form-check-input {
    border-radius: 50% !important;
}
/* Card Header Enhancement */
.card-header {
    background: var(--primary-gradient) !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 18px !important;
    font-weight: 600 !important;
}
/* Alert Enhancement */
.alert {
    border-radius: 8px !important;
    border: none !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}
.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}
.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}
/* Progress Bar */
.progress {
    height: 8px !important;
    border-radius: 6px !important;
    background-color: #e9ecef !important;
}
.progress-bar {
    background: var(--primary-gradient) !important;
    background-color: var(--primary-color) !important;
    border-radius: 6px !important;
}
/* Button Group Alignment */
.btn-group,
.d-flex.gap-2,
.d-flex.gap-3 {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-group .btn {
    margin: 0;
}
/* Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 7px 18px !important;
        font-size: 13px !important;
    }
    .form-control,
    .form-select {
        padding: 9px 12px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}
/* ============================================
   Modern Header Styles - Primary Color #830866
   ============================================ */
/* Modern Navbar */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 64px;
    border-bottom: 1px solid transparent;
}
.modern-navbar.light-theme {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.modern-navbar.dark-theme {
    background: rgba(15, 15, 15, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
/* Container */
.modern-navbar .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}
/* Logo */
.navbar-brand-section .brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.brand-link:hover .brand-logo {
    transform: scale(1.05);
}
/* Navigation */
.navbar-navigation {
    flex: 1;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.light-theme .nav-link {
    color: #374151;
}
.dark-theme .nav-link {
    color: #e5e7eb;
}
.nav-link:hover {
    background: rgba(0, 0, 0, 0.04);
}
.dark-theme .nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
}
/* Create Link - Primary Color #830866 */
.nav-link.create-link {
    background: linear-gradient(135deg, #830866 0%, #a10a7f 100%);
    color: white !important;
    border: none;
    font-weight: 600;
}
.nav-link.create-link:hover {
    background: linear-gradient(135deg, #6a0652 0%, #830866 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(131, 8, 102, 0.3);
}
.nav-icon, .create-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Search Section */
.search-section {
    flex: 1;
    max-width: 480px;
}
.search-container {
    position: relative;
}
.search-input {
    width: 100%;
    padding: 12px 20px 12px 44px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.light-theme .search-input {
    background: rgba(0, 0, 0, 0.04);
    color: #374151;
    border-color: rgba(0, 0, 0, 0.1);
}
.dark-theme .search-input {
    background: rgba(255, 255, 255, 0.04);
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.1);
}
.light-theme .search-input::placeholder {
    color: #9ca3af;
}
.dark-theme .search-input::placeholder {
    color: #6b7280;
}
.search-input:focus {
    outline: none;
    border-color: #830866;
    box-shadow: 0 0 0 3px rgba(131, 8, 102, 0.1);
}
.search-icon-wrapper {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.search-icon {
    width: 18px;
    height: 18px;
    color: #9ca3af;
}
.dark-theme .search-icon {
    color: #6b7280;
}
/* Right Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
/* Auth Links */
.auth-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.auth-link {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.login-link {
    color: #830866;
    border: 1px solid rgba(131, 8, 102, 0.3);
}
.login-link:hover {
    background: rgba(131, 8, 102, 0.1);
    border-color: rgba(131, 8, 102, 0.5);
}
.register-link {
    background: linear-gradient(135deg, #830866 0%, #a10a7f 100%);
    color: white;
    border: none;
}
.register-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(131, 8, 102, 0.3);
}
/* Quick Actions */
.quick-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.quick-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}
.light-theme .quick-action {
    color: #374151;
    background: rgba(0, 0, 0, 0.02);
}
.dark-theme .quick-action {
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.02);
}
.quick-action:hover {
    background: rgba(131, 8, 102, 0.1);
    border-color: rgba(131, 8, 102, 0.2);
}
.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wallet-balance {
    font-weight: 600;
    color: #10b981;
}
/* Notification Badges */
.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid;
}
.light-theme .notification-badge {
    border-color: white;
}
.dark-theme .notification-badge {
    border-color: #0f0f0f;
}
.message-badge {
    background: #8b5cf6;
}
/* Dropdowns */
.dropdown {
    position: relative;
}
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}
.light-theme .dropdown-toggle {
    color: #374151;
}
.dark-theme .dropdown-toggle {
    color: #e5e7eb;
}
.dropdown-toggle:hover {
    background: rgba(131, 8, 102, 0.1);
    border-color: rgba(131, 8, 102, 0.2);
}
.tokens-toggle {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}
.tokens-toggle:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
}
.tokens-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown-arrow {
    transition: transform 0.3s ease;
}
.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}
/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    padding: 8px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}
.light-theme .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.dark-theme .dropdown-menu {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
/* Tokens Dropdown */
.dropdown-header {
    padding: 16px;
    margin: -8px -8px 8px -8px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}
.dropdown-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.title-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.main-title {
    font-weight: 600;
    font-size: 14px;
    color: #f59e0b;
}
.sub-title {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}
/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 4px 0;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
    cursor: pointer;
}
.light-theme .dropdown-item {
    color: #374151;
}
.dark-theme .dropdown-item {
    color: #e5e7eb;
}
.dropdown-item:hover, .dropdown-item.active {
    background: rgba(131, 8, 102, 0.1);
    border-color: rgba(131, 8, 102, 0.2);
}
.item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(131, 8, 102, 0.1);
    color: #830866;
}
.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.item-title {
    font-weight: 500;
    font-size: 14px;
}
.item-description {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}
.item-arrow {
    color: #9ca3af;
}
/* Dropdown Dividers */
.dropdown-divider {
    height: 1px;
    margin: 8px 0;
}
.light-theme .dropdown-divider {
    background: rgba(0, 0, 0, 0.1);
}
.dark-theme .dropdown-divider {
    background: rgba(255, 255, 255, 0.1);
}
/* User Dropdown */
.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 12px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.user-toggle:hover {
    background: rgba(131, 8, 102, 0.1);
    border-color: rgba(131, 8, 102, 0.2);
}
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(131, 8, 102, 0.3);
}
.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.user-name {
    font-size: 14px;
    font-weight: 500;
}
.light-theme .user-name {
    color: #374151;
}
.dark-theme .user-name {
    color: #e5e7eb;
}
/* User Profile Header */
.user-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin: -8px -8px 8px -8px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, rgba(131, 8, 102, 0.1) 0%, rgba(161, 10, 127, 0.1) 100%);
    border-bottom: 1px solid rgba(131, 8, 102, 0.1);
    position: relative;
    z-index: 0;
    pointer-events: auto;
}
.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(131, 8, 102, 0.5);
}
.user-profile-info {
    flex: 1;
}
.user-profile-name {
    font-weight: 600;
    font-size: 16px;
}
.user-profile-handle {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 2px;
}
/* Logout Item */
.logout-item {
    color: #ef4444;
}
.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    padding: 8px;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 20px;
}
/* Header Responsive */
@media (max-width: 1200px) {
    .search-section {
        max-width: 320px;
    }
}
@media (max-width: 992px) {
    .navbar-navigation {
        display: none;
    }
    .search-section {
        max-width: 240px;
    }
}
@media (max-width: 768px) {
    .modern-navbar .container-fluid {
        padding: 0 16px;
    }
    .navbar-content {
        gap: 16px;
    }
    .search-section {
        display: none;
    }
    .wallet-balance, .tokens-label, .user-info {
        display: none;
    }
    .quick-actions {
        gap: 8px;
    }
    .quick-action {
        padding: 8px;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
@media (max-width: 576px) {
    .auth-links {
        gap: 8px;
    }
    .auth-link {
        padding: 8px 16px;
        font-size: 13px;
    }
    .dropdown-menu {
        position: fixed;
        top: 64px;
        left: 16px;
        right: 16px;
        max-width: calc(100vw - 32px);
    }
}

/* ============================================
   Global Responsive Fixes
   Ensures proper sizing across all devices
   ============================================ */

/* Base responsive rules */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}

/* Container fixes */
.container, .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Image responsive fixes */
img {
    max-width: 100%;
    height: auto;
}

/* Table responsive fixes */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Form elements responsive */
input, textarea, select, button {
    max-width: 100%;
}

/* Card responsive fixes */
.card {
    max-width: 100%;
    overflow: hidden;
}

/* Fix for content overflow */
.flex-fill {
    overflow-x: hidden;
}

/* Mobile-first responsive breakpoints */
@media screen and (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 768px;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    /* Hide certain elements on tablet */
    .d-lg-only {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    h1, .h1 {
        font-size: 1.5rem;
    }
    
    h2, .h2 {
        font-size: 1.25rem;
    }
    
    h3, .h3 {
        font-size: 1.1rem;
    }
    
    /* Stack columns on mobile */
    .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Fix padding on mobile */
    .py-4, .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .px-4, .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Ensure buttons fit */
    .btn {
        white-space: normal;
        word-wrap: break-word;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Card fixes for mobile */
    .card-body {
        padding: 1rem;
    }
    
    /* Table fixes for mobile */
    .table td, .table th {
        padding: 0.5rem;
        font-size: 13px;
    }
    
    /* Modal fixes for mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    /* Dropdown fixes for mobile */
    .dropdown-menu {
        max-width: calc(100vw - 2rem);
    }
}

@media screen and (max-width: 576px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    h1, .h1 {
        font-size: 1.35rem;
    }
    
    h2, .h2 {
        font-size: 1.15rem;
    }
    
    /* Smaller padding on small screens */
    .p-3, .p-4, .p-5 {
        padding: 0.75rem !important;
    }
    
    .m-3, .m-4, .m-5 {
        margin: 0.75rem !important;
    }
    
    /* Button group stacking */
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        border-radius: 0.375rem !important;
        margin-bottom: 0.5rem;
    }
    
    /* Form group spacing */
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    /* Alert smaller padding */
    .alert {
        padding: 0.75rem;
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    body {
        font-size: 12px;
    }
    
    h1, .h1 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 13px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn, button, a.nav-link, .dropdown-item {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects that look bad on touch */
    .btn:hover, .card:hover {
        transform: none;
    }
}

/* Landscape mobile fixes */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .modal-dialog {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* High DPI / Retina display fixes */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print styles */
@media print {
    .no-print, .sidebar, .navbar, .footer, .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
    }
}