/* MikroPartner Corporate Design für Forgejo (git.mikropartner.de) */
/* Farben: Petrol #114852, Lime #cfe92e */

/* === Farbvariablen überschreiben === */
:root {
    --color-primary: #114852 !important;
    --color-primary-contrast: #ffffff !important;
    --color-primary-hover: #34636b !important;
    --color-primary-active: #0b3a41 !important;

    /* Primary Shade-Stufen für Buttons/Links */
    --color-primary-light-1: #1a5a65 !important;
    --color-primary-light-2: #236c78 !important;
    --color-primary-light-3: #2d7e8b !important;
    --color-primary-light-4: #36909e !important;
    --color-primary-dark-1: #0f4049 !important;
    --color-primary-dark-2: #0d3840 !important;
    --color-primary-dark-3: #0b3037 !important;
    --color-primary-dark-4: #09282e !important;

    --color-primary-alpha-40: #11485266 !important;
    --color-primary-alpha-60: #11485299 !important;
    --color-primary-alpha-80: #114852cc !important;
}

/* Dark-Mode Variablen */
@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #34636b !important;
        --color-primary-contrast: #ffffff !important;
        --color-primary-hover: #407580 !important;
        --color-primary-active: #114852 !important;
    }
}

/* === Navbar === */
#navbar {
    background-color: #114852 !important;
    border-bottom: 2px solid #cfe92e !important;
}

#navbar .item {
    color: #ffffff !important;
}

#navbar .item:hover {
    background-color: #34636b !important;
    color: #cfe92e !important;
}

#navbar .item.active {
    color: #cfe92e !important;
}

/* Notification-Badge */
#navbar .notification_count {
    background-color: #cfe92e !important;
    color: #114852 !important;
}

/* Mobile Burger-Button */
#navbar #navbar-expand-toggle {
    color: #ffffff !important;
    background: transparent !important;
    border-color: #34636b !important;
}

/* === Footer === */
.page-footer {
    background-color: #114852 !important;
    color: #ffffff !important;
    border-top: 2px solid #cfe92e !important;
}

.page-footer a {
    color: #cfe92e !important;
}

/* === Login-Seite === */
.page-content.user.signin .card,
.page-content.user.signup .card,
.page-content.user.link-account .card {
    border-top: 3px solid #114852 !important;
}

/* OAuth2 Button (Azure AD) */
.page-content.user .oauth2-login-navigator .oauth2-login-button {
    background-color: #114852 !important;
    color: #ffffff !important;
}

.page-content.user .oauth2-login-navigator .oauth2-login-button:hover {
    background-color: #34636b !important;
}

/* === Buttons === */
.ui.primary.button,
.ui.primary.buttons .button {
    background-color: #114852 !important;
    color: #ffffff !important;
}

.ui.primary.button:hover,
.ui.primary.buttons .button:hover {
    background-color: #34636b !important;
}

.ui.primary.button:active,
.ui.primary.buttons .button:active {
    background-color: #0b3a41 !important;
}

/* === Links === */
a {
    color: #114852;
}

a:hover {
    color: #34636b;
}

/* === Repo Header === */
.repo-header {
    border-bottom-color: #cfe92e !important;
}

/* === Labels (Lime als Akzent) === */
.ui.label.green,
.ui.green.labels .label {
    background-color: #cfe92e !important;
    color: #114852 !important;
}
