/* P4KH0M Technologies - PT-010 */
/* Premium 1.0 authentication interface */

body:has(.page-content.user.signin) {
    background: #0a0d15
        url("../img/p4kh0m-contours.svg")
        center / cover fixed no-repeat;
}

.page-content.user.signin {
    color-scheme: dark;
    color: #f3f4f8;
    background: transparent;
    padding: clamp(24px, 5vh, 60px) 12px;
}

.page-content.user.signin .p4kh0m-login-column {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 430px !important;
    margin-inline: auto !important;
}

.p4kh0m-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #f3f4f8;
}

.p4kh0m-login-brand img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.p4kh0m-login-shell {
    box-sizing: border-box;
    padding: 20px;
    background: #121a28;
    border: 1px solid #35445b;
    border-radius: 16px;
    box-shadow: 0 18px 50px #05081060;
    min-width: 0;
}

.p4kh0m-login-shell .ui.top.attached.header {
    background: transparent !important;
    color: #f3f4f8 !important;
    border: 0 !important;
    font-size: 1.2rem;
    padding: 4px 0 20px;
}

.p4kh0m-login-shell .ui.attached.segment {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.p4kh0m-login-shell .ui.form label {
    color: #abb7c9 !important;
}

.p4kh0m-login-shell .ui.form input:not([type="checkbox"]):not([type="hidden"]) {
    box-sizing: border-box;
    min-height: 44px;
    background: #0f1623 !important;
    border: 1px solid #52627c !important;
    border-radius: 9px;
    color: #f3f4f8 !important;
    font-size: 16px;
}

.p4kh0m-login-shell .ui.primary.button {
    min-height: 44px;
    background: #893f42 !important;
    color: #fff !important;
    border-radius: 9px;
    font-weight: 650;
}

.p4kh0m-login-shell .ui.primary.button:hover {
    background: #a04e52 !important;
}

.p4kh0m-login-shell a {
    color: #f19b92;
}

.p4kh0m-login-shell :focus-visible {
    outline: 2px solid #ffbbb0;
    outline-offset: 2px;
}

.p4kh0m-git-motto {
    box-sizing: border-box;
    width: 100%;
    margin: 18px auto 0;
    padding: 18px 4px 4px;
    border-top: 1px solid #35445b;
    text-align: center;
    overflow-wrap: anywhere;
}

.p4kh0m-git-motto strong {
    display: block;
    font-size: .95rem;
    color: #f3f4f8;
}

.p4kh0m-git-motto .motto-accent {
    display: block;
    width: 44px;
    height: 2px;
    margin: 10px auto;
    background: #dc3345;
}

.p4kh0m-git-motto .motto-text {
    margin: 0;
    font-style: italic;
    font-size: .82rem;
    line-height: 1.7;
    color: #abb7c9;
}

.p4kh0m-git-motto .motto-text span {
    display: block;
}

.p4kh0m-git-motto small {
    display: block;
    margin-top: 14px;
    color: #abb7c9;
    font-size: .72rem;
}

@media (max-width: 600px) {
    .page-content.user.signin {
        padding: 20px 8px;
    }

    .p4kh0m-login-shell {
        padding: 14px;
    }

    .p4kh0m-login-brand {
        font-size: 1.25rem;
    }
}

@media (forced-colors: active) {
    body:has(.page-content.user.signin) {
        background-image: none;
    }
}
