﻿:root {
    --primary: #b8862a; /* gold */
    --text: #222;
    --muted: #666;
    --bg: #fff;
    --card: #ffffff;
    --radius: 8px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto 24px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg,#ddd,#fff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .profile-info .name {
        font-weight: 700;
        font-size: 1rem;
    }

    .profile-info .email {
        font-size: .85rem;
        color: var(--muted);
    }

.controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Icon styles */
.icon {
    width: 20px;
    height: 20px;
    /*    stroke: var(--muted);*/
    stroke-width: 1.6;
    fill: none;
    vertical-align: middle;
}

.btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(184,134,42,0.12);
    transition: transform .08s ease, box-shadow .12s ease, filter .12s ease;
    text-decoration: none;
}

    .btn:active {
        transform: translateY(1px);
    }

    .btn .icon {
        stroke: #fff;
        opacity: .95;
    }

/* Small icon-only button */
.icon-btn {
    background: transparent;
    border: 1px solid #e8e8e8;
    padding: 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Example cards below topbar */
.events {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

.card {
    background: var(--card);
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(11,20,35,0.04);
}

    .card h3 {
        margin: 0 0 8px;
        font-size: 1rem;
    }

    .card .meta {
        font-size: .85rem;
        color: var(--muted);
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .card .right {
        margin-top: 10px;
        display: flex;
        justify-content: flex-end;
    }

.nav-link {
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

    .nav-link svg {
        margin-top: -2px;
    }




.page-nav {
    width: 800px;
}

    .page-nav button {
        background-color: transparent;
        border: solid 1px;
        border-color: transparent;
        padding: 10px 20px;
        cursor: pointer;
        font-size: 18px;
    }

        .page-nav button.active {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: #fff;
        }

            .page-nav button.active svg g path {
                fill: #fff;
            }

        .page-nav button:focus {
            border-color: var(--primary-color);
            border-color: var(--primary-color);
            border: solid 1px var(--primary-color);
            border-radius: 0;
            outline: none;
            outline: 0px auto -webkit-focus-ring-color !important;
        }

.page-content {
    display: none;
}

    .page-content.active {
        display: block;
    }

.headerSegment {
    background-color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin: 20px 0;
}

.displaySegment {
    @* margin: 20px 0;
    *@ padding: 40px 25px 0 25px;
    background-color: #fff;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-shadow: none !important;
    display: flow-root;
}

.displaySegmentText {
    font-size: 20px;
    padding-left: 12px;
    /* padding-right: 12px; */
    padding: 0px 15px;
    text-align: left;
    width: calc(100% + 0px);
    border-radius: 3px;
}

.table tbody tr:hover {
    background-color: rgb(148 179 187 / 35%);
}

.page-item:hover .page-link {
    color: #333;
}

.page-link:focus {
    box-shadow: none;
}

.button-group {
    display: flex;
    gap: 10px; /* Adjust gap as needed */
}

.btn {
    line-height: 1.5; /* Ensure consistent button height */
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #333;
}

.display-segment {
    max-width: 1500px;
    margin: auto;
    margin-top: 10px;
}

.btn-primary {
    fill: #fff;
    border: solid 1px var(--primary);
}

    .btn-primary:hover {
        fill: var(--primary-color) !important;
    }

.btn-danger {
    background-color: #9F3232;
    fill: #fff;
    border: solid 1px #9F3232;
    box-shadow: 0 0 0 1px #9F3232;
}

    .btn-danger:hover {
        background-color: #fff;
        color: #9F3232;
        border-color: #9F3232;
        fill: #9F3232;
    }

.text-cpd-primary {
    color: #023835;
}

nav ul li a {
    padding: 10px;
    border-bottom: solid 3px;
    border-color: transparent;
    font-weight: 600;
}

    nav ul li a:hover,
    nav ul li a:hover svg {
        stroke: #023835 !important;
        /*        font-weight: 600;*/
    }

    nav ul li a:hover {
        border-color: #b8862a;
    }

#dropdown ul li a:hover {
    border-color: transparent !important;
}

nav ul li a:active {
    border-color: #b8862a;
}



















body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }
}

@media screen and (max-width: 1280px) {
    #wecomeUser {
        display: none;
    }
}