*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f5f7fb;
}

.auth-container{
    width:100%;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.logo-area{
    text-align:center;
    margin-bottom:25px;
}

.logo-area h1{
    color:#ff6600;
    margin-bottom:8px;
}

.logo-area p{
    color:#666;
}

.auth-card{
    width:100%;
    max-width:400px;
    background:white;
    padding:25px;
    border-radius:18px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.auth-card h2{
    text-align:center;
    margin-bottom:20px;
}

.auth-card input{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:15px;
}

.auth-card input:focus{
    outline:none;
    border-color:#ff6600;
}

.auth-card button{
    width:100%;
    border:none;
    padding:14px;
    background:#ff6600;
    color:white;
    border-radius:12px;
    font-size:16px;
    cursor:pointer;
}

.auth-card button:hover{
    opacity:.9;
}

.bottom-link{
    text-align:center;
    margin-top:15px;
}

.bottom-link a{
    color:#ff6600;
    text-decoration:none;
    font-weight:bold;
}

.error-box{
    background:#ffe0e0;
    color:#c00000;
    padding:10px;
    border-radius:10px;
    margin-bottom:15px;
}

.header{
    position:sticky;
    top:0;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:999;
}

.logo{
    font-size:22px;
    font-weight:bold;
    color:#ff6600;
}

#menuBtn{
    border:none;
    background:none;
    font-size:24px;
    cursor:pointer;
}

.tabs{
    display:flex;
    background:#fff;
    justify-content:space-around;
    padding:12px;
    border-bottom:1px solid #eee;
}

.tabs a{
    text-decoration:none;
    color:#555;
    font-weight:600;
}

.active-tab{
    color:#ff6600 !important;
}

.feed{
    padding:15px;
}

.event-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    margin-bottom:20px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.event-image{
    width:100%;
    display:block;
}

.event-info{
    padding:15px;
}

.event-category{
    background:#fff0e5;
    color:#ff6600;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
}

.event-info h3{
    margin-top:12px;
    margin-bottom:10px;
}

.event-info p{
    color:#666;
    margin-bottom:12px;
}

.event-meta{
    margin-bottom:8px;
}

.price-box{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
    margin-bottom:15px;
    font-weight:bold;
}

.ticket-btn{
    width:100%;
    border:none;
    background:#ff6600;
    color:white;
    padding:14px;
    border-radius:12px;
    cursor:pointer;
}

#sidebar{
    position:fixed;
    right:-260px;
    top:0;
    width:250px;
    height:100%;
    background:white;
    box-shadow:-3px 0 15px rgba(0,0,0,.1);
    transition:.3s;
    z-index:9999;
}

#sidebar.show{
    right:0;
}

.sidebar-header{
    padding:20px;
    background:#ff6600;
    color:white;
    font-weight:bold;
}

#sidebar a{
    display:block;
    padding:15px 20px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #eee;
}

.dashboard-wrap{
    padding:20px;
}

.stats-card{
    background:white;
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.action-btn{
    display:block;
    width:100%;
    text-align:center;
    padding:15px;
    margin-bottom:12px;
    background:#ff6600;
    color:white;
    text-decoration:none;
    border-radius:12px;
}

.form-wrap{
    padding:20px;
}

.form-wrap h2{
    margin-bottom:20px;
}

.form-wrap input,
.form-wrap textarea,
.form-wrap select{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:12px;
}

.form-wrap textarea{
    height:120px;
}

.form-wrap button{
    width:100%;
    padding:14px;
    border:none;
    background:#ff6600;
    color:white;
    border-radius:12px;
}

.success-box{
    background:#e7ffe7;
    color:green;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
}

.countdown-badge{
    display:inline-block;
    background:#ffe7d6;
    color:#ff6600;
    padding:6px 12px;
    border-radius:20px;
    margin-top:10px;
    font-size:13px;
    font-weight:bold;
}

.event-details{
    display:flex;
    justify-content:space-between;
    margin-top:10px;
    margin-bottom:10px;
    color:#666;
    font-size:14px;
}

.event-page{
    padding-bottom:40px;
}

.event-banner{
    width:100%;
    display:block;
}

.event-details-card{
    background:white;
    margin-top:-25px;
    border-radius:25px 25px 0 0;
    padding:20px;
    position:relative;
}

.hosted-by{
    margin-top:10px;
    margin-bottom:15px;
    color:#666;
}

.event-description{
    line-height:1.6;
    color:#555;
    margin-bottom:20px;
}

.info-box{
    background:#f8f8f8;
    border-radius:15px;
    padding:15px;
    margin-bottom:20px;
}

.info-box div{
    margin-bottom:10px;
}

.ticket-box{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.ticket-card{
    background:white;
    border:1px solid #eee;
    border-radius:15px;
    padding:20px;
    text-align:center;
}

.ticket-card h3{
    margin-bottom:10px;
}

.ticket-card h2{
    color:#ff6600;
    margin-bottom:15px;
}

.vip-card{
    border:2px solid #ff6600;
}

.ticket-btn{
    display:block !important;
    width:100%;
    background:#ff6600 !important;
    color:white !important;
    padding:15px;
    text-align:center;
    text-decoration:none;
    border-radius:12px;
    margin-top:10px;
}

.waiting-room{
    padding:40px 20px;
    text-align:center;
}

.waiting-room h1{
    margin-bottom:20px;
}

#countdown{
    font-size:32px;
    font-weight:bold;
    color:#ff6600;
    margin-top:30px;
}

.event-actions{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.small-btn{
    flex:1;
    text-align:center;
    background:#ff6600;
    color:white;
    padding:10px;
    border-radius:10px;
    text-decoration:none;
}

.danger-btn{
    background:#d63031;
}

.studio-header{
background:#ff6600;
padding:30px 20px;
text-align:center;
color:white;
border-radius:0 0 25px 25px;
}

.studio-avatar{
font-size:45px;
margin-bottom:10px;
}

.studio-container{
padding:15px;
}

.stats-row{
display:flex;
flex-wrap:wrap;
gap:15px;
margin-top:15px;
margin-bottom:15px;
}

.mini-stat{
flex:1;
min-width:140px;
background:white;
border-radius:15px;
padding:20px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.mini-stat h4{
color:#666;
margin-bottom:10px;
}

.mini-stat h2{
color:#ff6600;
}

.revenue-card{
margin-top:15px;
background:white;
padding:25px;
border-radius:15px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.revenue-card span{
color:#666;
}

.revenue-card h1{
margin-top:10px;
color:#ff6600;
}

.section-title{
margin-top:25px;
margin-bottom:15px;
font-size:18px;
font-weight:bold;
}

.action-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}

.action-box{
background:white;
border-radius:15px;
padding:25px 15px;
text-align:center;
text-decoration:none;
color:#333;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.action-box span{
display:block;
margin-top:10px;
}

.recent-event{
background:white;
padding:15px;
border-radius:15px;
margin-bottom:12px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.manage-btn{
background:#ff6600;
color:white;
text-decoration:none;
padding:8px 15px;
border-radius:10px;
}

.back-feed{
display:block;
text-align:center;
margin-top:25px;
text-decoration:none;
color:#ff6600;
font-weight:bold;
}


.studio-navbar{
position:sticky;
top:0;
background:white;
padding:15px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 2px 15px rgba(0,0,0,.08);
z-index:999;
}

.studio-navbar button{
border:none;
background:none;
font-size:24px;
}

#studioMenu{
position:fixed;
left:-260px;
top:0;
width:250px;
height:100%;
background:white;
box-shadow:3px 0 20px rgba(0,0,0,.15);
transition:.3s;
z-index:9999;
}

.menu-open{
left:0 !important;
}

.menu-profile{
background:#ff6600;
color:white;
padding:25px;
display:flex;
flex-direction:column;
}

#studioMenu a{
display:block;
padding:15px 20px;
text-decoration:none;
color:#333;
border-bottom:1px solid #eee;
}

.studio-content{
padding:15px;
}

.welcome-card{
background:white;
padding:20px;
border-radius:18px;
margin-bottom:15px;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.earnings-card-v2{
background:linear-gradient(
135deg,
#ff6600,
#ff914d
);
color:white;
padding:25px;
border-radius:20px;
margin-bottom:20px;
}

.earnings-card-v2 h1{
margin:10px 0;
}

.earnings-card-v2 button{
border:none;
background:white;
color:#ff6600;
padding:12px 20px;
border-radius:30px;
font-weight:bold;
}

.action-cards{
display:flex;
flex-direction:column;
gap:15px;
}

.big-action{
display:flex;
align-items:center;
gap:15px;
background:white;
text-decoration:none;
color:#333;
padding:20px;
border-radius:20px;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.dark-action{
background:#111;
color:white;
}

.icon{
font-size:35px;
}

.event-row{
background:white;
padding:15px;
border-radius:15px;
margin-bottom:12px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.manage-pill{
background:#ff6600;
color:white;
text-decoration:none;
padding:8px 15px;
border-radius:30px;
}

.section-title{
font-size:18px;
font-weight:bold;
margin:25px 0 15px;
}

.page-topbar{
background:white;
padding:15px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.page-topbar a{
text-decoration:none;
color:#333;
font-size:22px;
}

.wallet-card{
margin:20px;
background:linear-gradient(
135deg,
#ff6600,
#ff944d
);
color:white;
padding:25px;
border-radius:20px;
text-align:center;
}

.wallet-card h1{
margin-top:10px;
font-size:34px;
}

.wallet-action-grid{
padding:20px;
display:grid;
gap:15px;
}

.wallet-action{
background:white;
padding:18px;
border-radius:15px;
text-decoration:none;
color:#333;
font-weight:bold;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.deposit-card{
margin:20px;
background:white;
padding:20px;
border-radius:18px;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.deposit-card label{
display:block;
margin-bottom:10px;
}

.deposit-card input{
width:100%;
padding:15px;
border:1px solid #ddd;
border-radius:12px;
margin-bottom:15px;
}

.deposit-card button{
width:100%;
border:none;
background:#ff6600;
color:white;
padding:15px;
border-radius:12px;
}

.transactions-wrap{
padding:15px;
}

.transaction-card{
background:white;
padding:15px;
border-radius:15px;
margin-bottom:12px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.transaction-amount{
font-weight:bold;
color:#ff6600;
}

.success-screen{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:20px;
text-align:center;
}

.success-icon{
font-size:80px;
margin-bottom:20px;
}

.success-card{
width:100%;
max-width:450px;
background:white;
padding:25px;
border-radius:20px;
margin:20px 0;
box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.success-card h3{
margin-bottom:20px;
color:#ff6600;
}

.success-card p{
margin-bottom:12px;
}

.success-btn{
width:100%;
max-width:450px;
text-align:center;
background:#ff6600;
color:white;
text-decoration:none;
padding:15px;
border-radius:15px;
margin-bottom:12px;
font-weight:bold;
}

.secondary-btn{
background:#333;
}

.live-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px;
background:#111;
color:white;
}

.live-badge{
background:red;
padding:6px 12px;
border-radius:20px;
}

.video-placeholder{
height:250px;
background:#222;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
}

.viewer-box{
padding:15px;
text-align:center;
background:white;
}

.support-area{
padding:15px;
}

.support-btn{
display:block;
text-align:center;
background:#ff6600;
color:white;
text-decoration:none;
padding:15px;
border-radius:15px;
}

.comments-section{
padding:15px;
}

.comments-section form{
display:flex;
gap:10px;
margin-bottom:15px;
}

.comments-section input{
flex:1;
padding:12px;
}

.comments-section button{
padding:12px 20px;
}

.comment-card{
background:white;
padding:12px;
border-radius:12px;
margin-bottom:10px;
}


.waiting-room{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
}

#countdown{
margin-top:20px;
font-size:30px;
font-weight:bold;
color:#ff6600;
}

.enter-live-btn{
display:inline-block;
background:#ff6600;
color:white;
text-decoration:none;
padding:15px 25px;
border-radius:15px;
font-weight:bold;
margin-top:20px;
}

.live-btn{
background:#e53935;
color:white;
}

.end-live-btn{
background:#333;
color:white;
}

.success-screen{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:20px;
text-align:center;
}

.success-icon{
font-size:70px;
margin-bottom:15px;
}

.success-card{
width:100%;
max-width:450px;
background:white;
padding:20px;
border-radius:20px;
margin:20px 0;
box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.success-btn{
width:100%;
max-width:450px;
text-decoration:none;
text-align:center;
background:#ff6600;
color:white;
padding:15px;
border-radius:15px;
margin-bottom:10px;
font-weight:bold;
}

.secondary-btn{
background:#333;
}

.creator-profile{
padding:20px;
}

.creator-header{
text-align:center;
margin-bottom:20px;
}

.creator-avatar{
width:100px;
height:100px;
background:#ff6600;
color:white;
font-size:50px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin:auto;
}

.creator-buttons{
display:flex;
gap:10px;
margin-bottom:20px;
}


.video-wrapper{
position:relative;
margin-top:10px;
}

.comedy-video{
width:100%;
border-radius:20px;
}

.video-actions{
position:absolute;
right:15px;
bottom:25px;
display:flex;
flex-direction:column;
gap:25px;
}

.video-action-btn{
color:white;
text-decoration:none;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
font-size:18px;
font-weight:bold;
background:none;
}

.video-action-btn span{
font-size:40px;
}

.comment-form{
display:flex;
gap:10px;
margin:20px 0;
}

.comment-form input{
flex:1;
padding:15px;
border:1px solid #ddd;
border-radius:12px;
}

.comment-form button{
border:none;
background:#ff6600;
color:white;
padding:15px 20px;
border-radius:12px;
}

.comment-card{
background:white;
padding:15px;
border-radius:15px;
margin-bottom:12px;
box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.analytics-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
margin:20px 0;
}

.analytics-card{
background:#fff;
padding:20px;
border-radius:15px;
text-align:center;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.analytics-card h3{
margin:0;
font-size:14px;
color:#777;
}

.analytics-card h2{
margin-top:10px;
font-size:28px;
}

.analytics-card{
background:#ffffff;
padding:20px;
border-radius:18px;
text-align:center;
box-shadow:0 3px 15px rgba(0,0,0,0.08);
transition:0.3s;
}

.analytics-card:hover{
transform:translateY(-3px);
}

/* ADMIN DASHBOARD FIX */

.studio-content{
padding:20px;
}

.studio-content h3{
margin-top:25px;
margin-bottom:12px;
padding-bottom:8px;
border-bottom:1px solid #eee;
font-size:18px;
}

.wallet-action{
display:block;
width:100%;
background:white;
padding:18px;
border-radius:15px;
margin-bottom:12px;
text-decoration:none;
color:#333;
font-weight:bold;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.wallet-action:hover{
transform:translateY(-2px);
transition:.3s;
}

@media(max-width:768px){

.stats-row{
flex-direction:column;
}

.mini-stat{
width:100%;
}

}

/* ==========================================
   WAITING ROOM
========================================== */

.waiting-room{

display:flex;
justify-content:center;
align-items:center;
min-height:100vh;
padding:25px;
background:linear-gradient(135deg,#111,#1d1d1d);

}

.waiting-card{

width:100%;
max-width:650px;
background:#222;
border-radius:20px;
padding:35px;
text-align:center;
box-shadow:0 15px 40px rgba(0,0,0,.45);

}

.waiting-logo{

font-size:30px;
font-weight:bold;
color:#ff3d00;
margin-bottom:20px;

}

.waiting-banner{

width:100%;
border-radius:15px;
margin-bottom:25px;
max-height:260px;
object-fit:cover;

}

.waiting-card h1{

color:#fff;
font-size:30px;
margin-bottom:20px;

}

.waiting-info{

display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin-bottom:25px;
font-size:18px;
color:#ddd;

}

#countdown{

background:#2b2b2b;
border-radius:15px;
padding:25px;
font-size:24px;
font-weight:bold;
color:#fff;
margin-bottom:25px;

}

.waiting-footer{

font-size:16px;
color:#bbb;
line-height:1.8;

}