* {
    box-sizing: border-box;
}

:root {
    --bg: #252525;
    --surface: #303030;
    --surface-soft: #383838;
    --surface-button: #5b5b5d;

    --text: #f5f5f5;
    --text-muted: rgba(255,255,255,.65);
    --text-soft: rgba(255,255,255,.45);

    --red: #ff0000;
    --red-hot: #ff1717;
    --red-dark: rgba(255,0,0,.08);
    --yellow: #ffc928;
    --border: rgba(255,255,255,.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --space-xs: 6px;
    --space-sm: 10px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 36px;
}

html {
    background: var(--surface);
}

body {
    margin: 0;
    font-family: Arial, Roboto, sans-serif;
    background: linear-gradient(180deg, #242424 0%, #2f2f2f 100%);
    color: var(--text);
}

.app-header,
.phone-app,
.kueken-footer {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* GLOBAL */

.app-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.app-card {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-button);
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
}

/* LOGIN */

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(245,0,0,.16), transparent 34%),
        var(--surface);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg);
    border: 1px solid #505050;
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow: 0 22px 60px rgba(0,0,0,.38);
}

.login-logo {
    font-size: 58px;
    text-align: center;
    margin-bottom: 8px;
}

.login-card h1 {
    margin: 0;
    text-align: center;
    font-size: 42px;
    color: #fff;
}

.login-card p {
    margin: 12px 0 30px;
    text-align: center;
    color: #d0d0d0;
    font-size: 18px;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form label {
    display: grid;
    gap: 8px;
}

.login-form label span {
    font-size: 15px;
    color: #cfcfcf;
    font-weight: 700;
}

.login-form input {
    margin: 0;
    padding: 16px 14px;
    border: 1px solid #666;
    border-radius: 10px;
    background: var(--surface);
    color: #fff;
    font-size: 20px;
}

.login-button {
    margin-top: 8px;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
}

.error {
    background: rgba(255,0,0,.18);
    border: 1px solid rgba(255,0,0,.7);
    color: #ffbdbd;
    padding: 13px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

/* HEADER */

.app-header {
    padding: 18px 18px 16px;
    background: linear-gradient(100deg, #3c0e11 0%, #b80000 42%, #ff1717 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.5px;
}

.brand span {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.78);
    font-size: 15px;
}

.app-header nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.app-header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    padding: 8px 11px;
    border-radius: 10px;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.12);
}

/* LAYOUT */

.phone-app {
    width: 100%;
    padding: 18px 8px 60px;
}

/* SEARCH */

.search-box {
    margin-bottom: 18px;
}

.search-panel {
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)),
        var(--surface);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    padding: 14px;
}

.search-fields {
    display: grid;
    gap: 12px;
}

.field label {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.field input {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(255,255,255,.12);
    outline: none;
    background: rgba(255,255,255,.035);
    border-radius: 10px;
    color: #fff;
    padding: 12px;
    font-size: 20px;
}

.field input::placeholder,
input::placeholder {
    color: rgba(255,255,255,.32);
}

.field input:focus {
    border-color: rgba(255,201,40,.72);
    box-shadow: 0 0 0 3px rgba(255,201,40,.10);
}

input,
select {
    width: 100%;
    padding: 12px 6px;
    margin-bottom: 10px;
    border: none;
    border-bottom: 2px solid #8a8a8a;
    background: transparent;
    color: var(--text);
    font-size: 24px;
}

select {
    background: var(--surface);
}

input:focus,
select:focus {
    outline: none;
    border-bottom-color: var(--red);
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.search-options {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkbox {
    font-size: 15px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--red);
}

.search-button {
    min-height: 46px;
    min-width: 130px;
    margin: 0;
    padding: 0 18px;
    border: 2px solid var(--red-hot);
    border-radius: 11px;
    background:
        linear-gradient(100deg, rgba(255,23,23,.22), rgba(255,23,23,.08)),
        rgba(255,23,23,.08);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
}

/* BUTTONS */

.oe-button {
    display: block;
    width: 100%;
    text-align: center;
    background:
        linear-gradient(100deg, rgba(70,110,180,.22), rgba(70,110,180,.08)),
        rgba(70,110,180,.06);
    color: #fff;
    text-decoration: none;
    padding: 16px 14px;
    border-radius: 12px;
    font-size: 21px;
    font-weight: 900;
    margin: 16px 0 0;
    border: 2px solid rgba(110,160,255,.55);
    box-shadow: 0 0 18px rgba(70,110,180,.12);
}

.type-buttons {
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
}

.type-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
        var(--surface-button);
    padding: 0 16px;
    min-height: 64px;
    font-size: 23px;
    text-align: center;
    color: #fff;
    border-radius: 12px;
    width: 100%;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-weight: normal;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.type-btn:hover,
.type-btn.active {
    background:
        linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
        #707070;
}

.back-type-btn {
    border: 2px solid var(--red);
    background: var(--red-dark);
}

.pk-separator {
    width: 100%;
    margin: 5px 0 6px;
    padding-top: 5px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.type-btn.pk-highlight {
    border: 2px solid var(--red);
    box-shadow: 0 0 12px rgba(255,0,0,.28);
}

/* RESULTS */

.results {
    margin-top: 18px;
}

.result-card,
.hint-card {
    border-top: 1px solid #505050;
    padding: 18px 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.hint-card {
    text-align: center;
    color: #cfcfcf;
}

.result-card h3,
.oe-result-card h3 {
    font-size: 22px;
    margin: 0 0 4px;
}

.meta {
    color: #cfcfcf;
    font-size: 16px;
    margin-bottom: 10px;
}

.numbers {
    display: grid;
    gap: 6px;
}

.numbers div {
    font-size: 18px;
}

.numbers span {
    display: inline-block;
    min-width: 130px;
    font-weight: 500;
}

.phone-link,
.result-card a.phone-link {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-top: 4px;
    backdrop-filter: blur(4px);
}

.result-card a:not(.phone-link) {
    color: #fff;
    background: var(--surface-button);
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin: 6px 8px 6px 0;
}

.result-card a:not(.phone-link):hover {
    background: #707070;
}

/* OE */

.oe-result-card {
    background: rgba(255,255,255,.025);
}

.area-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-left: 8px solid var(--red);
    background: rgba(255,0,0,.15);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    border-radius: 6px;
}

/* FOOTER */

.kueken-footer {
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,.75);
    font-size: 18px;
    line-height: 1.6;
    padding: 40px 20px 30px;
    margin: 40px auto 0;
    border-top: 1px solid rgba(255,255,255,.18);
}

.footer-contact {
    margin-top: 14px;
    font-size: 16px;
    color: rgba(255,255,255,.65);
}

.footer-contact a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-weight: 700;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

/* MOBILE */

@media (max-width: 700px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 14px;
    }

    .brand strong {
        font-size: 42px;
    }

    .brand span {
        font-size: 24px;
    }

    .app-header nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .app-header nav a {
        background: rgba(255,255,255,.15);
        padding: 10px 8px;
        border-radius: 10px;
        font-size: 17px;
        text-align: center;
    }

    .phone-app {
        padding: 16px 14px 80px;
    }

    .search-panel {
        padding: 13px;
        border-radius: 13px;
    }

    .field label {
        font-size: 15px;
    }

    .field input {
        font-size: 23px;
        padding: 13px 12px;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .search-options {
        align-items: stretch;
        flex-direction: column;
    }

    .checkbox {
        font-size: 20px;
        padding: 10px 2px;
    }

    .checkbox input {
        width: 26px;
        height: 26px;
    }

    .search-button {
        width: 100%;
        min-height: 52px;
        font-size: 20px;
    }

    input,
    select {
        font-size: 22px;
        padding: 14px 6px;
    }

    .oe-button {
        padding: 18px 12px;
        font-size: 25px;
    }

    .type-btn {
        min-height: 68px;
        font-size: 27px;
        padding: 0 16px;
    }

    .result-card {
        padding: 20px 14px;
    }

    .area-badge {
        font-size: 22px;
        line-height: 1.2;
        padding: 9px 14px;
        margin-bottom: 12px;
        border-left: 8px solid var(--red);
    }

    .result-card h3,
    .oe-result-card h3 {
        font-size: 19px;
        line-height: 1.15;
        font-weight: 800;
        margin: 6px 0 4px;
        letter-spacing: -0.1px;
    }

    .meta {
        font-size: 15px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .numbers div {
        font-size: 22px;
    }

    .numbers span {
        min-width: 115px;
    }

    .phone-link,
    .result-card a.phone-link {
        background: rgba(255,255,255,.11);
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 10px;
        padding: 7px 12px;
        font-size: 19px;
        font-weight: 700;
        margin: 3px 0 5px;
    }

    .pk-separator {
        margin: 5px 0 6px;
        padding-top: 5px;
    }
}

.maintenance-banner{
width:100%;
max-width:1200px;
margin:20px auto;
padding:14px 18px;
border-radius:14px;
background:linear-gradient(135deg,#ffb300,#ff7a00);
color:#1a1a1a;
font-weight:800;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,0.35);
border:1px solid rgba(255,255,255,0.25);
font-size:15px;
box-sizing:border-box;
display:block;
}


