/* Update grid structure */
.dashboard_grid {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    display: grid;
    height: 100vh;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 60px 1fr 30px;
    grid-template-areas: 
        "header header"
        "sidebar main"
        "footer footer";
        background-image: url('../image/sm_bg.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
   }

/* Grid areas */
.grid_sidebar { 
    grid-area: sidebar;
    border-left: 2px solid #000000;
    border-right: 3px solid #000000;
  }

.grid_header { 
    grid-area: header;
    background-color: #000000;
}

.grid_main { 
    grid-area: main;
    grid-template: 1fr / 1fr;
    overflow-y: auto;
}

/* Video grid layout */
.video_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.video-card {
    display: flex;
    justify-content: center;
    justify-items: center;
    min-width: 250px;
    border-radius: 10px;
}

.video-content {
    padding-top: 2px;
    padding-bottom: 2px;
}

.video-iframe  {
    height: 350px;
}

a.download_video  {
    background-color: #a100ff;
    color: #FFFFFF;
    text-decoration: none;
}

/* Create video card */
.create_video_card {
    transition: background-color 0.3s ease;
    min-height: 320px;
}

.create_video_card:hover {
    background-color: #35353575;
    border: 2px #353535 dashed;
}

.submit_bt {
    background-color: #FFF705;
    border: 1px #4e005d solid;
}

.submit_bt:hover {
    background-color: #FFF705;
    border: 1px #4e005d solid;
}

.submit_back_bt {
    background-color: #252525;
    color: #FFFFFF;
    border: 1px #353535 solid;
}


.submit_back_bt:hover {
    background-color: #151515;
    border: 1px #252525 solid;
}

.sign_up_bt {
    background-color: #000000;
    color: #FFFFFF;
    border: 1px #353535 solid;
}

.sign_up_bt:hover {
    background-color: #252525;
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {
    .dashboard_grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "main";
    }

    .grid_sidebar {
        display: none;
    }

    .video_grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 10px;
        padding: 10px;
    }
}

.grid_footer { 
    grid-area: footer;
    background-color: #000000;
    border-top: 1px solid #252525;
    padding-left: 25px;
    padding-right: 25px;
}

/* Mobile footer adjustments */
@media only screen and (max-width: 768px) {
    .dashboard_grid {
        grid-template-rows: 60px 1fr 45px;
        grid-template-areas: 
            "header"
            "main"
            "footer";
    }
}

/* Navigation styles */
.nav_link {
    display: flex;
    align-items: center;
    padding: 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #656565;
}

#nav_links { border-top: 1px solid #656565; }

.nav_link:hover {
    background-color: #454545;
}

.header_bar {
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;
    background-color: #000000;
    box-shadow: 0px 4px 8px #151515;
}

.header_brand {
    flex: 1;
    height: 100%;
    display: flex;
    width: 25%;
    align-items: start;
    justify-content: center;
    padding-left: 45px;
}

.header_credits {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 35px;
    border-left: 1px solid #656565;
}

.header_actions {
    width: 10%;
    height: 100%;
    display: flex;
    border-left: 1px solid #656565;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

.header_actions button {
    border: none;
    background-color: #000000;
    height: 100%;
}

.footer_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #000000;
    border-top: 1px solid #151515;
    padding: 7px 5px 0 5px;
}

.footer_left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer_right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_brand {
    display: flex;
    align-items: center;
}

.footer_brand .brand_name {
    color: #FFFFFF;
    font-weight: bold;
    margin-right: 5px;
}

.footer_brand .brand_tagline {
    color: #00FF00;
    font-size: 9px;
}

.background_layer,
.content_layer {
    grid-area: 1 / 1; /* Makes both layers occupy the same grid cell */
}

.background_layer {
    z-index: 1;
}

.content_layer {
    z-index: 4;
    position: relative;
}

#tutorial_div {
    border: 1px #252525 solid;
    border-radius: 10px 10px 0px 0px;
    bottom: 29px;
    }

.btn-template  {
    color: #FFFFFF;
    border: none;
}

.modal {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background: #151515;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    overflow: scroll;
}

/* Loading indicator styles */

.loading-indicator {
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* Reuse existing loading circle animation but make it smaller for forms */
.loading-indicator .loading-circle {
    width: 30px;
    height: 30px;
    border: 2px solid #333;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Make the label smaller for forms */
.loading-indicator .generation-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}


/* Pricing Modal Styles */
#pricingModal {
    width: 85% !important;
    max-width: none !important;
}

.featured-plan {
    margin-bottom: 30px;
}

.advanced-plan {
    flex: 1;
    min-width: 200px;
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {

    .advanced-plan {
        margin: 0 0 15px 0;
        width: 100%;
    }

}

.font_mons400 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* Add this to your vs_support.css file */

/* Template button styles */
.btn-template {
    transition: all 0.3s ease;
}

.btn-template:hover {
    background-color: #454545;
}

.btn-template.template-saved {
    background-color: #008800;
    cursor: default;
}

/* Action modal transitions */
#actionModal {
    transition: opacity 0.3s ease;
}

#actionSuccess, #actionLoading {
    transition: all 0.3s ease;
}

/* Add a subtle fade-in animation to the success message */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#actionSuccess {
    animation: fadeInDown 0.5s ease forwards;
}

.item_actions { gap:10px; }
.item_action_btn { background:linear-gradient(135deg, #ffffff 0%, #dedede 100%); width:40px; height:40px; box-shadow:1px 1px 2px; }
.item_action_btn:hover { background:linear-gradient(135deg, #f500fe 0%, #ff5200 100%); }

/* ===========================================
   RESPONSIVE UTILITIES FOR LANDING PAGES
   =========================================== */

/* Mobile breakpoint: 768px */
@media(max-width: 768px) {
    
    /* Header adjustments */
    /* #bj_main_head .w55p { width: 45% !important; } */
    #bj_main_head .w30p { width: 40% !important; }
    #bj_main_head .t16 { font-size: 14px !important; }
    #bj_main_head .t12 { font-size: 11px !important; }
    
    /* Hero adjustments */
    .hero-gradient { 
        padding-top: 70px !important; 
        padding-bottom: 50px !important;
        background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.95)), 
                    url(../bj_images/core/bj_body3.jpg?v=3) no-repeat center center fixed;
    }
    .hero-gradient .w75 { width: 65px !important; height: 65px !important; }
    .hero-gradient .w75p { width: 90% !important; }
    .hero-gradient .w50p { width: 90% !important; }
    .hero-gradient .responsive-h1 { font-size: 2rem !important; }
    .hero-gradient .responsive-text { font-size: 0.95rem !important; }
    
    /* Grid to single column */
    .gr3 { grid-template-columns: 1fr !important; }
    
    /* Steps section - vertical on mobile */
    section .dfr.w90p { flex-direction: column !important; }
    section .w33p { width: 100% !important; max-width: 100%; }
    
    /* Phone demo section */
    .demo .dfr { flex-direction: column !important; }
    .demo .w250 { width: 240px !important; height: 480px !important; }
    .demo .w50p { width: 100% !important; text-align: center; }
    .demo .mr35 { margin-right: 0 !important; margin-bottom: 25px !important; }
    
    /* Pricing card */
    .price-card-bg.w35p { width: 90% !important; }
    .price-card-bg .t75 { font-size: 50px !important; }
    
    /* FAQ */
    .faq .w50p { width: 90% !important; }
    
    /* Final CTA */
    .final .w45p { width: 90% !important; }
    
    /* Modal */
    .modal-overlay .w35p { width: 90% !important; max-width: 400px; }
    
    /* Sections padding */
    .p60 { padding: 60px 15px !important; }
}

/* Extra small mobile: 480px */
@media(max-width: 480px) {
    
    /* Header ultra compact */
    #bj_main_head .w15p { width: 20% !important; }
    #bj_main_head .w15p img { width: 28px !important; height: 28px !important; }
    /* #bj_main_head .w55p { width: 40% !important; } */
    #bj_main_head .w30p { width: 40% !important; padding: 0 10px !important; }
    #bj_main_head .t16 { font-size: 12px !important; }
    #bj_main_head .t12 { font-size: 10px !important; }
    
    /* Hero ultra compact */
    .hero-gradient .badge-gold { font-size: 10px !important; padding: 6px 14px !important; }
    .hero-gradient .responsive-h1 { font-size: 1.7rem !important; }
    
    /* Pain section title */
    .pain .t22 { font-size: 1.2rem !important; }
    
    /* Phone mockup smallest */
    .demo .w250 { width: 220px !important; height: 440px !important; }
    
    /* Price card ultra compact */
    .price-card-bg { padding: 30px 20px !important; }
}

/* ===========================================
   LANDING PAGE SPECIFIC STYLES
   =========================================== */

/* Hero gradient background with rotating effect */
.hero-gradient {
    background: radial-gradient(ellipse at top, #1a1a0a 0%, #0a0a0a 60%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, #FFCC00 10%, transparent 20%);
    animation: rotate 25s linear infinite;
    opacity: 0.03;
}

/* Gold gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FFCC00, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #FFCC00, #ffd700);
    color: #000;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 50px #FFCC0060;
}

/* Cards */
.card-dark {
    background: linear-gradient(135deg, #151515, #121212);
    border: 1px solid #252525;
    transition: all 0.3s;
}

.card-dark:hover {
    border-color: #FFCC0040;
    transform: translateY(-4px);
}

/* Price card special background */
.price-card-bg {
    background: linear-gradient(135deg, #1a1a1a, #141414);
    border: 2px solid #FFCC00;
    position: relative;
    overflow: hidden;
}

.price-card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #FFCC0020, transparent 70%);
}

/* Phone mockup */
.phone-mockup {
    background: #151515;
    border: 3px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    padding: 35px 10px 10px;
}

.phone-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #333;
    margin: 5px;
    color: #555;
}

/* Badges */
.badge-gold {
    background: linear-gradient(135deg, #FFCC00, #ff9500);
    color: #000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-outline {
    background: #FFCC0015;
    color: #FFCC00;
}

/* Step circles */
.step-num {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #FFCC00, #ff9500);
    color: #000;
}

/* Special text colors */
.text-gold { color: #FFCC00; }
.text-gray { color: #888; }
.text-gray-dark { color: #606060; }
.text-red { color: #ff4444; }

/* Modal overlay */
.modal-overlay {
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.modal-close {
    background: none;
    border: none;
    color: #606060;
    transition: color 0.3s;
    cursor: pointer;
}

.modal-close:hover { color: #fff; }

/* Section backgrounds */
.section-dark { background: #0f0f0f; }
.section-darker { background: linear-gradient(180deg, #0a0a0a, #121212); }
.section-gradient { background: radial-gradient(ellipse at bottom, #1a1a0a 0%, #0a0a0a 70%); }

/* Responsive font sizes */
.responsive-h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
.responsive-h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.responsive-text { font-size: clamp(0.95rem, 2.5vw, 1.25rem); }

.bg_gold{background:#FFCC00}
.bg_gold_grad{background:linear-gradient(135deg,#FFCC00,#ff9500)} 
.c_gold{color:#FFCC00}
.c_gray{color:#888}
.bg_dark{background:#0a0a0a}
/* Gradients that can't be in vs_main */
.hero_bg{background:radial-gradient(ellipse at top,#1a1a0a 0%,#0a0a0a 60%)}
.hero_overlay{background:linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.95)), url(https://storage.googleapis.com/bj_photo_bucket/bj_bg_main.JPG) no-repeat center center / cover fixed}

/* Phone mockup - unique */
.phone_mock{width:280px;height:560px;border-radius:35px;border:3px solid #333;box-shadow:0 20px 60px rgba(0,0,0,0.5)}
.phone_notch{width:120px;height:25px;background:#000;border-radius:0 0 15px 15px}

/* Modal overlay */
.modal_overlay{background:rgba(0,0,0,0.92)}
.pt150 {padding-top: 150px; padding-bottom: 100px;}

.hero_h1 {font-size:clamp(2.2rem,7vw,4rem); font-weight:900; max-width:750px}

/* Glow effects */
.glow_gold{box-shadow:0 0 40px #FFCC0040}
.glow_btn{box-shadow:0 0 40px #FFCC0040}
.glow_btn:hover{transform:translateY(-3px);box-shadow:0 10px 50px #FFCC0060}

#cs_body { background:linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.95)), url(../bj_images/core/bj_body3.jpg?v=3) no-repeat center center / cover fixed; }
.cs_wrap { height:calc(100% - 25px); }

#bj_design_box { right:-50%; border-radius:15px 0px 0px 15px; box-shadow:4px 4px 4px; z-index:50000; display:block; }
.bj_feed_wrap { height:calc(100% - 15px); background-color:rgba(0,0,0,0.75); backdrop-filter: blur(3px); z-index:100000; }

@media only screen and (max-width: 700px) {
  #bj_design_box { width:80%; right:0px; display:none; }
  }

.updating { position:absolute; text-decoration: blink; animation-name: blinker; animation-duration: 0.2s; animation-iteration-count:infinite; animation-timing-function:ease-in-out; animation-direction: alternate; }
.refresh { width:90px; height:72px; bottom: 7px; right: 7px; }

.bj_store_sub { position:relative; width:100%; min-height:350px; padding-top:40px; padding-bottom:50px; background-color:#151515; }
.bj_ssub_op { left: 5%; position:relative; width:90%; height:42px; top:10px; text-align:center; font-size:15px; color:#DDDDDD; }

a.bj_ssub_op{color:#858585;text-decoration:none}
a.bj_ssub_op:hover{color:#FFCC00}

#special_bt { bottom:42px; height:63px; left:calc( 50% - 37px);  }

#main_head_a { border-right: 1px #5B5A5A solid; width:5%;}
#main_head_b { padding-left:10px;}
#main_head_b::first-line { color:#9E9E9E; font-size:10px; letter-spacing:0px; font-weight:normal;  }
#main_head_b:hover { background-color:#000000; }
#main_head_c { left:60%; border-right: 1px #5B5A5A solid; padding-top:25px; } 
#main_head_d { position:absolute; left:81%; width:19%; height:45px; padding-top:32px; cursor:pointer; }
#main_head_d2 { position:absolute; background-color:#252525; left:80%; width:20%; height:45px; text-align:center; cursor:pointer; }
.cxl10p { left:10%; }

.cs_manager_link { -webkit-user-select: none; user-select: none; }

/* =============================================
   BJ TUTORIAL ENGINE - CSS
   ============================================= */
#bjt_ov{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9998;pointer-events:none;opacity:0;transition:opacity .3s}
#bjt_ov.on{opacity:1;pointer-events:auto}
#bjt_ov svg{position:absolute;top:0;left:0;width:100%;height:100%}

#bjt_tip{position:fixed;z-index:9999;background:#fff;color:#222;border-radius:14px;max-width:310px;width:88%;box-shadow:0 8px 30px #0009;opacity:0;transition:opacity .3s,transform .3s;transform:translateY(10px);pointer-events:none;overflow:hidden}
#bjt_tip.on{opacity:1;transform:translateY(0);pointer-events:auto}

.bjt_bar{background:linear-gradient(135deg,#228D8E,#176062);padding:12px 14px;display:flex;align-items:center;gap:10px}
.bjt_mascot{width:48px;height:48px;border-radius:50%;background:#fff2;border:2px solid #fff4;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}
.bjt_hd .bjt_n{font-size:10px;color:#fff9;letter-spacing:1px}
.bjt_hd .bjt_t{font-size:14px;color:#fff;font-weight:bold;margin-top:2px}
.bjt_msg{padding:14px;font-size:13px;color:#444;line-height:1.6}
.bjt_ft{display:flex;align-items:center;justify-content:space-between;padding:0 14px 14px}
.bjt_dots{display:flex;gap:5px}
.bjt_dot{width:6px;height:6px;border-radius:50%;background:#ddd}
.bjt_dot.on{background:#228D8E}
.bjt_skip{background:none;border:none;color:#aaa;font-size:11px;cursor:pointer;padding:6px}
.bjt_bk{background:#eee;border:none;color:#666;padding:7px 14px;border-radius:20px;font-size:12px;cursor:pointer}
.bjt_nx{background:#228D8E;border:none;color:#fff;padding:9px 18px;border-radius:20px;font-size:13px;font-weight:bold;cursor:pointer}

#bjt_ring{position:fixed;border:2px solid #228D8E;border-radius:8px;z-index:9997;pointer-events:none;display:none;transition:all .3s ease}
@keyframes bjt_p{0%{box-shadow:0 0 0 0 rgba(34,141,142,.5)}70%{box-shadow:0 0 0 12px rgba(34,141,142,0)}100%{box-shadow:0 0 0 0 rgba(34,141,142,0)}}
#bjt_ring.on{animation:bjt_p 1.5s infinite}

/*#bjt_go{position:fixed;bottom:80px;right:16px;z-index:90;background:#228D8E;color:#fff;border:none;width:50px;height:50px;border-radius:50%;font-size:22px;cursor:pointer;box-shadow:0 4px 14px #0005}