/* ===============================
   CHOKEPOINT HEADERTABELLE
================================ */

.cp_header {
    width: 100%;
    background: #dedcd6;
    color: #3e3e3e;
    box-sizing: border-box;
    border-top: 1px solid #7e735d;
    border-bottom: 1px solid #7e735d;
}

/* OBERER BEREICH */

.cp_dashboard {
    position: relative;
    background: linear-gradient(to bottom, #e5e3dd, #dedcd6);
    padding: 22px 30px 16px 30px;
    box-sizing: border-box;
    overflow: hidden;
}

.cp_dashboard:after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7e735d, transparent);
    margin-top: 14px;
    animation: cp_scanline 4s linear infinite;
}

@keyframes cp_scanline {
    0% { opacity: 0; }
    50% { opacity: 0.9; }
    100% { opacity: 0; }
}

.cp_title {
    text-align: center;
    margin-bottom: 16px;
}

.cp_title span:before {
    content: "FILE";
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    color: #7e735d;
    margin-bottom: 5px;
}

.cp_title span {
    display: block;
    font-size: 25px;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: #5f5648;
    font-weight: normal;
}

.cp_title small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7e735d;
    margin-top: 4px;
}

.cp_status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.cp_status div {
    background: #e6e4de;
    border: 1px solid #d0cdc5;
    border-left: 4px solid #7e735d;
    padding: 10px 12px;
    box-sizing: border-box;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.cp_status div:hover {
    transform: translateY(-2px);
}

.cp_status b {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #7e735d;
    margin-bottom: 4px;
}

.cp_status span {
    display: block;
    font-size: 11px;
    line-height: 16px;
}

.cp_note {
    position: relative;
    background: #e6e4de;
    border: 1px solid #d0cdc5;
    padding: 12px 18px;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.04);
}

.cp_note:after {
    content: "●";
    color: #7e735d;
    margin-left: 8px;
    animation: cp_blink 1.2s infinite;
}

@keyframes cp_blink {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

/* UNTERER AKTENBEREICH */

.cp_files {
    background: #dedcd6;
    padding: 0 30px 22px 30px;
    box-sizing: border-box;
}

.cp_files input {
    display: none;
}

.cp_nav {
    display: flex;
    gap: 6px;
    padding-top: 12px;
    margin-bottom: 10px;
    border-top: 1px solid #b8b4aa;
}

.cp_nav label {
    position: relative;
    flex: 1;
    background: #d1cec6;
    padding: 8px 6px;
    text-align: center;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6d6251;
    cursor: pointer;
    transition: 0.25s ease;
}

.cp_nav label:hover {
    background: #7e735d;
    color: #deddd9;
}

.cp_nav label:after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #7e735d;
    opacity: 0;
    transition: 0.2s ease;
}

.cp_nav label:hover:after {
    opacity: 1;
}

/* AKTIVE TABS */

#cp_story:checked ~ .cp_nav label[for="cp_story"],
#cp_news:checked ~ .cp_nav label[for="cp_news"],
#cp_gesuche:checked ~ .cp_nav label[for="cp_gesuche"],
#cp_herden:checked ~ .cp_nav label[for="cp_herden"],
#cp_bases:checked ~ .cp_nav label[for="cp_bases"],
#cp_team:checked ~ .cp_nav label[for="cp_team"] {
    background: #7e735d;
    color: #deddd9;
}

/* SEITEN */

.cp_page {
    display: none;
    background: #e6e4de;
    border: 1px solid #d0cdc5;
    border-left: 5px solid #7e735d;
    padding: 16px 18px;
    max-height: 157px;
    box-sizing: border-box;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.04);
    animation: cp_filefade 0.3s ease;
    overflow: auto;
    text-align: justify;
}

@keyframes cp_filefade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cp_story:checked ~ .cp_story_page,
#cp_news:checked ~ .cp_news_page,
#cp_gesuche:checked ~ .cp_gesuche_page,
#cp_herden:checked ~ .cp_herden_page,
#cp_bases:checked ~ .cp_bases_page,
#cp_team:checked ~ .cp_team_page {
    display: block;
}

.cp_stamp {
    display: inline-block;
    background: #7e735d;
    color: #deddd9;
    padding: 3px 9px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.cp_page h2 {
    margin: 0 0 9px 0;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #5f5648;
    font-weight: normal;
}

.cp_page p,
.cp_page li {
    font-size: 11px;
    line-height: 18px;
    margin: 0 0 5px 0;
}

.cp_scroll {
    max-height: 95px;
    overflow: auto;
    font-size: 11px;
    line-height: 18px;
}

.cp_center {
    text-align: center;
}

/* LINKS INNERHALB DES HEADERS */

.cp_header a {
    color: #7e735d;
    text-decoration: none;
}

.cp_header a:hover {
    color: #5f5648;
}

/* RESPONSIVE FALLBACK */

@media only screen and (max-width: 800px) {
    .cp_status {
        grid-template-columns: 1fr;
    }

    .cp_nav {
        flex-wrap: wrap;
    }

    .cp_nav label {
        flex: 1 1 30%;
    }

    .cp_title span {
        font-size: 20px;
        letter-spacing: 6px;
    }
}

/* FONT AWESOME DETAILS */

.cp_status div {
    position: relative;
    padding-left: 46px;
}

.cp_status div i {
    position: absolute;
    left: 14px;
    top: 13px;
    width: 20px;
    height: 20px;
    color: #7e735d;
    font-size: 17px;
    opacity: 0.85;
}

.cp_nav label i {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: inherit;
    opacity: 0.85;
}

.cp_stamp i {
    margin-right: 5px;
    font-size: 9px;
}

.cp_page h2:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f15b";
    margin-right: 8px;
    color: #7e735d;
    font-size: 12px;
}

.cp_note:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0f3";
    margin-right: 8px;
    color: #7e735d;
}

.cp_wanted_list {
    display: grid;
    gap: 7px;
}

.cp_wanted_item {
    background: #dedcd6;
    border-left: 3px solid #7e735d;
    padding: 7px 10px;
    box-sizing: border-box;
}

.cp_wanted_item a {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5f5648;
    text-align: left;
}

.cp_wanted_item span {
    display: block;
    font-size: 10px;
    color: #7e735d;
    margin-top: 2px;
}

.cp_dashboard_new {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.cp_mainfile {
    background: #e6e4de;
    border: 1px solid #d0cdc5;
    border-left: 5px solid #7e735d;
    padding: 16px 18px;
    box-sizing: border-box;
}

.cp_mainfile h2 {
    margin: 0 0 9px 0;
    font-size: 15px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #5f5648;
    font-weight: normal;
}

.cp_mainfile p {
    margin: 0;
    font-size: 12px;
    line-height: 19px;
    text-align: justify;
}

.cp_sidefacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.cp_sidefacts div {
    position: relative;
    background: #e6e4de;
    border: 1px solid #d0cdc5;
    border-left: 4px solid #7e735d;
    padding: 10px 12px 10px 42px;
    box-sizing: border-box;
}

.cp_sidefacts div i {
    position: absolute;
    left: 14px;
    top: 14px;
    color: #7e735d;
    font-size: 16px;
}

.cp_sidefacts b {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #7e735d;
    margin-bottom: 4px;
}

.cp_sidefacts span {
    display: block;
    font-size: 11px;
    line-height: 16px;
}

.cp_activity_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cp_activity_block {
    background: #dedcd6;
    border: 1px solid #d0cdc5;
    padding: 10px;
    box-sizing: border-box;
}

.cp_activity_block b {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #7e735d;
}

.cp_scroll_small {
    max-height: 70px;
    overflow: auto;
    font-size: 11px;
    line-height: 17px;
}