/* ==========================================================
   PLEJADA PANEL SŁUCHACZA
   Version: 5.0
   Joomla 6 + Cassiopeia Extended
   Mobile First
========================================================== */


/* ==========================================================
   DESIGN SYSTEM
========================================================== */

:root{

    --primary:#162f62;
    --secondary:#b1c900;
    --accent:#ff8447;

    --bg:#f5f7fb;
   /* --surface:#ffffff;*/

    --text:#24324a;
    --text-light:#6d7687;

    --border:#e5ebf3;

    --radius:18px;
    --radius-lg:24px;

    --shadow-sm:0 2px 8px rgba(22,47,98,.05);
    --shadow:0 12px 30px rgba(22,47,98,.08);

    --transition:.25s;

    --content-width:1180px;

}


/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after{

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    margin:0;

    background:var(--bg);

    color:var(--text);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:16px;

    line-height:1.6;

}


/* ==========================================================
   JOOMLA CLEANUP
========================================================== */

.breadcrumb,
.article-info,
.icons{

    display:none;

}


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

.container-header{

    background:#ffffff;

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

    box-shadow:var(--shadow-sm);

}

.container-nav{

    max-width:var(--content-width);

    margin:auto;

    padding:18px;

}


/* ==========================================================
   LOGO
========================================================== */

.navbar-brand{

    display:flex;

    justify-content:center;

    align-items:center;

    margin:0 auto 12px;

}

.navbar-brand img{

    display:block;

    width:auto;

    max-width:320px;

    max-height:70px;

}

.navbar-brand span{

    display:none;

}


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

main{

    max-width:var(--content-width);

    margin:auto;

    padding:18px 18px 60px;

}

.com-content-article{

    background:#ffffff;

    border-radius:var(--radius-lg);

    padding:40px;

    box-shadow:var(--shadow);

}
/* ==========================================================
   MENU PLEJADA
========================================================== */

ul.plejada-menu{

    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;

    gap:14px;

    margin:0;
    padding:0;

    list-style:none;

}

ul.plejada-menu > li{

    list-style:none;
    margin:0;

    flex:0 0 auto;

}

ul.plejada-menu > li > a{

    display:flex;

    align-items:center;
    justify-content:center;

    min-height:48px;

    padding:0 22px;

    white-space:nowrap;

    background:#ffffff;

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

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

    border-radius:14px;

    transition:var(--transition);

}

ul.plejada-menu > li.active > a,
ul.plejada-menu > li > a:hover{

    background:var(--primary);

    color:#ffffff;

}


/* ==========================================================
   LOGIN INTRO
========================================================== */

.main-top.login-intro{

    max-width:620px;

    margin:0 auto 8px;

    padding:0;

    background:none;

    border:none;

    box-shadow:none;

}

.login-intro,
.login-intro .card,
.login-intro .card-body{

    background:none !important;

    border:none !important;

    box-shadow:none !important;

    padding:0 !important;

}

.login-intro{

    text-align:center;

    max-width:620px;

    margin:10px auto 16px;

}

.login-intro .welcome-title{

    color:var(--primary);

    font-size:1.55rem;

    font-weight:700;

    line-height:1.25;

    margin-bottom:10px;

}

.login-intro .welcome-text{

    max-width:520px;

    margin:0 auto;

    color:var(--text-light);

    font-size:.96rem;

    line-height:1.7;

}


/* ==========================================================
   LOGIN CARD
========================================================== */

.login{

    max-width:430px;

    margin:0 auto 50px;

    padding:42px;

    background:#ffffff;

    border-radius:24px;

    box-shadow:var(--shadow);

}


/* ==========================================================
   INPUTS
========================================================== */

.login input:not([type="checkbox"]){

    height:54px;

    padding:0 18px;

    border:1px solid #d9e3ef;

    border-radius:14px;

    font-size:16px;

    transition:.2s;

}

.login input:not([type="checkbox"]):focus{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(22,47,98,.08);

    outline:none;

}


/* ==========================================================
   CHECKBOX
========================================================== */

.login input[type="checkbox"]{

    width:18px;

    height:18px;

    margin-right:8px;

}

.login .form-check,
.login .form-check-label{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:.92rem;

}


/* ==========================================================
   PASSWORD FIELD
========================================================== */

.password-group{

    display:flex;

    align-items:stretch;

}

.password-group input{

    flex:1;

    border-top-right-radius:0;

    border-bottom-right-radius:0;

}

.password-group .input-password-toggle{

    width:54px;

    min-width:54px;

    border-left:0;

    border-top-left-radius:0;

    border-bottom-left-radius:0;

    border-top-right-radius:14px;

    border-bottom-right-radius:14px;

    background:#ffffff;

    color:#666666;

    box-shadow:none;

}

.password-group .input-password-toggle:hover{

    background:#f5f7fb;

    color:var(--primary);

}


/* ==========================================================
   LOGIN BUTTON
========================================================== */

.com-users-login__submit .btn{

    display:block;

    width:100%;

    min-height:54px;

    margin-top:18px;

    border-radius:14px;

    font-size:1rem;

    font-weight:700;

}


/* ==========================================================
   LOGIN LINKS
========================================================== */

.login .list-group{

    margin-top:22px;

    background:none;

    border:none;

    box-shadow:none;

}

.login .list-group-item{

    padding:6px 0;

    background:none;

    border:none;

}
/* ==========================================================
   DASHBOARD
========================================================== */

.plejada-dashboard{

    max-width:1100px;

    margin:0 auto;

}

.plejada-dashboard h1{

    text-align:center;

    color:var(--primary);

    font-size:2.35rem;

    margin:0 0 12px;

}

.dashboard-lead{

    max-width:760px;

    margin:0 auto 42px;

    text-align:center;

    color:var(--text-light);

    font-size:1rem;

    line-height:1.7;

}

.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:28px;

}

.dashboard-card{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    min-height:220px;

    padding:34px 28px;

    text-align:center;

    text-decoration:none;

    color:inherit;

    background:#ffffff;

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

    border-radius:22px;

    box-shadow:var(--shadow);

    transition:all .25s ease;

}

.dashboard-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 42px rgba(22,47,98,.14);

}

.dashboard-icon{

    font-size:56px;

    color:var(--primary);

    margin-bottom:18px;

}

.dashboard-card h3{

    margin:0 0 12px;

    color:var(--primary);

    font-size:1.35rem;

    font-weight:700;

}

.dashboard-card p{

    margin:0;

    color:var(--text-light);

    line-height:1.65;

}


/* ==========================================================
   PDF BUTTON
========================================================== */

a[href$=".pdf"]{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:48px;

    padding:0 24px;

    margin-top:22px;

    background:var(--accent);

    color:#ffffff !important;

    border-radius:14px;

    text-decoration:none;

    font-weight:600;

    transition:.2s;

}

a[href$=".pdf"]:hover{

    opacity:.92;

    transform:translateY(-1px);

}


/* ==========================================================
   BUTTONS
========================================================== */

.btn{

    border-radius:14px;

    transition:.2s;

}

.btn:hover{

    transform:translateY(-1px);

}


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

.container-footer{

    margin-top:50px;

    padding:24px;

    text-align:center;

    color:var(--text-light);

    background:transparent;

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

}

.container-footer a{

    display:none;

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

@media (max-width:768px){

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

    .container-nav{

        padding:14px;

    }

    .navbar-brand{

        margin-bottom:10px;

    }

    .navbar-brand img{

        max-width:220px;

        max-height:48px;

    }


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

    main{

        padding:18px 12px 36px;

    }

    .com-content-article{

        padding:22px;

        border-radius:18px;

    }


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

    ul.plejada-menu{

        flex-direction:column;

        align-items:stretch;

        gap:10px;

    }

    ul.plejada-menu>li{

        width:100%;

    }

    ul.plejada-menu>li>a{

        width:100%;

        min-height:54px;

    }


    /* ==========================
       LOGIN INTRO
    ========================== */

    .main-top.login-intro{

        margin:0 auto 6px;

    }

    .login-intro{

        margin:14px auto 18px;

        padding:0 16px;

    }

    .login-intro .welcome-title{

        font-size:1.40rem;

    }

    .login-intro .welcome-text{

        font-size:.95rem;

    }


    /* ==========================
       LOGIN
    ========================== */

    .login{

        max-width:100%;

        margin:0;

        padding:0;

        background:transparent;

        border:none;

        border-radius:0;

        box-shadow:none;

    }

    .com-users-login{

        padding:0 16px;

    }

    .login input:not([type="checkbox"]){

        height:56px;

    }

    .password-group .input-password-toggle{

        width:56px;

        min-width:56px;

    }

    .com-users-login__submit .btn{

        min-height:56px;

    }


    /* ==========================
       DASHBOARD
    ========================== */

    .plejada-dashboard h1{

        font-size:2rem;

    }

    .dashboard-lead{

        margin-bottom:28px;

    }

    .dashboard-grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .dashboard-card{

        min-height:190px;

        padding:28px 22px;

    }

    .dashboard-icon{

        font-size:46px;

        margin-bottom:16px;

    }

    .dashboard-card h3{

        font-size:1.2rem;

    }

}


/* ==========================================================
   SMALL IMPROVEMENTS
========================================================== */

::selection{

    background:var(--primary);

    color:#ffffff;

}

img{

    max-width:100%;

    height:auto;

}

a{

    transition:.2s;

}

hr{

    border:none;

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

}