/* 
  Styles pre postar-cloud.sk
  Základná farba: Oranžová (#FF6B00)
*/

:root {
    --primary: #FF6B00;
    --primary-hover: #E56000;
    --primary-light: #FFF0E5;
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    
    --border-color: #E2E8F0;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-orange: 0 10px 25px -5px rgba(255, 107, 0, 0.4);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.5;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-orange);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    font-weight: 500;
    color: var(--text-main);
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar .logo {
    margin-left: 16px;
    gap: 12px;
}

.logo-icon-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-icon-img:hover {
    transform: scale(1.05);
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not([class^="btn"]) {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:not([class^="btn"]):hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: var(--text-main);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    margin-left: 12px;
    vertical-align: middle;
}

.countdown-number {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
    background: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 107, 0, 0.15);
}

.countdown-unit {
    font-weight: 600;
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-trust {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Mockups and Images */
.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.mockup {
    width: 320px;
    position: absolute;
    right: -20px;
    bottom: -30px;
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #27C93F; }

.mockup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
}

.doc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doc-info strong {
    color: var(--text-main);
}

.doc-info span {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.doc-status {
    padding: 4px 8px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.doc-status.pending {
    background: #FFF3CD;
    color: #856404;
}

.doc-status.success {
    background: #D4EDDA;
    color: #155724;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 64px;
    max-width: 600px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Features Layout */
.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
}

.feature-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-mockup {
    padding: 24px;
    height: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-row {
    display: flex;
    gap: 16px;
}

.stat-box {
    flex: 1;
    background: white;
    padding: 16px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.chart-mockup {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-light) 0%, rgba(255,255,255,0) 100%);
    border-radius: var(--radius-sm);
    border-bottom: 2px solid var(--primary);
    position: relative;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-desc {
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 12px;
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: white;
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: #94A3B8;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    text-align: center;
    color: #94A3B8;
    font-size: 0.875rem;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
        gap: 24px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .feature-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mockup {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-actions {
        margin: 16px 0 0;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-actions a {
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* 10-Step Workflow Animation */
.workflow-section {
    padding: 100px 0;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 50px;
}

.timeline-track {
    position: absolute;
    top: 0;
    left: 24px;
    width: 4px;
    height: 100%;
    background: var(--border-color);
    border-radius: 4px;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    padding-bottom: 60px;
}

.t-step {
    position: relative;
    opacity: 0.3;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.t-step.active {
    opacity: 1;
    transform: translateX(0);
}

.t-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--border-color);
    z-index: 2;
    transition: all 0.3s ease;
}

.t-step.active .t-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.t-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.t-step.active .t-content h3 {
    color: var(--primary);
}

.t-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* 3D Envelope */
.timeline-envelope {
    position: absolute;
    left: -2px; /* Center over the track */
    top: 0;
    width: 56px;
    height: 40px;
    z-index: 10;
    transition: top 0.3s ease-out, transform 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.envelope-3d {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-orange);
    color: white;
    font-size: 1.5rem;
    transition: transform 0.5s ease;
    transform: rotateX(0deg);
}

.envelope-3d.rotating {
    animation: flipEnvelope 1s ease-in-out forwards;
}

@keyframes flipEnvelope {
    0% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.2); }
    100% { transform: rotateY(360deg) scale(1); }
}

@media (max-width: 768px) {
    .timeline-container {
        padding-left: 40px;
    }
    .t-dot {
        left: -32px;
    }
    .timeline-envelope {
        left: -6px;
        width: 44px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Split Layout for Workflow */
.workflow-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.workflow-split-left {
    /* timeline goes here */
}

.workflow-split-right {
    position: relative;
    height: 100%;
}

.drawn-animation-sticky {
    position: sticky;
    top: 120px; /* Bezpečná pozícia od vrchu */
    width: 100%;
    height: 600px;
}

.drawn-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

.drawn-path {
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.drawn-path.cloud {
    stroke: #CBD5E1;
    stroke-width: 2;
}

.drawn-path.building {
    stroke: var(--text-main);
    stroke-width: 2;
}

.drawn-path.wire {
    stroke: var(--border-color);
    stroke-width: 3;
    stroke-dasharray: 10 10;
}

.drawn-node {
    fill: white;
    stroke: var(--primary);
    stroke-width: 3;
}

.drawn-envelope {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(50px, 100px); /* Initial position */
}

@media (max-width: 576px) {
    .workflow-split {
        grid-template-columns: 1fr;
    }
    .drawn-animation-sticky {
        position: relative;
        top: 0;
        height: 400px;
        margin-top: 40px;
    }
}

/* --- Nové štýly pre Tlačidlo a Upozornenie --- */

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-icon-img {
    height: 1.2em;
    width: auto;
    margin-right: 8px;
    flex-shrink: 0;
    transition: var(--transition);
}

.btn-outline:hover .btn-icon-img {
    filter: brightness(0) invert(1);
}

.waitlist-section {
    padding: 120px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
}

.waitlist-card {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

.waitlist-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.waitlist-card .section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.waitlist-card .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.waitlist-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-benefits .benefit {
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.waitlist-form-container {
    background: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.form-title {
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.waitlist-form {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.waitlist-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.waitlist-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.waitlist-privacy {
    font-size: 0.85rem;
    color: var(--text-light);
}

.waitlist-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    padding: 40px 30px;
    border-radius: 12px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out forwards;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.waitlist-success h3 {
    color: #166534;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.waitlist-success p {
    color: #15803D;
    font-size: 1.05rem;
}

@media (max-width: 576px) {
    .waitlist-form {
        flex-direction: column;
    }
    .waitlist-card {
        padding: 40px 20px;
    }
}

/* --- Kontakt Sekcia --- */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    padding: 40px 30px;
    text-align: center;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, rgba(255,107,0,0.2) 100%);
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-role {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 20px;
    background: #F8FAFC;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: #FFF5F0;
    color: var(--primary);
}

/* --- Centered Badge & Countdown --- */
.hero-header-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin-bottom: 24px;
}

.hero-header-badge-container .badge-large {
    font-size: 1.05rem;
    padding: 8px 18px;
    margin-bottom: 12px;
}

.hero-header-badge-container .countdown-badge {
    margin-left: 0;
    margin-bottom: 0;
}

/* --- Hero Buttons Layout Updates --- */
.hero-action-grid {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    justify-content: center;
}

.hero-action-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 300px;
    max-width: 100%;
}

.hero-action-group .btn-large,
.hero-action-group .btn-outline.btn-large {
    font-size: 0.95rem;
    padding: 16px 8px;
    white-space: nowrap;
}

.hero-sub-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.hero-sub-link:hover {
    color: var(--primary-hover);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-action-grid {
        flex-direction: column;
        align-items: center;
    }
    .hero-header-badge-container {
        margin: 0 auto 24px;
    }
}

/* --- Legislatívne Minimum Sekcia --- */
.legislative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.leg-card {
    padding: 40px 30px;
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.leg-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.leg-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.leg-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.leg-card p {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Test Pripravenosti Sekcia --- */
.test-container {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 48px;
}

.test-question-block {
    display: none;
}

.test-question-block.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.question-number {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.test-question-block h3 {
    font-size: 1.6rem;
    margin-bottom: 32px;
    color: var(--text-main);
}

.test-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.test-option {
    cursor: pointer;
    position: relative;
    display: block;
}

.test-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card {
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.test-option input[type="radio"]:checked + .option-card {
    border-color: var(--primary);
    background: rgba(255, 107, 0, 0.03);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08);
}

.test-option:hover .option-card {
    border-color: rgba(255, 107, 0, 0.4);
}

.option-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.option-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* Výsledky */
#test-results {
    animation: fadeIn 0.5s ease;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.result-icon {
    font-size: 3rem;
}

.result-header h3 {
    font-size: 1.6rem;
    color: var(--text-main);
}

.result-content {
    background: #FFF7F2;
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 32px;
}

.result-content p {
    color: var(--text-main);
    margin-bottom: 12px;
}

.result-content ul {
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.result-content li {
    margin-bottom: 8px;
    color: var(--text-main);
}

.result-actions {
    display: flex;
    gap: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .test-container {
        padding: 24px;
    }
    .result-actions {
        flex-direction: column;
    }
    .result-actions a, .result-actions button {
        width: 100%;
        text-align: center;
    }
}

/* --- Sekcia Dôveryhodnosti (Trust Bar) --- */
.trust-bar-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.trust-bar-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.trust-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-content: center;
    justify-items: center;
}
.trust-logo-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 350px; /* Zväčšené z 320px pre viac priestoru */
    min-height: 110px; /* Jednotná výška pre všetky 4 kartičky */
    transition: var(--transition);
}
.trust-logo-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.trust-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-logo-icon svg {
    width: 44px;
    height: 44px;
    color: var(--text-muted);
    transition: var(--transition);
}
.trust-logo-card:hover .trust-logo-icon svg {
    color: var(--primary);
}
.trust-logo-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
    transition: var(--transition);
}
.trust-logo-card:hover .trust-logo-info h4 {
    color: var(--primary);
}
.trust-logo-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}
.trust-logo-card.eu-card {
    padding: 15px 20px; /* Prispôsobený padding pre zjednotenú výšku */
    gap: 24px; /* Posunie text ešte trochu doprava od vlajky */
}
/* EÚ Vlajka v sekcii dôveryhodnosti */
.trust-logo-icon .eu-flag-svg {
    width: 122px; /* Zväčšená o 80% (pôvodne 68px) */
    height: 81px; /* Zachovaný pomer strán 3:2 */
}
.eu-bg-rect {
    fill: #003399; /* Trvalo modré pozadie */
    stroke: #003399;
    stroke-width: 1.5px;
}
.eu-star-path {
    fill: #FFCC00; /* Trvalo žlté hviezdy */
}

/* --- Kontaktný Formulár Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.modal-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.modal-success-state {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.4s ease-out forwards;
}

.modal-success-state .success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.modal-success-state h3 {
    color: #166534;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-success-state p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* --- Finančná správa SR špecifické farby --- */
.trust-logo-card.fs-card .trust-logo-icon svg {
    color: #008542; /* Trvalo zelená farba Finančnej správy SR */
}

.trust-logo-card.fs-card:hover {
    border-color: #008542; /* Zelený rámik pri hoveri */
}

.trust-logo-card.fs-card:hover .trust-logo-info h4 {
    color: #008542; /* Zelený text pri hoveri */
}

/* --- PEPPOL špecifické farby --- */
.trust-logo-card.peppol-card .trust-logo-icon svg {
    color: #009EE3; /* Trvalo svetlomodrá farba PEPPOL */
}

.trust-logo-card.peppol-card:hover {
    border-color: #009EE3; /* Svetlomodrý rámik pri hoveri */
}

.trust-logo-card.peppol-card:hover .trust-logo-info h4 {
    color: #009EE3; /* Svetlomodrý text pri hoveri */
}

/* --- ISO 27001 špecifické farby --- */
.trust-logo-card.iso-card .trust-logo-icon svg {
    color: #D97706; /* Trvalo zlatá/jantárová farba certifikátu */
    width: 53px; /* Zväčšené o 1,2-násobok (z 44px na 53px) */
    height: 53px;
}

.trust-logo-card.iso-card:hover {
    border-color: #D97706; /* Zlatý rámik pri hoveri */
}

.trust-logo-card.iso-card:hover .trust-logo-info h4 {
    color: #D97706; /* Zlatý text pri hoveri */
}

/* ==========================================================================
   Fakturačný Editor (Tvorba faktúry)
   ========================================================================== */

.invoice-workspace {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: 40px;
}

.invoice-paper-container {
    flex: 1;
    min-width: 0;
}

.invoice-paper {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 48px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition);
}

.invoice-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

/* Grid pre hlavičku faktúry */
.invoice-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 24px;
}

.invoice-title-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invoice-title-block h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invoice-meta-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.invoice-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: flex-end;
}

.invoice-meta-row label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
    width: 150px;
}

/* Grid pre Dodávateľa a Odberateľa */
.invoice-parties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.invoice-party-box {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invoice-party-box.supplier-box {
    border-left: 4px solid var(--primary);
}

.invoice-party-box.customer-box {
    border-left: 4px solid var(--text-muted);
}

.invoice-party-title {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Grid pre dátumy */
.invoice-dates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.invoice-date-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.invoice-date-field label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Polia pre zadávanie údajov */
.invoice-input {
    border: none;
    border-bottom: 1.5px solid #cbd5e1;
    background: #f8fafc; /* Matches the grey color of supplier/customer boxes */
    border-radius: 4px 4px 0 0;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 6px 8px;
    outline: none;
    transition: var(--transition);
    width: 100%;
}

.invoice-input:hover {
    border-bottom: 1.5px solid #94a3b8; /* Slate-400 on hover */
    background: #f1f5f9; /* Slightly darker grey on hover */
}

.invoice-input:focus {
    border-bottom: 2px solid #475569; /* Slate-600 on focus for high readability without orange */
    background: #e2e8f0; /* Focus background grey */
}

.invoice-input-bold {
    font-weight: 700;
    font-size: 1.05rem;
}

.invoice-textarea {
    border: none;
    border-bottom: 1.5px solid #cbd5e1;
    background: #f8fafc; /* Matches the grey color of supplier/customer boxes */
    border-radius: 4px 4px 0 0;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 6px 8px;
    outline: none;
    resize: none;
    width: 100%;
    line-height: 1.5;
    transition: var(--transition);
}

.invoice-textarea:hover {
    border-bottom: 1.5px solid #94a3b8; /* Slate-400 on hover */
    background: #f1f5f9; /* Slightly darker grey on hover */
}

.invoice-textarea:focus {
    border-bottom: 2px solid #475569; /* Slate-600 on focus for high readability without orange */
    background: #e2e8f0; /* Focus background grey */
}

/* Placeholdery pre fakturačné polia */
.invoice-input::placeholder, 
.invoice-textarea::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important; /* Normal weight for placeholders */
}

#invNumber::placeholder {
    font-size: 1.3rem !important; /* Smaller size for invoice number placeholder */
    font-weight: 400 !important; /* Normal weight for invoice number placeholder */
    color: #94a3b8 !important;
}

/* Tabuľka položiek faktúry */
.invoice-items-section {
    margin-bottom: 32px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.invoice-table th {
    text-align: left;
    padding: 10px 8px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 2px solid var(--border-color);
}

.invoice-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.invoice-table input,
.invoice-table select {
    margin: 0;
}

.invoice-item-desc {
    width: 35%;
}

.invoice-item-qty {
    width: 10%;
}

.invoice-item-unit {
    width: 10%;
}

.invoice-item-price {
    width: 13%;
}

.invoice-item-discount {
    width: 12%;
}

.invoice-item-vat {
    width: 10%;
}

.invoice-item-total {
    width: 10%;
    font-weight: 700;
    text-align: right;
    color: var(--text-main);
    padding-right: 12px;
}

.invoice-table select.invoice-input {
    border-radius: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 16px;
    padding-right: 16px;
}

.btn-delete-row {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-delete-row:hover {
    color: #b91c1c;
    transform: scale(1.1);
}

.invoice-table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Rekapitulácia a bankové detaily */
.invoice-bottom-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    border-top: 2px solid var(--border-color);
    padding-top: 24px;
}

.invoice-bank-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.invoice-bank-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invoice-bank-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    font-size: 0.85rem;
}

.invoice-bank-row span:first-child {
    font-weight: 600;
    color: var(--text-muted);
}

.invoice-summary-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invoice-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.invoice-summary-row.vat-row {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.invoice-summary-row.total-row {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    border-top: 2px solid var(--primary);
    padding-top: 12px;
    margin-top: 8px;
}

/* Modálna simulácia PEPPOL */
.peppol-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.peppol-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.peppol-modal-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    padding: 40px 32px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
    text-align: center;
}

.peppol-modal-overlay.active .peppol-modal-card {
    transform: scale(1);
}

.peppol-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.peppol-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* PEPPOL animované kroky */
.peppol-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin-bottom: 32px;
}

.peppol-step {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0.4;
    transition: var(--transition);
}

.peppol-step.active {
    opacity: 1;
}

.peppol-step.completed {
    opacity: 1;
}

.peppol-step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #ffffff;
    transition: var(--transition);
}

.peppol-step.active .peppol-step-indicator {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.peppol-step.completed .peppol-step-indicator {
    border-color: #10b981;
    color: #ffffff;
    background: #10b981;
}

.peppol-step-text {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.peppol-step.completed .peppol-step-text {
    color: #64748b;
    text-decoration: line-through;
}

.peppol-success-block {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.5s ease-out forwards;
}

.peppol-success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

/* Citlivé prispôsobenie (Responsive) */
@media screen and (max-width: 1024px) {
    .invoice-workspace {
        flex-direction: column;
    }
    
    .invoice-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}

@media screen and (max-width: 768px) {
    .invoice-header-grid,
    .invoice-parties-grid,
    .invoice-dates-grid,
    .invoice-bottom-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .invoice-meta-fields {
        align-items: flex-start;
    }
    
    .invoice-meta-row {
        justify-content: flex-start;
    }
    
    .invoice-meta-row label {
        text-align: left;
        width: auto;
    }
    
    .invoice-paper {
        padding: 24px;
    }
    
    .invoice-table {
        display: block;
        overflow-x: auto;
    }
}

/* Na obrazovke schovaj tlačové spany */
.print-value {
    display: none;
}

/* ==========================================================================
   Tlačové štýly (@media print)
   ========================================================================== */
@media print {
    /* Skryť všetko okrem fakturačného hárku */
    body * {
        visibility: hidden;
    }
    
    .invoice-paper, .invoice-paper * {
        visibility: visible;
    }
    
    .invoice-paper-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .invoice-paper {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #ffffff !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Skryť tlačidlá na pridanie a odobratie riadku */
    .invoice-table-actions,
    .btn-delete-row,
    .navbar,
    .footer,
    .invoice-sidebar {
        display: none !important;
    }
    
    /* Pri tlači schovaj inputy, textarey a selecty */
    .invoice-paper .invoice-input, 
    .invoice-paper .invoice-textarea, 
    .invoice-paper select {
        display: none !important;
    }
    
    /* Zobraz textové hodnoty */
    .invoice-paper .print-value {
        display: inline-block !important;
        width: auto;
        min-height: 1.2em;
        white-space: pre-wrap; /* Zachová riadkovanie pre adresy a poznámky */
        font-family: inherit;
        font-size: inherit;
        color: #000000 !important;
    }
    
    td .print-value {
        width: 100%;
    }
    
    /* Zvýrazniť farby na tlači */
    .invoice-title-block h2 {
        color: #000000 !important;
    }
    
    .invoice-summary-row.total-row {
        color: #000000 !important;
        border-top-color: #000000 !important;
    }
    
    .invoice-party-box.supplier-box {
        border-left-color: #000000 !important;
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .invoice-party-box.customer-box {
        border-left-color: #64748b !important;
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .invoice-dates-grid {
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Zaručenie horizontálneho layoutu a jednolistového A4 formátu */
    .invoice-header-grid {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }
    
    .invoice-parties-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Dodávateľ a Odberateľ vedľa seba */
        gap: 24px !important;
        margin-bottom: 16px !important;
    }
    
    .invoice-party-box {
        padding: 12px 16px !important;
        gap: 6px !important;
    }
    
    .invoice-dates-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* Tri stĺpce dátumov vedľa seba */
        gap: 12px !important;
        margin-bottom: 16px !important;
        padding: 8px 16px !important;
    }
    
    .invoice-items-section {
        margin-bottom: 16px !important;
    }
    
    .invoice-table th, .invoice-table td {
        padding: 6px 8px !important;
    }
    
    .invoice-bottom-grid {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr !important; /* Rekapitulácia a bankové detaily vedľa seba */
        gap: 24px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
    }
    
    .print-hide {
        display: none !important;
    }
}

/* Chyba pri validácii */
.invoice-input.is-invalid,
.invoice-textarea.is-invalid,
select.invoice-input.is-invalid {
    border-bottom: 2px solid #ef4444 !important;
    background-color: #fef2f2 !important;
}
