:root {
    --bg: #050B18;
    --bg2: #0B1428;
    --panel: #0D1B31;
    --blue: #008CFF;
    --cyan: #00D9FF;
    --white: #FFFFFF;
    --text: #EAF4FF;
    --muted: #91A6BF;
    --line: rgba(102, 168, 220, .18);
    --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--cyan); color: var(--bg); }

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 78px;
    padding: 0 max(calc((100vw - var(--max)) / 2), 5%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(5, 11, 24, .91);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 217, 255, .55);
    border-radius: 10px;
    color: var(--white);
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 22px rgba(0, 140, 255, .15);
}
.brand-mark span { color: var(--cyan); }
.brand-name { color: white; font-weight: 900; letter-spacing: .12em; font-size: 13px; }
.brand-name strong { color: var(--cyan); }
.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { gap: 27px; }
.main-nav a, .login-link {
    color: #B7C8DA;
    font-size: 12px;
    font-weight: 650;
    transition: color .2s ease;
}
.main-nav a:hover, .login-link:hover { color: var(--cyan); }
.header-actions { gap: 18px; }
.language-switch { display: flex; align-items: center; gap: 7px; color: #526981; font-size: 11px; }
.language-switch a { color: #7890A8; font-weight: 800; }
.language-switch a.active, .language-switch a:hover { color: var(--cyan); }
.inline { display: inline; }
.logout-button {
    color: var(--cyan);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}
.flash-wrap { max-width: var(--max); margin: 20px auto 0; padding: 0 24px; }
.flash { padding: 13px 17px; border: 1px solid var(--line); border-radius: 10px; background: #12304B; }
.flash.error { background: #54242D; }

.hero {
    position: relative;
    min-height: 690px;
    padding: 110px max(calc((100vw - var(--max)) / 2), 7%) 85px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 78% 45%, rgba(0, 111, 206, .15), transparent 39%),
        linear-gradient(115deg, #050B18 10%, #07152A 60%, #061225);
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .24;
    background-image:
        linear-gradient(rgba(0, 217, 255, .09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, .09) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to right, transparent, black 40%, black);
}
.hero-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, transparent 0 90px, rgba(0, 140, 255, .13) 91px, transparent 93px);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(85px); pointer-events: none; }
.hero-glow-one { width: 300px; height: 300px; right: 12%; top: 12%; background: rgba(0, 140, 255, .18); }
.hero-glow-two { width: 240px; height: 240px; right: 34%; bottom: 0; background: rgba(0, 217, 255, .08); }
.hero-content { position: relative; z-index: 2; max-width: 690px; animation: rise-in .9s ease both; }
.eyebrow, .section-kicker {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .22em;
}
.eyebrow { display: flex; align-items: center; gap: 11px; }
.status-dot, .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }
.hero h1 {
    margin: 27px 0 24px;
    color: white;
    font-size: clamp(48px, 6.2vw, 82px);
    line-height: 1.06;
    letter-spacing: -.065em;
    font-weight: 850;
}
.hero h1 span, .intro-layout h2 span, .contact-inner h2 span {
    color: var(--cyan);
    background: linear-gradient(95deg, #FFFFFF 0%, #00D9FF 48%, #008CFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead { max-width: 600px; color: #A8BCD1; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button {
    min-height: 48px;
    padding: 13px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.button:hover { transform: translateY(-3px); }
.button-primary {
    color: #03101D;
    background: linear-gradient(105deg, #008CFF, #00D9FF);
    box-shadow: 0 8px 28px rgba(0, 140, 255, .2);
}
.button-primary:hover { box-shadow: 0 12px 34px rgba(0, 140, 255, .35); }
.button-secondary { color: white; border: 1px solid rgba(130, 180, 220, .3); background: rgba(8, 25, 45, .6); }
.button-secondary:hover { border-color: var(--cyan); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 54px; color: #7189A3; font-size: 11px; letter-spacing: .04em; }
.note-line { width: 32px; height: 1px; background: var(--cyan); }
.hero-visual { position: absolute; width: 470px; height: 470px; right: max(calc((100vw - var(--max)) / 2), 5%); top: 50%; transform: translateY(-50%); display: grid; place-items: center; animation: fade-in 1.4s ease both; }
.orbit { position: absolute; border: 1px solid rgba(0, 217, 255, .24); border-radius: 50%; }
.orbit-outer { width: 440px; height: 440px; border-style: dashed; animation: rotate 42s linear infinite; }
.orbit-middle { width: 330px; height: 330px; border-color: rgba(0, 140, 255, .45); animation: rotate 30s linear infinite reverse; }
.orbit-inner { width: 225px; height: 225px; border-color: rgba(0, 217, 255, .4); box-shadow: 0 0 55px rgba(0, 140, 255, .12), inset 0 0 45px rgba(0, 140, 255, .08); }
.core { width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(0, 217, 255, .55); border-radius: 35px; background: linear-gradient(145deg, rgba(11, 37, 65, .96), rgba(5, 15, 31, .96)); box-shadow: 0 0 65px rgba(0, 140, 255, .23), inset 0 0 25px rgba(0, 217, 255, .08); transform: rotate(-8deg); }
.core-symbol { color: white; font-size: 65px; font-weight: 900; line-height: .95; }
.core-symbol span { color: var(--cyan); }
.core-caption { margin-top: 13px; color: #8FB8D5; font-size: 8px; letter-spacing: .2em; }
.floating-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid rgba(0, 217, 255, .22); border-radius: 7px; background: rgba(5, 17, 34, .9); color: #B9D7EB; font-size: 9px; font-weight: 800; letter-spacing: .12em; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.chip-top { top: 54px; left: 65px; }
.chip-right { right: -15px; top: 205px; }
.chip-bottom { bottom: 55px; left: 75px; }
.hero-bottom { position: absolute; left: max(calc((100vw - var(--max)) / 2), 7%); right: max(calc((100vw - var(--max)) / 2), 7%); bottom: 25px; display: flex; justify-content: space-between; align-items: center; color: #58728D; font-size: 9px; letter-spacing: .18em; }
.hero-bottom a { color: var(--cyan); font-size: 18px; }

.section { width: min(var(--max), 88%); margin: auto; padding: 110px 0; }
.intro-section { padding-top: 120px; padding-bottom: 115px; }
.intro-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: start; margin-top: 22px; }
.intro-layout h2, .section-heading h2, .process-section > h2, .contact-inner h2 {
    margin: 0;
    color: white;
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.2;
    letter-spacing: -.045em;
}
.intro-copy { padding-top: 8px; color: var(--muted); font-size: 14px; }
.intro-copy p { margin: 0 0 18px; }
.services-section { padding-top: 70px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 42px; }
.section-heading h2 { margin-top: 15px; max-width: 670px; }
.section-heading > p { max-width: 270px; margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card { position: relative; min-height: 260px; padding: 27px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, #0D1D34, #081426); transition: transform .25s, border-color .25s, background .25s; }
.service-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -70px; bottom: -70px; border: 1px solid rgba(0, 217, 255, .14); border-radius: 50%; box-shadow: 0 0 0 18px rgba(0, 217, 255, .025), 0 0 0 38px rgba(0, 217, 255, .02); }
.service-card:hover { transform: translateY(-6px); border-color: rgba(0, 217, 255, .5); background: linear-gradient(145deg, #102945, #09182D); }
.service-number { position: absolute; top: 25px; right: 25px; color: #49647F; font-size: 10px; letter-spacing: .1em; }
.service-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid rgba(0, 217, 255, .28); border-radius: 10px; color: var(--cyan); font-size: 23px; background: rgba(0, 140, 255, .07); }
.service-card h3 { max-width: 260px; margin: 0 0 10px; color: white; font-size: 17px; line-height: 1.4; }
.service-card p { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.card-arrow { position: absolute; right: 24px; bottom: 22px; color: var(--cyan); font-size: 18px; opacity: .8; }

.portfolio-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #081326, #060E1D); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0A172A; transition: transform .25s, border-color .25s; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(0, 217, 255, .45); }
.project-art { position: relative; height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at center, rgba(0, 140, 255, .22), transparent 60%), #08172C; }
.project-art::before, .project-art::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(0, 217, 255, .14); border-radius: 50%; }
.project-art::after { width: 170px; height: 170px; }
.art-formula > span { color: white; font-size: 57px; font-weight: 900; letter-spacing: -.08em; }
.art-formula > span span { color: var(--cyan); }
.project-art i { color: var(--cyan); font-size: 10px; font-style: normal; letter-spacing: .3em; }
.art-dome > span { color: white; font-size: 36px; font-weight: 900; letter-spacing: .08em; }
.art-dome > strong { color: var(--cyan); font-size: 22px; letter-spacing: .3em; }
.art-nebulo > span { color: #BCEBFF; font-size: 26px; font-weight: 800; letter-spacing: .12em; }
.art-nebulo > strong { color: var(--cyan); font-size: 34px; letter-spacing: .14em; }
.project-info { padding: 24px; }
.project-type { color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.project-info h3 { margin: 10px 0 8px; color: white; font-size: 19px; }
.project-info p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.process-section { padding-bottom: 125px; }
.process-section > h2 { max-width: 650px; margin: 15px 0 52px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.process-grid article { position: relative; padding: 24px 20px 0 0; border-top: 1px solid rgba(0, 217, 255, .35); }
.process-grid article::before { content: ""; position: absolute; width: 7px; height: 7px; top: -4px; left: 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.process-grid article > span { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.process-grid h3 { margin: 12px 0 8px; color: white; font-size: 15px; }
.process-grid p { max-width: 190px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

.contact-section { position: relative; padding: 105px 24px 110px; overflow: hidden; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 100%, rgba(0, 140, 255, .17), transparent 55%), #081326; }
.contact-glow { position: absolute; width: 500px; height: 250px; left: 50%; bottom: -200px; transform: translateX(-50%); border-radius: 50%; background: var(--blue); filter: blur(100px); opacity: .2; }
.contact-inner { position: relative; max-width: 760px; margin: auto; }
.contact-inner h2 { margin: 18px 0; font-size: clamp(39px, 5vw, 61px); }
.contact-inner > p { max-width: 590px; margin: 0 auto 28px; color: var(--muted); font-size: 14px; }
.contact-note { margin-top: 24px; color: #647D97; font-size: 10px; }

.site-footer { min-height: 105px; padding: 25px max(calc((100vw - var(--max)) / 2), 6%); display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); background: #040A15; }
.footer-brand .brand-mark { width: 31px; height: 31px; font-size: 19px; }
.footer-brand .brand-name { font-size: 11px; }
.site-footer p, .site-footer > a:last-child { color: #71869D; font-size: 10px; }
.site-footer > a:last-child:hover { color: var(--cyan); }

/* A meglévő belépési, admin és portálfelületek kompatibilis stílusai */
.container { width: min(1100px, 90%); margin: auto; min-height: calc(100vh - 180px); padding: 42px 0; }
.panel, .stats article, .list-item { background: linear-gradient(145deg, #102944, #0A1A2E); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.narrow { max-width: 480px; margin: 25px auto; }
.panel h1, .container h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.2; }
.container h2 { color: white; }
.container .eyebrow { margin-bottom: 12px; }
.container .muted, .panel label { color: var(--muted); }
.container label { display: block; margin: 18px 0; }
.container input:not([type=checkbox]) { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #061426; color: white; font: inherit; }
.container .check { display: flex; gap: 8px; align-items: center; }
.container .button { border: 0; cursor: pointer; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stats strong { display: block; color: var(--cyan); font-size: 2.2rem; }
.stats span { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cards article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, #102944, #0A1A2E); }
.cards p { color: var(--muted); }
.badge { display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 30px; color: var(--cyan); font-size: .85rem; }
.list-item { display: flex; justify-content: space-between; gap: 15px; margin: 10px 0; }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1050px) {
    .topbar { padding-left: 4%; padding-right: 4%; gap: 14px; }
    .main-nav { gap: 14px; }
    .hero-visual { right: 2%; transform: translateY(-50%) scale(.8); opacity: .72; }
    .hero-content { max-width: 620px; }
}
@media (max-width: 800px) {
    .topbar { min-height: 70px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; padding-top: 7px; }
    .header-actions { margin-left: auto; }
    .hero { min-height: 650px; padding-top: 85px; padding-bottom: 100px; }
    .hero-visual { right: -130px; opacity: .32; transform: translateY(-50%) scale(.8); }
    .hero-content { max-width: 100%; }
    .intro-layout { grid-template-columns: 1fr; gap: 22px; }
    .section-heading { align-items: start; flex-direction: column; gap: 12px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .project-card:last-child { grid-column: 1 / -1; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .process-grid article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .brand-name { font-size: 10px; }
    .brand-mark { width: 33px; height: 33px; font-size: 20px; }
    .main-nav { gap: 9px 16px; font-size: 11px; }
    .main-nav a { font-size: 10px; }
    .header-actions { gap: 10px; }
    .login-link, .logout-button { font-size: 10px; }
    .hero { min-height: 630px; padding: 75px 6% 105px; }
    .hero h1 { font-size: clamp(43px, 12vw, 62px); }
    .hero-lead { font-size: 14px; }
    .hero-note { margin-top: 38px; font-size: 9px; }
    .hero-visual { right: -220px; transform: translateY(-50%) scale(.68); opacity: .22; }
    .hero-bottom { left: 6%; right: 6%; font-size: 7px; }
    .section { width: 88%; padding: 75px 0; }
    .intro-section { padding-top: 80px; }
    .intro-layout h2, .section-heading h2, .process-section > h2 { font-size: 34px; }
    .service-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .project-card:last-child { grid-column: auto; }
    .service-card { min-height: 235px; }
    .process-grid { grid-template-columns: 1fr; gap: 25px; }
    .process-grid article:last-child { grid-column: auto; }
    .process-grid article { padding-bottom: 5px; }
    .contact-section { padding: 80px 7%; }
    .contact-inner h2 { font-size: 42px; }
    .site-footer { flex-direction: column; justify-content: center; text-align: center; gap: 9px; }
    .container { padding: 28px 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* PROGLOG SYSTEM – eredeti arculati logó */
.brand {
    gap: 0;
}

.brand-logo {
    display: block;
    width: 112px;
    height: 52px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand .brand-logo {
    width: 96px;
    height: 54px;
    object-position: center;
}

.core {
    overflow: hidden;
}

.hero-logo {
    display: block;
    width: 128px;
    height: 82px;
    object-fit: contain;
    border-radius: 5px;
    transform: rotate(8deg);
}

@media (max-width: 800px) {
    .brand-logo {
        width: 100px;
        height: 46px;
    }

    .hero-logo {
        width: 120px;
        height: 76px;
    }
}

@media (max-width: 560px) {
    .brand-logo {
        width: 82px;
        height: 40px;
    }

    .footer-brand .brand-logo {
        width: 100px;
        height: 56px;
    }
}

/* PROGLOG SYSTEM – quote request form */
.quote-form-heading {
    margin: 34px 0 18px;
    color: #00D9FF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.quote-form {
    width: 100%;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13,29,52,.94), rgba(8,20,38,.96));
    text-align: left;
}
.quote-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}
.quote-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.quote-field-full { grid-column: 1 / -1; }
.quote-field label {
    color: #DCEBFA;
    font-size: 12px;
    font-weight: 600;
}
.quote-field input,
.quote-field select,
.quote-field textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(115,160,200,.24);
    border-radius: 8px;
    outline: none;
    background: #061426;
    color: #fff;
    font: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
    border-color: #008CFF;
    box-shadow: 0 0 0 3px rgba(0,140,255,.12);
}
.quote-field textarea {
    min-height: 130px;
    resize: vertical;
}
.quote-field input::placeholder,
.quote-field textarea::placeholder { color: #71869D; }
.quote-field select option { background: #0B1428; color: #fff; }
.field-error {
    color: #FF929C;
    font-size: 11px;
}
.quote-required {
    margin: 17px 0;
    color: #8298B0;
    font-size: 11px;
}
.quote-submit { cursor: pointer; border: 0; }
.portal-alternative {
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
}
.portal-alternative a { color: #00D9FF; text-decoration: none; }
.portal-alternative a:hover { text-decoration: underline; }
.flash.success { background: #123B36; border-color: rgba(0,217,160,.35); }
@media (max-width: 620px) {
    .quote-form { padding: 17px; }
    .quote-form-grid { grid-template-columns: 1fr; gap: 15px; }
    .quote-field-full { grid-column: auto; }
    .quote-submit { width: 100%; justify-content: center; }
}

/* PROGLOG SYSTEM – ajánlatkérések adminisztrációja */
.quote-filter {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0B1428;
}
.quote-filter label {
    margin: 0 !important;
}
.quote-filter select,
.quote-edit-panel select,
.quote-edit-panel textarea {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #061426;
    color: white;
    font: inherit;
}
.quote-list {
    display: grid;
    gap: 10px;
    margin-bottom: 25px;
}
.quote-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(145deg, #102944, #0A1A2E);
    color: white;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}
.quote-list-item:hover {
    border-color: #008CFF;
    transform: translateY(-2px);
}
.quote-list-item > div:first-child {
    display: grid;
    gap: 6px;
}
.quote-list-item > div:first-child span,
.quote-list-meta > span:last-child {
    color: var(--muted);
    font-size: 12px;
}
.quote-list-meta {
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 9px;
}
.status-new { color: #00D9FF; }
.status-in_progress { color: #FFC66D; }
.status-sent { color: #8BBEFF; }
.status-accepted { color: #58E6A7; }
.status-rejected { color: #FF929C; }

.quote-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}
.quote-detail-grid .panel p {
    color: var(--muted);
    line-height: 1.7;
}
.quote-detail-grid .panel strong {
    color: white;
}
.quote-detail-grid a {
    color: #00D9FF;
}
.quote-description {
    color: #DCEBFA;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.8;
}
.quote-edit-panel {
    margin-bottom: 30px;
}
.quote-edit-panel label {
    margin: 18px 0 8px;
}
.quote-edit-panel select,
.quote-edit-panel textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
}
.quote-edit-panel textarea {
    resize: vertical;
    min-height: 130px;
}
.quote-edit-panel .button {
    margin: 15px 10px 0 0;
}

@media (max-width: 650px) {
    .quote-detail-grid {
        grid-template-columns: 1fr;
    }
    .quote-list-item {
        align-items: flex-start;
        flex-direction: column;
    }
    .quote-list-meta {
        align-items: flex-start;
    }
    .quote-filter {
        align-items: stretch;
        flex-direction: column;
    }
    .quote-filter select {
        width: 100%;
    }
}

/* PROGLOG SYSTEM – ÜGYFÉLKEZELÉS */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading h1 {
    margin-bottom: 8px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-form input {
    flex: 1;
    min-width: 0;
}

.button-secondary {
    display: inline-block;
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #102944;
    color: white;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.button-secondary:hover {
    border-color: #008CFF;
}

.client-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.client-list-item {
    align-items: center;
}

.client-list-main {
    min-width: 0;
}

.client-list-main h2 {
    margin: 10px 0 5px;
    font-size: 20px;
}

.client-list-main h2 a {
    color: white;
    text-decoration: none;
}

.client-list-main h2 a:hover {
    color: var(--cyan);
}

.client-list-main p {
    margin: 4px 0;
    overflow-wrap: anywhere;
}

.empty-state {
    text-align: center;
    padding: 40px 22px;
}

.client-form-panel {
    max-width: 760px;
    margin: 25px auto;
}

.client-form-panel select,
.client-form-panel textarea,
.quote-edit-panel select,
.quote-edit-panel textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #061426;
    color: white;
    font: inherit;
}

.client-form-panel textarea {
    resize: vertical;
    min-height: 90px;
}

.client-form-panel select:focus,
.client-form-panel textarea:focus,
.client-form-panel input:focus,
.search-form input:focus {
    outline: none;
    border-color: #008CFF;
    box-shadow: 0 0 0 2px rgba(0, 140, 255, .15);
}

.field-error {
    display: block;
    margin-top: 5px;
    color: #FF929C;
}

.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.client-form-panel .form-actions .button {
    margin: 0;
}

.client-form-panel [hidden] {
    display: none !important;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.detail-grid > div {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.detail-grid strong {
    color: white;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.detail-grid a {
    color: var(--cyan);
}

.client-notes {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #061426;
}

.client-notes p {
    color: #DCEBFA;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.7;
}

@media (max-width: 650px) {
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-form {
        align-items: stretch;
        flex-direction: column;
    }

    .search-form .button {
        width: 100%;
        text-align: center;
    }

    .client-list-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .client-form-panel {
        padding: 16px;
    }
}

/* PROGLOG SYSTEM – bejelentkezési oldal */
.container .login-panel {
    width: 100%;
    max-width: 440px;
    margin: 30px auto 45px;
    padding: 36px;
    border-color: rgba(0, 217, 255, .22);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(0, 140, 255, .13), transparent 55%),
        linear-gradient(145deg, #102944, #09182C);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.login-heading h1 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(30px, 5vw, 38px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.login-heading .eyebrow {
    margin: 0;
}

.login-description {
    margin: 0 0 27px;
    color: #91A6BF;
    font-size: 13px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.container .login-form .login-field {
    display: block;
    margin: 0;
    color: #C6D8E9;
    font-size: 13px;
    font-weight: 650;
}

.container .login-form .login-input {
    width: 100%;
    min-height: 48px;
    margin-top: 7px;
    padding: 12px 14px;
    border: 1px solid rgba(102, 168, 220, .25);
    border-radius: 8px;
    outline: none;
    background: rgba(4, 17, 34, .8);
    color: #fff;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.container .login-form .login-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, .1);
}

.container .login-form .login-input::placeholder {
    color: #627D98;
}

.container .login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #AFC2D6;
    font-size: 12px;
    cursor: pointer;
}

.login-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--cyan);
    cursor: pointer;
}

.container .login-form .login-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 3px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.login-form .field-error {
    display: block;
    margin-top: 5px;
    color: #FF929D;
    font-size: 11px;
}

@media (max-width: 520px) {
    .container .login-panel {
        margin: 15px auto 30px;
        padding: 25px 20px;
    }
}

/* PROGLOG – prémium belépési felület finomhangolása */
.container .login-panel {
    max-width: 480px;
    padding: 40px;
    border: 1px solid rgba(0, 217, 255, .28);
    border-radius: 18px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, .35),
        0 0 35px rgba(0, 140, 255, .07),
        inset 0 1px 0 rgba(255, 255, 255, .035);
}

.login-heading {
    margin-bottom: 32px;
}

.login-heading h1 {
    font-size: clamp(32px, 5vw, 40px);
    letter-spacing: -.045em;
}

.login-description {
    line-height: 1.7;
}

.container .login-form .login-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 7px;
}

.container .login-form .login-field > label {
    display: block;
    margin: 0;
    color: #C6D8E9;
    font-size: 13px;
    font-weight: 700;
}

.container .login-form .login-field > input.login-input {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    min-height: 50px;
    margin: 0 !important;
    padding: 13px 15px;
    border: 1px solid rgba(102, 168, 220, .3);
    border-radius: 9px;
    background: #07172A;
    color: #FFFFFF;
    font-size: 14px;
}

.container .login-form .login-field > input.login-input:focus {
    border-color: #00D9FF;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, .12);
}

.container .login-form .login-remember {
    margin-top: 2px;
    font-size: 13px;
}

.container .login-form .login-submit {
    min-height: 53px;
    margin-top: 8px;
    border-radius: 9px;
    background: linear-gradient(105deg, #008CFF, #00D9FF);
    box-shadow: 0 8px 25px rgba(0, 140, 255, .18);
    font-size: 14px;
    font-weight: 850;
    transition: transform .2s, box-shadow .2s;
}

.container .login-form .login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 217, 255, .24);
}

@media (max-width: 520px) {
    .container .login-panel {
        padding: 27px 21px;
    }
}

/* PROGLOG SYSTEM – végleges belépési mezők */
.container .login-panel {
    width: min(100%, 480px);
    margin: 35px auto 45px;
    padding: 38px;
    border-radius: 20px;
    background: linear-gradient(145deg, #102944, #08182c);
    border: 1px solid rgba(0, 217, 255, .3);
    box-shadow: 0 24px 65px rgba(0, 0, 0, .35);
}

.container .login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container .login-form .login-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin: 0;
}

.container .login-form .login-field > label {
    display: block;
    margin: 0;
    color: #C6D8E9;
    font-size: 13px;
    font-weight: 700;
}

.container .login-form .login-field input.login-input {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    height: 52px;
    margin: 0 !important;
    padding: 0 18px;
    border: 1px solid rgba(102, 168, 220, .35);
    border-radius: 14px !important;
    background: #061426;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    transition: border-color .2s, box-shadow .2s;
}

.container .login-form .login-field input.login-input:focus {
    border-color: #00D9FF;
    box-shadow: 0 0 0 3px rgba(0,217,255,.12);
}

.container .login-form .password-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.container .login-form .password-wrapper input.login-input {
    padding-right: 54px;
}

.container .login-form .password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #91A6BF;
    cursor: pointer;
}

.container .login-form .password-toggle:hover,
.container .login-form .password-toggle.is-visible {
    color: #00D9FF;
    background: rgba(0,217,255,.1);
}

.container .login-form .password-toggle svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container .login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #AFC2D6;
    font-size: 13px;
}

.container .login-form .login-submit {
    width: 100%;
    min-height: 53px;
    margin-top: 3px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 520px) {
    .container .login-panel {
        padding: 26px 20px;
        margin: 15px auto 30px;
    }
}

/* PROGLOG LOGIN – javított, közvetlenül célzott szelektorok */
.login-panel {
    width: calc(100% - 32px);
    max-width: 480px;
    margin: 35px auto 45px;
    padding: 38px;
    border: 1px solid rgba(0, 217, 255, .3);
    border-radius: 20px;
    background: linear-gradient(145deg, #102944, #08182c);
    box-shadow: 0 24px 65px rgba(0, 0, 0, .35);
}

.login-panel .login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-panel .login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.login-panel .login-field > label {
    display: block;
    margin: 0;
    color: #C6D8E9;
    font-size: 13px;
    font-weight: 700;
}

.login-panel .login-field input.login-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid rgba(102, 168, 220, .35);
    border-radius: 16px;
    outline: none;
    background: #061426;
    color: #fff;
    font: inherit;
    font-size: 14px;
}

.login-panel .login-field input.login-input:focus {
    border-color: #00D9FF;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, .13);
}

.login-panel .password-wrapper {
    position: relative;
    width: 100%;
}

.login-panel .password-wrapper input.login-input {
    padding-right: 55px;
}

.login-panel .password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #91A6BF;
    cursor: pointer;
}

.login-panel .password-toggle:hover,
.login-panel .password-toggle.is-visible {
    color: #00D9FF;
    background: rgba(0, 217, 255, .1);
}

.login-panel .password-toggle svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-panel .login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #AFC2D6;
    font-size: 13px;
}

.login-panel .login-submit {
    width: 100%;
    min-height: 53px;
    margin-top: 3px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
}

@media (max-width: 520px) {
    .login-panel {
        padding: 26px 20px;
        margin: 15px auto 30px;
    }
}
