body#vizitka {
    background: #07192e;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

body#vizitka main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 48px;
    width: 100%;
}

.vizitka-back {
    align-self: flex-start;
    margin-left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(200,220,255,0.55);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.15s;
}

.vizitka-back:hover {
    color: #e8f0ff;
}

body#vizitka .site-header,
body#vizitka .site-footer,
body#vizitka .home-blog-section {
    display: none !important;
}

.vizitka-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(170deg, #0d2d4e 0%, #082038 45%, #041525 100%);
    border-radius: 28px;
    padding: 40px 28px 36px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

@media (max-width: 499px) {
    .vizitka-card {
        max-width: 380px;
    }
}

@media (max-width: 379px) {
    .vizitka-card {
        max-width: 320px;
    }
}

@media (min-width: 1200px) {
    .vizitka-card {
        max-width: 620px;
    }

    .vizitka-photo,
    .vizitka-avatar {
        width: 200px !important;
        height: 200px !important;
    }

    .vizitka-name {
        font-size: 32px;
    }

    .vizitka-pozice {
        font-size: 16px;
    }
}

.vizitka-logo {
    margin-bottom: 28px;
}

.vizitka-logo img {
    height: 40px;
}

.vizitka-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(20,155,215,0.6);
    box-shadow: 0 0 0 6px rgba(20,155,215,0.12);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.vizitka-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vizitka-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004540, #149bd7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    border: 3px solid rgba(20,155,215,0.6);
    box-shadow: 0 0 0 6px rgba(20,155,215,0.12);
    margin-bottom: 20px;
}

.vizitka-titul {
    font-size: 12px;
    font-weight: 600;
    color: #149bd7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.vizitka-name {
    font-size: 24px;
    font-weight: 800;
    color: #f0f6ff;
    margin: 0 0 6px;
    line-height: 1.2;
}

.vizitka-pozice {
    font-size: 14px;
    font-weight: 500;
    color: rgba(200,220,255,0.65);
    margin-bottom: 6px;
}

.vizitka-company {
    font-size: 13px;
    font-weight: 600;
    color: rgba(200,220,255,0.45);
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vizitka-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 24px;
}

.vizitka-contacts {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.vizitka-contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.vizitka-contact-row:hover {
    background: rgba(20,155,215,0.12);
    border-color: rgba(20,155,215,0.3);
}

.vizitka-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(20,155,215,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #149bd7;
    flex-shrink: 0;
}

.vizitka-contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.vizitka-contact-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(200,220,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 1px;
}

.vizitka-contact-value {
    font-size: 14px;
    font-weight: 600;
    color: #e8f0ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vizitka-vcf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #149bd7;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 8px 24px rgba(20,155,215,0.35);
}

.vizitka-vcf-btn:hover {
    background: #1186ba;
    color: #fff;
    transform: translateY(-1px);
}

.vizitka-vcf-btn:active {
    transform: translateY(0);
}

.vizitka-print-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    color: rgba(200,220,255,0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    font-family: inherit;
}

.vizitka-print-btn:hover {
    background: rgba(255,255,255,0.06);
    color: #e8f0ff;
    border-color: rgba(255,255,255,0.22);
}

.vizitka-qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    background: #0d2540;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    text-align: center;
}

.vizitka-qr-left {
    flex-shrink: 0;
}

.vizitka-qr-left canvas,
.vizitka-qr-left img {
    display: block;
    border-radius: 6px;
}

.vizitka-qr-right h3 {
    font-size: 17px;
    font-weight: 700;
    color: #e8f0ff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.vizitka-qr-right p {
    font-size: 12px;
    color: rgba(200,220,255,0.55);
    margin: 0;
    line-height: 1.6;
}

@media (min-width: 560px) {
    .vizitka-qr-block {
        flex-direction: row;
        text-align: left;
    }
}

@media print {
    body#vizitka {
        background: #fff;
        padding: 0;
    }
    body#vizitka main {
        padding: 0;
    }
    .vizitka-card {
        box-shadow: none;
        border: 1px solid #ccc;
        max-width: 100%;
        width: 100%;
    }
    .vizitka-print-btn,
    .vizitka-qr-block {
        display: none;
    }
}
