/* CSS Document */

/* ===== detail ===== */
.kp-portal-wrapper {
    font-family: Arial, sans-serif;
    /* background: #f4f5f7;*/
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.kp-header {
    color: #fff;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
    border-bottom: none;
    overflow: hidden;
}

/* ČERVENÁ LINKA */
.kp-header::before {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 5px;

    background: #6ea8ff;
}

/* ANIMOVANÝ SHINE */
.kp-header::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: -20%;

    width: 20%;
    height: 5px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.9),
        transparent
    );

    animation: redLineMove 4s linear infinite;
}

@keyframes redLineMove {
    0% {
        left: -20%;
    }

    100% {
        left: 120%;
    }
}

.kp-header h1 {
    margin: 0;
    font-size: 64px;
    line-height: 0.95;
    font-weight: 800;
    color:#6ea8ff;
}

.kp-header h1 span {
    color: #ffffff;
}

.kp-header-left {
    color: #ff1e2d;
}

.kp-header-top {
    font-size: 28px;
    font-weight: bold;
    text-align: right;
}

.kp-header-sub {
    font-size: 20px;
    opacity: 0.9;
    text-align: right;
    margin-top: 10px;
}

.kp-content {
    display: flex;
    gap: 40px;
    padding: 50px;
   
}

.kp-left {
    width: 65%;
    
}

.kp-right {
    width: 35%;
}

.kp-left h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color:#6ea8ff;
}

.kp-main-text {
    font-size: 22px;
    line-height: 1.7;
    color:#ffffff;
    margin-bottom: 40px;
}

.kp-info-box {
    margin-bottom: 40px;
}

.kp-step {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.kp-icon {
    width: 60px;
    height: 60px;
    background: #6ea8ff;
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.kp-step h3 {
    margin: 0 0 10px;
   color:#ffffff;
    font-size: 26px;
}

.kp-step p {
    margin: 0;
    color: #f0ebeb;;
    font-size: 19px;
    line-height: 1.6;
}

.kp-grid-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.kp-box {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.kp-box h3 {
    margin-top: 0;
    color: #0b1d35;
    font-size: 24px;
}

.kp-box ul {
    padding-left: 20px;
    margin: 0;
}

.kp-box li {
    margin-bottom: 10px;
    font-size: 18px;
    color: #444;
}

.kp-contact {
    background: #0c2748;
    color: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    font-size: 20px;
}

.kp-qr-card {
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.kp-qr-card h2 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #0b1d35;
}

.kp-qr-card p {
    font-size: 20px;
    color: #444;
    margin-bottom: 35px;
}

.kp-qr-image img {
    max-width: 100%;
    border: 10px solid #f4f5f7;
    border-radius: 20px;
}

.kp-portal-link {
    margin-top: 30px;
    background: #0c2748;
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    font-size: 28px;
    font-weight: bold;
}

.kp-qr-note {
    margin-top: 25px;
    color: #666;
    font-size: 18px;
    line-height: 1.5;
}

@media (max-width: 1100px) {

    .kp-content {
        flex-direction: column;
    }

    .kp-left,
    .kp-right {
        width: 100%;
    }

    .kp-grid-boxes {
        grid-template-columns: 1fr;
    }

    .kp-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .kp-header-top,
    .kp-header-sub {
        text-align: center;
    }

}
