@charset "UTF-8";
/* ============================================================================
   SMU GJAKOVA — PUBLIC DIRECTORY SHELL · "Atelier"
   ----------------------------------------------------------------------------
   Loaded by exactly two sidebar-app pages, AFTER Content/Rregulloret/style.css
   (the legacy Colorlib "sidebar-05" template) so it re-skins it:
     · /RregulloretPublic  — the public document library
     · /AllStaff           — the academic staff directory
   Their content arrives by AJAX into #content, and those partials carry their
   own <style> blocks, so every selector here is anchored on #sidebar/#content
   (an id out-ranks the partials' class selectors regardless of load order).

   JS/DOM contracts (main.js + the pages' inline scripts) — do not rename:
     #sidebar (+ .active toggled by #sidebarCollapse)   .components li.active
     #content (jQuery .load target)                     .loader-gif
     .flexsearch--input / --submit    .option-input (search-mode radios)
     .accordion-toggle / .panel-collapse (extra documents)
     .mycard / .userInfo / .icons (staff cards)
   ========================================================================== */

:root {
    --dir-navy: #0D2A4E;
    --dir-navy-deep: #081D39;
    --dir-cream: #F6F2E9;
    --dir-cream-2: #EFE9DC;
    --dir-paper: #FFFFFF;
    --dir-ink: #1C2434;
    --dir-heading: #122741;
    --dir-muted: #5D6678;
    --dir-on-navy: #F5F1E8;
    --dir-on-navy-dim: rgba(245, 241, 232, .75);
    --dir-on-navy-faint: rgba(245, 241, 232, .5);
    --dir-red: #DE3F2E;
    --dir-red-deep: #B93325;
    --dir-red-bright: #FF6A57;
    --dir-red-text: #C93424;
    --dir-gold: #E9B44C;
    --dir-line: #E2DACB;
    --dir-line-strong: #D5CCBA;
    --dir-line-navy: rgba(245, 241, 232, .14);
    --dir-r: 14px;
    --dir-r-lg: 18px;
    --dir-r-pill: 999px;
    --dir-r-arch: 999px 999px 12px 12px;
    --dir-sh-sm: 0 1px 2px rgba(28, 24, 12, .06);
    --dir-sh: 0 18px 44px -20px rgba(28, 24, 12, .28);
    --dir-display: 'Space Grotesk', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --dir-sans: 'Source Sans 3', 'Segoe UI', Roboto, Arial, sans-serif;
    --dir-ease: cubic-bezier(.22, .61, .36, 1);
    --dir-ease-out: cubic-bezier(.16, 1, .3, 1);
    --dir-focus-border: #2C5FA8;
    --dir-focus-ring: rgba(44, 95, 168, .16);
}

/* ------------------------------------------------------------------- BASE */
body {
    background: var(--dir-cream);
    font-family: var(--dir-sans);
    color: var(--dir-ink);
}

.wrapper {
    background: var(--dir-cream);
}

/* ---------------------------------------------------------------- SIDEBAR */
#sidebar {
    position: relative;
    min-width: 300px;
    max-width: 300px;
    background:
        radial-gradient(rgba(245, 241, 230, .07) 1px, transparent 1.5px) 0 0 / 22px 22px repeat,
        radial-gradient(420px 260px at 110% -8%, rgba(222, 63, 46, .28), transparent 62%),
        radial-gradient(360px 240px at -10% 108%, rgba(233, 180, 76, .14), transparent 60%),
        linear-gradient(160deg, var(--dir-navy-deep) 0%, var(--dir-navy) 80%);
    color: var(--dir-on-navy-dim);
    border-right: 0;
    box-shadow: 8px 0 40px -24px rgba(8, 29, 57, .6);
}

    #sidebar.active {
        margin-left: -300px;
    }

    /* the page brand: a generated SMU kicker above the section title */
    #sidebar .logo {
        display: block;
        padding-bottom: 16px;
        margin-bottom: 12px;
        border-bottom: 1px solid var(--dir-line-navy);
        font-family: var(--dir-display);
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: -.01em;
        color: var(--dir-on-navy) !important;
        text-decoration: none;
    }

        #sidebar .logo::before {
            content: 'SMU · Universiteti "Fehmi Agani"';
            display: block;
            margin-bottom: 8px;
            font-family: var(--dir-sans);
            font-size: .62rem;
            font-weight: 700;
            letter-spacing: .22em;
            text-transform: uppercase;
            color: var(--dir-gold);
        }

        #sidebar .logo::after {
            content: "";
            display: block;
            width: 40px;
            height: 3px;
            margin-top: 12px;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--dir-red-bright), var(--dir-gold));
        }

/* nav items → pill rows with icon chips */
#sidebar ul.components {
    padding: 8px 0 24px;
    border-bottom: 0;
}

#sidebar ul li {
    margin-bottom: 6px;
}

    #sidebar ul li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 14px;
        border-radius: var(--dir-r);
        background: rgba(245, 241, 232, .04);
        border: 1px solid transparent;
        font-family: var(--dir-display);
        font-size: .84rem;
        font-weight: 500;
        letter-spacing: .02em;
        color: var(--dir-on-navy-dim) !important;
        text-decoration: none;
        transition: background-color .22s var(--dir-ease), color .22s var(--dir-ease),
                    border-color .22s var(--dir-ease), transform .22s var(--dir-ease);
    }

        #sidebar ul li a span[class*="fa"] {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            margin: 0 !important;
            border-radius: 10px;
            background: rgba(245, 241, 232, .08);
            border: 1px solid var(--dir-line-navy);
            color: var(--dir-gold);
            font-size: .82rem;
            transition: background-color .22s var(--dir-ease), color .22s var(--dir-ease);
        }

        #sidebar ul li a:hover {
            background: rgba(245, 241, 232, .1);
            border-color: var(--dir-line-navy);
            color: var(--dir-on-navy) !important;
            transform: translateX(3px);
        }

    /* the active section inverts to an ivory pill */
    #sidebar ul li.active > a,
    #sidebar ul li.active > a[aria-expanded="false"],
    #sidebar ul li.active > a[aria-expanded="true"] {
        background: var(--dir-on-navy);
        border-color: var(--dir-on-navy);
        color: var(--dir-navy) !important;
        font-weight: 700;
        box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55);
    }

        #sidebar ul li.active > a span[class*="fa"] {
            background: var(--dir-red);
            border-color: var(--dir-red);
            color: #fff;
        }

    /* submenu (Për Fakultete) */
    #sidebar ul ul {
        margin-top: 6px;
        padding-left: 14px;
        border-left: 2px solid var(--dir-line-navy);
    }

        #sidebar ul ul li a {
            font-size: .78rem;
            padding: 8px 12px;
            background: transparent;
        }

/* burger toggle — tucked inside the sidebar's top-right corner */
#sidebar .custom-menu {
    top: 12px;
    right: 12px;
    margin-right: 0;
}

    #sidebar .custom-menu .btn.btn-primary,
    #sidebar .custom-menu .btn.btn-primary:hover,
    #sidebar .custom-menu .btn.btn-primary:focus {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(245, 241, 232, .08) !important;
        border: 1px solid var(--dir-line-navy) !important;
        color: var(--dir-on-navy);
        box-shadow: none;
        transition: background-color .2s var(--dir-ease);
    }

    #sidebar .custom-menu .btn.btn-primary:hover {
        background: rgba(245, 241, 232, .16) !important;
    }

        #sidebar .custom-menu .btn.btn-primary::after {
            display: none;
        }

        #sidebar .custom-menu .btn.btn-primary i {
            margin: 0;
        }

/* when the sidebar is collapsed the burger must stay reachable */
#sidebar.active .custom-menu {
    right: -50px;
}

    #sidebar.active .custom-menu .btn.btn-primary,
    #sidebar.active .custom-menu .btn.btn-primary:hover {
        background: var(--dir-navy) !important;
        border-color: var(--dir-navy) !important;
        color: #fff;
        box-shadow: var(--dir-sh-sm);
    }

/* sidebar footer: languages + copyright */
#sidebar .footer {
    padding-top: 14px;
    border-top: 1px solid var(--dir-line-navy);
    color: var(--dir-on-navy-faint);
    font-size: .72rem;
}

    #sidebar .footer img[src*="albania"],
    #sidebar .footer img[src*="united"],
    #sidebar .footer img[src*="bosnia"] {
        border-radius: 50%;
        border: 2px solid var(--dir-line-navy);
        padding: 1px;
        transition: transform .2s var(--dir-ease), border-color .2s var(--dir-ease);
    }

        #sidebar .footer img[src*="albania"]:hover,
        #sidebar .footer img[src*="united"]:hover,
        #sidebar .footer img[src*="bosnia"]:hover {
            transform: translateY(-2px);
            border-color: var(--dir-gold);
        }

    #sidebar .footer img[src*="smu_gjk_logo"] {
        opacity: .85;
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4));
    }

/* --------------------------------------------------------------- CONTENT */
#content {
    background: var(--dir-cream);
    min-height: 100vh;
    width: 100%;
}

/* the partials' floated section headings become Atelier section heads
   (the template paints them as navy bars — background must go) */
#content .results_head {
    float: none;
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0 0 14px;
    padding: 0 0 10px !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--dir-line) !important;
    border-radius: 0;
    box-shadow: none;
}

    #content .results_head span {
        position: relative;
        display: inline-block;
        padding-left: 16px;
        font-family: var(--dir-display);
        font-size: 1.02rem;
        font-weight: 700;
        letter-spacing: .01em;
        color: var(--dir-heading);
        text-transform: none;
    }

        #content .results_head span::before {
            content: "";
            position: absolute;
            left: 0;
            top: 3px;
            bottom: 3px;
            width: 5px;
            border-radius: 3px;
            background: linear-gradient(180deg, var(--dir-red-bright), var(--dir-gold));
            box-shadow: 0 2px 8px rgba(255, 106, 87, .4);
        }

/* search-mode radios → clean modern radios */
#content .results_act_title {
    padding-top: 0 !important;
    color: var(--dir-ink) !important;
    text-transform: none;
    font-weight: 400;
}

#content .m-radio {
    display: flex !important;
    align-items: center;
    gap: 9px;
    margin: 0 0 8px !important;
    font-family: var(--dir-sans);
    font-size: .8rem !important;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--dir-muted);
    cursor: pointer;
}

#content .option-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    width: 19px;
    height: 19px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--dir-paper);
    border: 2px solid var(--dir-line-strong);
    cursor: pointer;
    transition: border-color .2s var(--dir-ease);
}

    #content .option-input:hover {
        border-color: var(--dir-red);
        background: var(--dir-paper);
    }

    #content .option-input:checked {
        background: var(--dir-paper);
        border-color: var(--dir-red);
    }

        #content .option-input:checked::before {
            content: "";
            position: absolute;
            inset: 3px;
            width: auto;
            height: auto;
            margin: 0;
            border-radius: 50%;
            background: var(--dir-red);
        }

        #content .option-input:checked::after {
            content: none;
            animation: none;
        }

/* label of the active radio */
#content .m-radio:has(.option-input:checked) {
    color: var(--dir-red-text);
}

/* the search bar (same voice as the public site) */
#content .flexsearch {
    position: relative;
    margin: 14px 0 22px;
}

#content .flexsearch--wrapper,
#content .flexsearch--form,
#content .flexsearch--input-wrapper {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}

#content .flexsearch--input {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 60px 0 20px;
    background: var(--dir-paper);
    border: 1.5px solid var(--dir-line-strong);
    border-radius: var(--dir-r-pill);
    box-shadow: var(--dir-sh-sm);
    color: var(--dir-ink) !important; /* the view inlines a dark-red colour */
    font-family: var(--dir-sans);
    font-size: .92rem;
    transition: border-color .2s var(--dir-ease), box-shadow .2s var(--dir-ease);
}

    #content .flexsearch--input:focus {
        border-color: var(--dir-focus-border);
        box-shadow: 0 0 0 4px var(--dir-focus-ring);
        outline: none;
    }

#content .flexsearch--submit {
    position: absolute;
    right: 6px;
    top: 50%;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: var(--dir-red);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px -10px rgba(222, 63, 46, .7);
    transition: background-color .2s var(--dir-ease), transform .2s var(--dir-ease);
}

    #content .flexsearch--submit:hover {
        background: var(--dir-red-deep);
        transform: translateY(-50%) scale(1.07);
    }

/* category link list → quiet rows with counts */
#content .m-radio-inline > a {
    display: block;
    padding: 7px 12px;
    margin-bottom: 4px;
    border-radius: 10px;
    background: var(--dir-paper);
    border: 1px solid var(--dir-line);
    font-family: var(--dir-sans);
    font-size: .8rem;
    font-weight: 600;
    color: var(--dir-heading);
    text-decoration: none;
    transition: border-color .2s var(--dir-ease), color .2s var(--dir-ease), transform .2s var(--dir-ease);
}

    #content .m-radio-inline > a:hover {
        color: var(--dir-red-text);
        border-color: var(--dir-red);
        transform: translateX(3px);
    }

#content .m-radio-inline > br {
    display: none;
}

/* ------------------------------------------------- DOCUMENT RESULT CARDS */
#content .results_box {
    width: 100%;
    margin-bottom: 14px;
    padding: 18px 22px !important;
    background: var(--dir-paper);
    border: 1px solid var(--dir-line) !important;
    border-bottom: 1px solid var(--dir-line) !important;
    border-radius: var(--dir-r-lg);
    box-shadow: var(--dir-sh-sm);
    transition: transform .25s var(--dir-ease), box-shadow .25s var(--dir-ease), border-color .25s var(--dir-ease);
}

    #content .results_box:hover {
        transform: translateY(-2px);
        border-color: var(--dir-line-strong) !important;
        box-shadow: var(--dir-sh);
    }

    /* document title */
    #content .results_box .results_act_title {
        padding-bottom: 10px !important;
    }

        #content .results_box .results_act_title > a:first-child {
            font-family: var(--dir-display);
            font-size: .98rem;
            font-weight: 600;
            letter-spacing: 0;
            text-transform: none;
            color: var(--dir-heading) !important; /* inline grey on the anchor */
            text-decoration: none;
            transition: color .2s var(--dir-ease);
        }

            #content .results_box .results_act_title > a:first-child:hover {
                color: var(--dir-red-text) !important;
            }

    /* the ALB / EN / BSN download links become pill buttons */
    #content .results_box a.fa-cloud-download {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-left: 8px;
        padding: 5px 14px;
        border: 1.5px solid var(--dir-red);
        border-radius: var(--dir-r-pill);
        background: transparent;
        font-family: var(--dir-sans);
        font-size: .68rem !important;
        font-weight: 700;
        letter-spacing: .1em;
        color: var(--dir-red-text) !important;
        text-decoration: none;
        transition: background-color .2s var(--dir-ease), color .2s var(--dir-ease);
    }

        #content .results_box a.fa-cloud-download::before {
            font-size: .8rem;
        }

        #content .results_box a.fa-cloud-download:hover {
            background: var(--dir-red);
            color: #fff !important;
        }

    /* category chip */
    #content .results_box .fa-bullseye {
        color: var(--dir-gold) !important;
    }

        #content .results_box .fa-bullseye .KATEGORIACLASS {
            font-family: var(--dir-sans);
            color: var(--dir-muted);
            letter-spacing: .06em;
        }

    /* meta row */
    #content .results_box .results_act_conn {
        padding-top: 8px;
        border-top: 1px dashed var(--dir-line);
        color: var(--dir-muted);
    }

        #content .results_box .results_act_conn b {
            color: var(--dir-heading);
        }

    /* extra documents */
    #content .results_box .accordion-toggle {
        color: var(--dir-red-text) !important;
        font-weight: 700;
        text-decoration: none;
    }

    #content .results_box .shtesIDS {
        margin-top: 10px;
        margin-left: 0 !important;
        padding: 12px 16px !important;
        border-left: 3px solid var(--dir-red) !important;
        background: var(--dir-cream);
        border-radius: 0 12px 12px 0;
    }

    /* the numbering h1 hack becomes a small badge */
    #content .results_box .shtesIDS h1 {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        margin: 0 8px 0 0 !important;
        border-radius: 50%;
        background: var(--dir-navy);
        color: #fff !important;
        font-family: var(--dir-display);
        font-size: .68rem !important;
        font-weight: 700;
    }

    #content .results_box .results_act_title_inside {
        color: var(--dir-ink) !important;
        text-transform: none;
        font-weight: 500;
    }

        #content .results_box .results_act_title_inside > a:first-child {
            color: var(--dir-heading) !important;
        }

/* PagedList pagination */
#content .pagination > li > a,
#content .pagination > li > span {
    margin: 0 3px;
    border: 1px solid var(--dir-line-strong);
    border-radius: 10px;
    background: var(--dir-paper);
    color: var(--dir-heading);
    font-family: var(--dir-display);
    font-weight: 600;
}

#content .pagination > .active > a,
#content .pagination > .active > span {
    background: var(--dir-navy);
    border-color: var(--dir-navy);
    color: #fff;
}

/* empty state postcard */
#content .postcard {
    border: 1px solid var(--dir-line);
    border-radius: var(--dir-r-lg);
    background: var(--dir-paper);
    box-shadow: var(--dir-sh-sm);
}

/* ------------------------------------------------------ STAFF DIRECTORY */
/* the section bands the partial paints inline become Atelier bands */
#content .panel-heading {
    position: relative;
    margin-bottom: 18px;
    padding: 15px 22px !important;                 /* inline padding:8px   */
    background:
        radial-gradient(420px 120px at 106% -30%, rgba(222, 63, 46, .28), transparent 65%),
        linear-gradient(120deg, var(--dir-navy-deep) 0%, var(--dir-navy) 85%) !important; /* inline #082e5d */
    border-radius: var(--dir-r);
    font-family: var(--dir-display);
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dir-on-navy) !important;
    box-shadow: var(--dir-sh-sm);
}

/* the bootstrap columns give way to a responsive grid */
#content .row:has(.mycard) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 16px;
    margin: 0 0 10px;
}

    #content .row:has(.mycard) > [class*="col-"] {
        width: auto;
        max-width: none;
        flex: none;
        padding: 0;
        float: none;
    }

/* a staff card — flat, quiet, modern (the legacy in-partial styles with the
   rotated navy shape and hard shadows were removed from _Search.cshtml) */
#content .mycard {
    position: relative;
    height: 100%;
    background: var(--dir-paper);
    border: 1px solid var(--dir-line);
    border-radius: var(--dir-r-lg);
    box-shadow: var(--dir-sh-sm);
    overflow: hidden;
    transition: transform .25s var(--dir-ease), box-shadow .25s var(--dir-ease), border-color .25s var(--dir-ease);
}

    /* a quiet "view CV" affordance appears on hover */
    #content .mycard::after {
        content: "CV \2192";
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 3px 11px;
        border-radius: var(--dir-r-pill);
        background: var(--dir-red);
        color: #fff;
        font-family: var(--dir-display);
        font-size: .64rem;
        font-weight: 700;
        letter-spacing: .1em;
        opacity: 0;
        transform: translateY(-4px);
        transition: opacity .25s var(--dir-ease), transform .25s var(--dir-ease);
        pointer-events: none;
    }

    #content .mycard:hover {
        transform: translateY(-4px);
        border-color: rgba(222, 63, 46, .45);
        box-shadow: var(--dir-sh);
    }

        #content .mycard:hover::after {
            opacity: 1;
            transform: translateY(0);
        }

    #content .mycard > a {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
    }

    /* the old wrappers become plain flow containers */
    #content .mycard .shape {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        padding: 26px 0 0;
        background: none;
        border: 0;
        box-shadow: none;
        transform: none;
        text-align: center;
    }

    #content .mycard .image {
        position: static;
        display: inline-block;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        transform: none;
        top: auto;
        animation: none !important;
    }

    #content .mycard .card-img {
        display: block;
        width: 84px !important;
        height: 84px !important;
        object-fit: cover;
        border-radius: 50% !important;
        border: 0;
        outline: 2px solid var(--dir-line-strong);
        outline-offset: 3px;
        box-shadow: none;
        transition: outline-color .25s var(--dir-ease);
    }

    #content .mycard:hover .card-img {
        outline-color: var(--dir-red);
    }

    #content .mycard .userInfo {
        flex: 1 1 auto;
        padding: 14px 16px 14px;
        text-align: center;
    }

        #content .mycard .userInfo h5 {
            margin: 0 0 6px;
            font-family: var(--dir-display);
            font-size: .95rem;
            font-weight: 700;
            letter-spacing: 0;
            color: var(--dir-heading);
            line-height: 1.3;
        }

        #content .mycard .userInfo .mytitle {
            display: inline-block;
            margin: 0 0 8px;
            padding: 3px 12px;
            border-radius: var(--dir-r-pill);
            background: rgba(222, 63, 46, .08);
            font-family: var(--dir-sans);
            font-size: .64rem;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--dir-red-text);
        }

        #content .mycard .userInfo p {
            margin: 0;
            font-size: .76rem;
            line-height: 1.5;
            color: var(--dir-muted);
        }

    /* email footer row */
    #content .mycard .icons {
        display: block;
        padding: 10px 14px;
        background: none !important;
        border-top: 1px solid var(--dir-line);
        font-size: .7rem;
        font-weight: 600;
        letter-spacing: .02em;
        color: var(--dir-muted) !important;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        animation: none !important;
        transition: color .2s var(--dir-ease);
    }

        #content .mycard .icons::before {
            content: "\f0e0";
            font-family: 'Font Awesome 5 Free', 'FontAwesome';
            font-weight: 400;
            margin-right: 8px;
            color: var(--dir-gold);
        }

    #content .mycard:hover .icons {
        color: var(--dir-red-text) !important;
    }

/* ------------------------------------------------------------ RESPONSIVE */
@media (max-width: 991.98px) {
    #sidebar {
        min-width: 270px;
        max-width: 270px;
    }

        #sidebar.active {
            margin-left: -270px;
        }
}
