/* =========================
   GLOBAL
========================= */

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #fff;
    background:
        url("Solaria.webp") center center / cover no-repeat fixed;
}

/* =========================
   CONTAINER
========================= */

.bizcreator-box {
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 25px;
    padding: 30px;
    background: linear-gradient(145deg, #f5e6c8, #d4b26a);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.6),
        inset 0 2px 5px rgba(255,255,255,0.4),
        inset 0 -5px 10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.bizcreator-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 6px;
    border-radius: 50px;
    background: linear-gradient(90deg, transparent, #ff3c00, transparent);
    box-shadow: 0 0 20px #ff3c00;
}

/* =========================
   PLAN WRAPPER (UNIQUE)
========================= */

#plan-wrapper{
    width:100%;
    margin-top:40px;
    padding:30px;
    box-sizing:border-box;
    overflow-x:auto;
}

#plan{
    width:100%;
    min-width:900px;
}

/* =========================
   TITLE
========================= */

.bizcreator-title {
    font-size: 28px;
    font-weight: bold;
    color: #b8964a;
    text-shadow:
        0 2px 2px rgba(0,0,0,0.6),
        0 0 10px rgba(255,200,100,0.4);
    margin-bottom: 20px;
}

/* =========================
   PANEL
========================= */

.panel {
    background: rgba(0,0,0,0.4);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 10px rgba(255,255,255,0.1),
        0 10px 20px rgba(0,0,0,0.5);
}

/* =========================
   INPUTS
========================= */

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #111;
    color: #f5e6c8;
    box-shadow:
        inset 0 0 5px rgba(255,200,100,0.3);
}

/* =========================
   BUTTON
========================= */

button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: linear-gradient(145deg, #ffcc66, #caa24d);
    color: #000;
    font-weight: bold;
    transition: 0.2s;
    box-shadow:
        0 5px 10px rgba(0,0,0,0.5),
        inset 0 2px 5px rgba(255,255,255,0.5);
}

button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.7),
        0 0 15px rgba(255,200,100,0.6);
}

/* =========================
   RESULT
========================= */

.result {
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;
    background: #000;
    color: #f5e6c8;
    font-family: monospace;
    box-shadow:
        inset 0 0 10px rgba(255,200,100,0.2);
    white-space: normal;
    line-height: 1.45;
    font-size: 13px;
}

/* =========================
   LED BAR
========================= */

.led-bar {
    display: flex;
    gap: 5px;
    margin-top: 20px;
}

.led {
    width: 20px;
    height: 40px;
    background: #111;
    border-radius: 5px;
    box-shadow: inset 0 0 5px #000;
    position: relative;
}

.led::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 5px;
    background: red;
    border-radius: 2px;
    box-shadow: 0 0 5px red;
}

.led.active {
    background: linear-gradient(#222, #000);
    box-shadow:
        inset 0 0 10px #ff3c00,
        0 0 10px #ff3c00;
}

/* =========================
   STRUCTURE RESULT PRO
========================= */

.result-title{
    text-align:center;
    font-weight:700;
    color:#00ffd5;
    margin-bottom:10px;
    font-size:14px;
    letter-spacing:1px;
}

.section{
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,215,100,0.15);
    box-shadow: 0 0 10px rgba(255,215,100,0.08);
}

.section-title{
    font-weight: 700;
    color: #ffd46b;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.subsection{
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.subsection-title{
    font-weight: 700;
    color: #9fe8ff;
    margin-bottom: 6px;
    font-size: 13px;
}

/* =========================
   LIGNES ALIGNÉES (UNIQUE)
========================= */

.line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin:2px 0;
}

.line::before{
    content: attr(data-label);
    color:#aaa;
}

.value{
    color:#00ffd5;
    font-weight:600;
}

/* =========================
   PRODUITS
========================= */

.product-item{
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    cursor:pointer;
    transition:0.2s;
}

.product-item:hover{
    background: rgba(0,255,213,0.08);
    box-shadow:0 0 10px rgba(0,255,213,0.2);
}

/* =========================
   LIENS
========================= */

.result a{
    color: #7fdcff;
    text-decoration: none;
}

.result a:hover{
    text-decoration: underline;
}

/* =========================
   MOBILE FIX
========================= */

@media (max-width: 768px){

    .bizcreator-box{
        width: calc(100% - 20px);
        margin: 10px auto;
        padding: 15px;
        border-radius: 15px;
    }

    .bizcreator-title{
        font-size: 20px;
        text-align: center;
    }

    .panel{
        padding: 15px;
    }

    input, select{
        font-size: 16px;
        padding: 12px;
    }

    button{
        font-size: 16px;
        padding: 14px;
    }

    .result{
        font-size: 12px;
        padding: 10px;
    }

    .line{
        flex-direction: column;
        align-items: flex-start;
    }

    .line::before{
        margin-bottom: 2px;
        font-size: 11px;
    }

    .value{
        font-size: 13px;
    }

    #plan-wrapper{
        padding: 10px;
    }

    #plan{
        min-width: 700px;
    }

    .product-item{
        font-size: 12px;
        padding: 8px;
    }

    .section{
        padding: 10px;
    }

    .section-title{
        font-size: 12px;
    }

    .subsection-title{
        font-size: 11px;
    }
}

@media (max-width: 480px){
    #plan{
        min-width: 600px;
    }
}