/* CIT Kundenportal – eigenes Styling im Markenlook (Poppins, CIT-Orange/Blau) */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/poppins_300.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins_400.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/poppins_500.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins_600.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins_700.woff2") format("woff2");
}

:root {
    --cit-orange: #f39207;
    --cit-orange-dark: #d97e00;
    --cit-blue: #174166;
    --cit-blue-light: #255988;
    --cit-teal: #61c2a6;
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #f4f6f9;
    color: #2b2b2b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Header */
.portal-header {
    background: #fff;
    border-bottom: 3px solid var(--cit-orange);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}

.portal-header .logo img {
    height: 46px;
    width: auto;
}

/* Buttons */
.btn-cit {
    background: var(--cit-orange);
    border-color: var(--cit-orange);
    color: #fff;
    font-weight: 600;
}
.btn-cit:hover,
.btn-cit:focus {
    background: var(--cit-orange-dark);
    border-color: var(--cit-orange-dark);
    color: #fff;
}

a {
    color: var(--cit-blue-light);
}
a:hover {
    color: var(--cit-orange);
}

/* Login */
.login-wrap {
    max-width: 430px;
    margin: 4rem auto;
}
.login-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(23, 65, 102, .12);
}
.login-card .card-header {
    background: var(--cit-blue);
    color: #fff;
    border-radius: 14px 14px 0 0 !important;
    text-align: center;
    padding: 1.6rem 1rem;
}
.login-card .card-header h1 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Terminal-Cards */
.terminal-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(23, 65, 102, .10);
    transition: transform .15s ease, box-shadow .15s ease;
    height: 100%;
}
.terminal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(23, 65, 102, .18);
}
.terminal-card .terminal-letter {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--cit-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    flex: 0 0 auto;
}
.terminal-card .card-title {
    color: var(--cit-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}
.terminal-card .terminal-host {
    font-size: .82rem;
    color: #8a95a1;
    word-break: break-all;
}

.page-title {
    color: var(--cit-blue);
    font-weight: 600;
}

/* Footer */
.portal-footer {
    background: var(--cit-blue);
    color: #cdd8e3;
    font-size: .9rem;
    flex-shrink: 0;
}
.portal-footer a {
    color: #fff;
    text-decoration: underline;
}
.portal-footer a:hover {
    color: var(--cit-orange);
}
