/* =======================================
   FUNDACJA ROZKWIT
   WERSJA RÓŻOWA
======================================= */

:root{

    --primary: #d7a0a7;
    --primary-dark: #c48690;

    --secondary: #f2dce0;
    --secondary-dark: #e7c0c7;

    --accent: #c79b73;

    --background: #fcf7f8;
    --card: #ffffff;

    --text-dark: #6b5054;
    --text-light: #9d8185;

    --success: #9db297;
    --danger: #c96c75;
}

/* =======================================
   BODY
======================================= */

body{

    margin:0;

    background:var(--background);

    color:var(--text-dark);

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;
}

a{
    text-decoration:none;
}

/* =======================================
   SIDEBAR
======================================= */

.sidebar{

    min-height:100vh;

    background:
    linear-gradient(
        180deg,
        #d7a0a7 0%,
        #c48690 100%
    );

    color:white;

    padding:30px;
}

.sidebar img{

    border-radius:18px;

    margin-bottom:20px;
}

.sidebar h2{

    font-weight:700;
}

.sidebar p{

    color:rgba(255,255,255,.95);
}

.sidebar hr{

    opacity:.2;
}

/* =======================================
   MENU ADMINA
======================================= */

.admin-menu{

    margin-top:25px;
}

.menu-item{

    display:block;

    padding:14px 18px;

    margin-bottom:10px;

    border-radius:12px;

    color:white;

    transition:.25s;
}

.menu-item:hover{

    background:
        rgba(255,255,255,.18);

    color:white;
}

.menu-item.active{

    background:
        rgba(255,255,255,.25);
}

/* =======================================
   PUBLIC MENU
======================================= */

.public-menu{

    margin:30px 0;
}

.public-menu a{

    display:block;

    padding:12px 16px;

    margin-bottom:10px;

    border-radius:12px;

    text-decoration:none;

    color:white;

    transition:.2s;
}

.public-menu a:hover{

    background:rgba(255,255,255,.20);

    color:white;
}

/* =======================================
   CONTENT
======================================= */

.content{

    padding:35px;
}

/* =======================================
   KARTY
======================================= */

.admin-card{

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.05);
}

/* =======================================
   DASHBOARD
======================================= */

.admin-tile{

    background:white;

    border-radius:20px;

    padding:30px;

    height:100%;

    border-left:6px solid var(--primary);

    box-shadow:
        0 8px 20px rgba(0,0,0,.05);

    transition:.25s;
}

.admin-tile:hover{

    transform:
        translateY(-6px);

    box-shadow:
        0 16px 28px rgba(0,0,0,.08);
}

.tile-icon{

    font-size:42px;

    margin-bottom:15px;
}

.admin-tile h3{

    color:var(--text-dark);

    font-size:24px;

    font-weight:600;
}

.admin-tile p{

    color:var(--text-light);

    margin-bottom:0;
}

/* =======================================
   FORMULARZE
======================================= */

.form-label{

    font-weight:600;

    color:var(--text-dark);
}

.form-control{

    border-radius:12px;

    border:1px solid #ecd7db;
}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:
        0 0 0 .2rem
        rgba(215,160,167,.25);
}

.form-check-input:checked{

    background-color:
        var(--primary);

    border-color:
        var(--primary);
}

/* =======================================
   BUTTONY
======================================= */

.btn-rozkwit{

    background:var(--primary);

    border:none;

    color:white;
}

.btn-rozkwit:hover{

    background:
        var(--primary-dark);

    color:white;
}

.btn-success{

    background:var(--primary);

    border:none;
}

.btn-success:hover{

    background:
        var(--primary-dark);
}

.btn-primary{

    background:
        var(--secondary-dark);

    border:none;

    color:var(--text-dark);
}

.btn-primary:hover{

    background:
        #ddb3ba;

    color:var(--text-dark);
}

.btn-outline-secondary{

    border-color:
        var(--primary);

    color:
        var(--primary-dark);
}

.btn-outline-secondary:hover{

    background:
        var(--primary);

    color:white;
}

.back-button{

    display:inline-block;

    margin-bottom:25px;

    padding:10px 20px;

    background:white;

    border:2px solid var(--secondary-dark);

    color:var(--text-dark);

    border-radius:14px;

    transition:.2s;
}

.back-button:hover{

    background:var(--secondary);

    color:var(--text-dark);
}

/* =======================================
   TABELKI
======================================= */

.table{

    vertical-align:middle;
}

.table thead{

    background:#faf1f3;
}

.table th{

    color:var(--text-dark);

    font-weight:600;
}

.table-hover tbody tr:hover{

    background:#fff5f7;
}

/* =======================================
   STATUSY
======================================= */

.badge-open{

    background:var(--success);

    color:white;
}

.badge-waiting{

    background:var(--secondary-dark);

    color:var(--text-dark);
}

.badge-cancelled{

    background:var(--danger);

    color:white;
}

/* =======================================
   STRONA PUBLICZNA
======================================= */

.workshop-card{

    background:white;

    border-radius:24px;

    overflow:hidden;

    padding:25px;

    margin-bottom:25px;

    box-shadow:
        0 12px 24px rgba(0,0,0,.06);
}

.workshop-row{

    display:flex;

    gap:25px;

    align-items:flex-start;
}

.workshop-info{

    flex:1;
}

.workshop-image{

    width:260px;
    height:260px;

    border-radius:20px;

    object-fit:cover;

    flex-shrink:0;
}

.workshop-title{

    font-size:30px;

    font-weight:700;

    color:var(--text-dark);

    margin-bottom:15px;
}

.workshop-short{

    color:var(--text-light);

    margin-bottom:20px;
}

.workshop-meta{

    margin-bottom:20px;
}

.workshop-meta div{

    margin-bottom:8px;
}

.waiting-list{

    background:#fff1f4;

    color:#a14a62;

    padding:12px;

    border-radius:12px;

    margin-bottom:15px;
}

.workshop-buttons{

    display:flex;

    gap:15px;
}

.workshop-table tbody tr{

    cursor:pointer;

    transition:.2s;
}

.workshop-table tbody tr:hover{

    background:#fff1f4 !important;

    transform:scale(1.005);
}

/* =======================================
   POJEDYŃCZY EVENT
======================================= */

.event-layout{

    display:flex;

    gap:30px;

    align-items:flex-start;

    margin-bottom:30px;
}

.event-content{

    flex:1;
}

.event-image{

    width:350px;

    height:350px;

    border-radius:20px;

    object-fit:cover;

    flex-shrink:0;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);
}

.event-info{

    background:#faf1f3;

    border-radius:20px;

    padding:25px;

    margin-top:25px;
}

.event-info-row{

    margin-bottom:12px;

    font-size:18px;
}

.event-register{

    margin-top:20px;
}

.event-meta{

    background:#faf1f3;

    padding:18px;

    border-radius:16px;

    margin-bottom:25px;
}

.event-meta-item{

    margin-bottom:8px;

    font-size:17px;

    color:var(--text-dark);
}

.event-description{

    line-height:1.8;

    font-size:16px;
}



/* =======================================
   DASHBOARD
======================================= */

.dashboard-number{

    font-size:48px;

    font-weight:700;

    color:var(--primary);

    margin:15px 0;
}

.admin-tile{

    min-height:100px;

    display:flex;

    flex-direction:column;

    justify-content:center;
}

.admin-tile h3{

    margin-bottom:10px;
}

.admin-tile p{

    margin-bottom:0;

    line-height:1.6;
}

/* =======================================
   ALERTY
======================================= */

.alert-success{

    background:#eff5ed;

    color:#557053;

    border:none;

    border-radius:12px;
}

.alert-danger{

    border:none;

    border-radius:12px;
}

/* =======================================
   LOGO FUNDACJI
======================================= */

.logo-area{

    text-align:center;

    margin-bottom:30px;
}

.logo-area img{

    max-width:220px;
}

/* =======================================
   RESPONSYWNOŚĆ
======================================= */

@media(max-width:992px){

    .sidebar{

        min-height:auto;
    }

    .content{

        padding:20px;
    }

    .admin-card{

        padding:20px;
    }

}