﻿/* ===== Base Layout ===== */
html, body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, #eef4f9 0%, #f7fafc 55%, #ffffff 100%);
    color: #233142;
}

.iss-shell {
    flex: 1 0 auto;
}

/* ===== Header ===== */
.iss-header {
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    border-bottom: 1px solid #dfe8f1;
    box-shadow: 0 2px 10px rgba(12, 79, 138, 0.05);
}

.iss-header-accent {
    height: 4px;
    background: linear-gradient(90deg, #0c4f8a, #1565a9);
    box-shadow: 0 2px 6px rgba(12, 79, 138, 0.25);
}

.iss-topbar {
    padding: 14px 0 10px;
}

.iss-brand {
    display: flex;
    align-items: center;
    min-height: 72px;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .header h1 {
        margin: 0;
        font-size: 30px;
        font-weight: 600;
        color: #083d79;
    }

    .header h3 {
        margin: 4px 0 0;
        font-size: 17px;
        color: #55718d;
        font-weight: 400;
    }

/* ===== User Links ===== */
.iss-userlinks {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 72px;
}

    .iss-userlinks a {
        color: #2b6dad !important;
        font-size: 14px;
        text-decoration: none;
    }

        .iss-userlinks a:hover {
            color: #1d5e9d !important;
            text-decoration: underline;
        }

/* ===== Second Bar ===== */
.iss-secondbar {
    border-top: 1px solid #e5edf5;
    padding: 10px 0 12px;
}

.iss-appname a {
    font-size: 18px;
    font-weight: 700;
    color: #2f6fae;
    text-decoration: none;
}

    .iss-appname a:hover {
        color: #1d5e9d;
    }

.iss-help {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px; /* spacing between items */
    flex-wrap: nowrap; /* prevent wrapping */
    white-space: nowrap; /* force single line */
}

    .iss-help a {
        font-size: 13px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 999px;
        background: #eef5fb;
        border: 1px solid #d8e6f3;
        text-decoration: none;
    }

        .iss-help a:hover {
            background: #e6f0f9;
        }

    /* optional separator style */
    .iss-help .sep {
        color: #b0bccb;
        font-size: 12px;
    }

/* ===== Content ===== */
.body-content {
    flex: 1 0 auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* ===== Footer ===== */
.iss-footer {
    margin-top: 5px;
    padding: 0 14px 18px;
}

.iss-footer-top-strip {
    height: 6px;
    border-radius: 6px;
    background: repeating-linear-gradient( 90deg, #d7263d 0px, #d7263d 14px, #7cb342 14px, #7cb342 28px, #5c6bc0 28px, #5c6bc0 42px, #f9a825 42px, #f9a825 56px, #26a69a 56px, #26a69a 70px, #ef6c00 70px, #ef6c00 84px, #8e24aa 84px, #8e24aa 98px );
}

.iss-footer-panel {
    background: #f9fbfd;
    border: 1px solid #e4ebf2;
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(15, 95, 167, 0.04);
}

.iss-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.iss-footer-left {
    width: 60%;
}

.iss-footer-right {
    width: 40%;
    text-align: right;
}

.iss-footer-text {
    margin: 0;
    color: #4d6174;
    line-height: 1.7;
    font-size: 14px;
}

.iss-footer-contact {
    margin-top: 2px;
    font-size: 14px;
    color: #5e7286;
    line-height: 1.7;
}

.iss-footer-text a {
    color: #0f5fa7;
    font-weight: 600;
    text-decoration: none;
}

    .iss-footer-text a:hover {
        text-decoration: underline;
    }

.iss-dev-box {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff6f6;
    border: 1px solid #f0d0d0;
    font-size: 13px;
    color: #7b3a3a;
}

    .iss-dev-box strong {
        color: #b94a48;
        margin: 0 6px;
    }

.iss-footer-divider {
    border-top: 1px solid #e7edf3;
    margin: 5px 0 5px;
}

.iss-footer-meta {
    text-align: center;
    font-weight: 600;
    color: #1f3f66;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .iss-brand,
    .iss-userlinks {
        min-height: auto;
    }

    .header h1 {
        font-size: 24px;
    }

    .header h3 {
        font-size: 15px;
    }

    .iss-userlinks,
    .iss-help {
        text-align: left;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .iss-footer-content {
        flex-direction: column;
    }

    .iss-footer-left,
    .iss-footer-right {
        width: 100%;
        text-align: left;
    }

    .iss-footer-right {
        margin-top: 12px;
    }

    .iss-dev-box {
        width: 100%;
    }
}
