/* ==========================================================
   POLITECHNIKA ŁÓDZKA - MOTYW
========================================================== */

:root{

    --pl-blue:#003B7A;
    --pl-red:#D71920;
    --pl-green:#198754;

    --bg:#f4f7fb;

    --card:#ffffff;

    --border:#dce3eb;

    --text:#253040;

    --muted:#6c757d;

    --radius:18px;

    --transition:.30s ease;

}

/* ==========================================================
   BODY
========================================================== */

body{

    background:var(--bg);

    color:var(--text);

    font-family:'Inter',sans-serif;

    min-height:100vh;

}

/* ==========================================================
   SIDEBAR
========================================================== */

.sidebar-wrapper{

    min-height:100vh;

    padding:25px;

}

.sidebar{

    background:#fff;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    padding:30px;

    position:sticky;

    top:20px;

}

.sidebar-logo{

    text-align:center;

}

.sidebar-logo img{

    max-width:180px;

}

.sidebar-logo h4{

    margin-top:20px;

    font-size:1.2rem;

    font-weight:700;

}

.sidebar-logo p{

    color:var(--muted);

    margin-bottom:5px;

}

.sidebar-logo small{

    color:var(--pl-red);

    font-weight:600;

}

/* ==========================================================
   MENU
========================================================== */

.wizard-menu{

    list-style:none;

    padding:0;

    margin:30px 0 0;

}

.wizard-item{

    display:flex;

    align-items:center;

    gap:15px;

    padding:14px;

    border-radius:14px;

    cursor:pointer;

    transition:var(--transition);

    margin-bottom:8px;

}

.wizard-item:hover{

    background:#eef4fb;

}

.wizard-item strong{

    display:block;

}

.wizard-item small{

    color:var(--muted);

}

.wizard-number{

    width:40px;

    height:40px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    background:#d9dfe8;

    color:#555;

    transition:.3s;

}

/* aktywny */

.wizard-item.active{

    background:#eef4fb;

}

.wizard-item.active .wizard-number{

    background:var(--pl-red);

    color:#fff;

}

/* ukończony */

.wizard-item.done .wizard-number{

    background:var(--pl-green);

    color:#fff;

}

/* ==========================================================
   CONTENT
========================================================== */

.content-wrapper{

    padding:35px;

}

.page-header{

    margin-bottom:30px;

}

.page-header h1{

    font-size:2rem;

    font-weight:700;

}

.conference-date{

    color:var(--pl-red);

    font-weight:700;

}

/* ==========================================================
   HEADER KROKU
========================================================== */

.wizard-header{

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:25px;

}

.step-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:var(--pl-blue);

    color:#fff;

    font-size:28px;

}

.step-title h2{

    margin-bottom:5px;

}

/* ==========================================================
   PROGRESS
========================================================== */

.progress-card{

    background:#fff;

    border-radius:18px;

    padding:20px;

    margin-bottom:35px;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

}

.progress{

    height:12px;

    border-radius:30px;

    background:#e8edf2;

}

.progress-bar{

    background:linear-gradient(
        90deg,
        var(--pl-red),
        var(--pl-blue)
    );

    transition:.4s;

}

/* ==========================================================
   KARTA KROKU
========================================================== */

.step-card{

    background:var(--card);

    border-radius:20px;

    padding:40px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

/* ==========================================================
   TYTUŁ KROKU
========================================================== */

.step-title{

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:30px;

}

.step-title i{

    width:64px;

    height:64px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--pl-blue);

    color:#fff;

    font-size:28px;

}

.step-title h3{

    margin-bottom:4px;

    font-weight:700;

}

.step-title p{

    margin:0;

    color:var(--muted);

}

/* ==========================================================
   FORMULARZ
========================================================== */

.form-label{

    font-weight:600;

    margin-bottom:8px;

}

.form-control,
.form-select{

    border-radius:12px;

    border:1px solid var(--border);

    min-height:52px;

    transition:.25s;

}

.form-control:focus,
.form-select:focus{

    border-color:var(--pl-blue);

    box-shadow:0 0 0 .2rem rgba(0,59,122,.12);

}

.input-group-text{

    background:#f7f8fa;

    border:1px solid var(--border);

    border-right:none;

    color:var(--pl-blue);

    min-width:50px;

    justify-content:center;

}

.input-group .form-control{

    border-left:none;

}

/* ==========================================================
   WYMAGANE POLA
========================================================== */

.required::after{

    content:" *";

    color:var(--pl-red);

}

/* ==========================================================
   PRZYCISKI
========================================================== */

.wizard-navigation{

    display:flex;

    justify-content:space-between;

    margin-top:40px;

}

.btn-pl{

    background:var(--pl-red);

    color:#fff;

    border:none;

    border-radius:12px;

    min-width:170px;

    min-height:52px;

    font-weight:600;

    transition:.3s;

}

.btn-pl:hover{

    background:#b30f1a;

    color:#fff;

    transform:translateY(-2px);

}

.btn-outline-pl{

    background:#fff;

    color:var(--pl-blue);

    border:2px solid var(--pl-blue);

    border-radius:12px;

    min-width:170px;

    min-height:52px;

    font-weight:600;

}

.btn-outline-pl:hover{

    background:var(--pl-blue);

    color:#fff;

}

/* ==========================================================
   WIZARD
========================================================== */

.wizard-step{

    display:none;

    animation:fadeSlide .35s ease;

}

.wizard-step.active{

    display:block;

}

@keyframes fadeSlide{

    from{

        opacity:0;

        transform:translateX(25px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/* ==========================================================
   BŁĘDY
========================================================== */

.is-invalid{

    border-color:#dc3545 !important;

}

.invalid-feedback{

    display:block;

    margin-top:6px;

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:991px){

.sidebar-wrapper{

    display:none !important;

}

.content-wrapper{

    padding:20px;

}

.step-card{

    padding:25px;

}

.step-title{

    flex-direction:column;

    text-align:center;

}

.wizard-navigation{

    flex-direction:column;

    gap:15px;

}

.btn-pl,
.btn-outline-pl{

    width:100%;

}

.page-header{

    text-align:center;

}

}

/* ==========================================================
   KAFELKI
========================================================== */

.option-card{

    display:block;

    cursor:pointer;

}

.option-card input{

    display:none;

}

.option-body{

    border:2px solid #dce3eb;

    border-radius:18px;

    padding:30px;

    text-align:center;

    transition:.3s;

    background:white;

}

.option-card input:checked + .option-body{

    border-color:var(--pl-red);

    background:#fff4f5;

}

/* checkbox */

.check-card{

    display:flex;

    align-items:center;

    gap:15px;

    border:2px solid #dce3eb;

    border-radius:15px;

    padding:18px;

    cursor:pointer;

    transition:.3s;

    background:white;

}

.check-card:hover{

    border-color:var(--pl-blue);

}

.check-card input{

    width:22px;

    height:22px;

}

.check-card:has(input:checked){

    border-color:var(--pl-red);

    background:#fff4f5;

}

/* ==============================
   SIDEBAR FOOTER
================================ */

.sidebar-footer{

    margin-top:40px;

}

/* ==============================
   MENU
================================ */
/* =====================================
   SIDEBAR MENU
===================================== */

.wizard-menu{

    list-style:none;

    padding:0;

    margin:25px 0;

}

.wizard-item{

    position:relative;

    display:flex;

    align-items:center;

    gap:16px;

    padding:14px 16px;

    margin-bottom:10px;

    border-radius:16px;

    cursor:pointer;

    transition:all .25s ease;

}

/* pionowa linia */

.wizard-item:not(:last-child)::after{

    content:"";

    position:absolute;

    left:35px;

    top:58px;

    width:2px;

    height:30px;

    background:#d8dee8;

}

/* numer */

.wizard-number{

    width:42px;

    height:42px;

    min-width:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    font-size:16px;

    background:#e9edf3;

    color:#666;

    transition:.25s;

    z-index:2;

}

/* tekst */

.wizard-item strong{

    display:block;

    font-size:15px;

}

.wizard-item small{

    color:#7b8794;

}

/* hover */

.wizard-item:hover{

    background:#f7f9fc;

}

/* aktywny */

.wizard-item.active{

    background:#eef4fb;

}

.wizard-item.active .wizard-number{

    background:var(--pl-red);

    color:#fff;

}

/* ukończony */

.wizard-item.done .wizard-number{

    background:var(--pl-green);

    color:transparent;

}

.wizard-item.done .wizard-number::before{

    content:"✓";

    color:#fff;

    font-size:18px;

    font-weight:bold;

}

/* zielona linia po ukończeniu */

.wizard-item.done:not(:last-child)::after{

    background:var(--pl-green);

}


.form-check.is-invalid{
    padding:12px;
    border:1px solid #dc3545;
    border-radius:10px;
    background:#fff5f5;
}

/* ===============================
   SUCCESS
================================ */

.step-card{

    animation:fadeIn .5s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}