/* ===== STYLE CV ===== */

/* 1. CLASSIC */
.style-classic .cv-header {
    border-bottom: 3px solid #2c3e50;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.style-classic .cv-header h1 {
    color: #000 !important;
    font-size: 2.2em;
    font-weight: 600;
}

.style-classic .cv-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
    font-size: 1.3em;
    padding-bottom: 8px;
}

.style-classic .cv-item h3 {
    color: #34495e;
    font-weight: 600;
}

.style-classic .cv-item .company {
    color: #5d6d7e;
    font-weight: 500;
}

.style-classic .cv-item .date {
    color: #7f8c8d;
}

.style-classic .skill-tag {
    background: #34495e;
    box-shadow: 0 2px 4px rgba(52, 73, 94, 0.2);
}

.style-classic .interest-tag {
    background: #5d6d7e;
}

.style-classic .cv-header .cv-photo {
    border-radius: 8px;
    border: 3px solid #2c3e50;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
}

/* 2. MINIMAL */
.style-minimal {
    font-family: 'Helvetica', sans-serif;
}

.style-minimal .cv-header {
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.style-minimal .cv-header h1 {
    color: #000 !important;
    font-weight: 400;
    font-size: 2.3em;
    letter-spacing: 1px;
}

.style-minimal .cv-contact {
    color: #4a4a4a;
    font-size: 14px;
}

.style-minimal .cv-section h2 {
    font-weight: 400;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #1a1a1a;
    color: #1a1a1a;
    padding-bottom: 8px;
}

.style-minimal .cv-item h3 {
    color: #2a2a2a;
    font-weight: 500;
}

.style-minimal .cv-item .company {
    color: #4a4a4a;
}

.style-minimal .cv-item .date {
    color: #6a6a6a;
}

.style-minimal .skill-tag {
    background: #2a2a2a;
    border-radius: 0;
    padding: 6px 14px;
    font-size: 13px;
    letter-spacing: 1px;
}

.style-minimal .interest-tag {
    background: #4a4a4a;
    border-radius: 0;
}

.style-minimal .cv-header .cv-photo {
    border-radius: 0;
    border: 3px solid #1a1a1a;
}

/* 3. PROFESSIONAL */
.style-professional {
    font-family: 'Georgia', serif;
}

.style-professional .cv-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 40px;
    margin: -50px -50px 30px -50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    border-bottom: none;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.style-professional .cv-header h1 {
    color: #fff !important;
    font-size: 2.3em;
    font-weight: 600;
}

.style-professional .cv-contact {
    color: #bdc3c7;
    font-size: 14px;
}

.style-professional .cv-section h2 {
    color: #2c3e50;
    border-bottom: 3px solid #34495e;
    font-size: 1.3em;
    padding-bottom: 10px;
    font-weight: 600;
}

.style-professional .cv-item h3 {
    color: #34495e;
    font-weight: 600;
}

.style-professional .cv-item .company {
    color: #5d6d7e;
    font-weight: 500;
}

.style-professional .cv-item .date {
    color: #7f8c8d;
}

.style-professional .skill-tag {
    background: #34495e;
    box-shadow: 0 2px 6px rgba(52, 73, 94, 0.25);
}

.style-professional .interest-tag {
    background: #5d6d7e;
}

.style-professional .cv-header .cv-photo {
    border-radius: 8px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 4. ELEGANT */
.style-elegant {
    font-family: 'Georgia', serif;
}

.style-elegant .cv-header {
    border-bottom: 3px double #6c5b7b;
    padding-bottom: 25px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.style-elegant .cv-header h1 {
    color: #000 !important;
    font-size: 2.5em;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.style-elegant .cv-contact {
    color: #5d5d5d;
    font-size: 14px;
}

.style-elegant .cv-section h2 {
    color: #6c5b7b;
    border-bottom: 2px solid #6c5b7b;
    font-weight: 400;
    font-style: italic;
    font-size: 1.3em;
    padding-bottom: 8px;
}

.style-elegant .cv-item h3 {
    color: #4a4a4a;
    font-weight: 500;
}

.style-elegant .cv-item .company {
    color: #6c5b7b;
    font-weight: 500;
    font-style: italic;
}

.style-elegant .cv-item .date {
    color: #8d8d8d;
    font-style: italic;
}

.style-elegant .skill-tag {
    background: #6c5b7b;
    box-shadow: 0 2px 6px rgba(108, 91, 123, 0.25);
}

.style-elegant .interest-tag {
    background: #8b7a9b;
}

.style-elegant .cv-header .cv-photo {
    border-radius: 50%;
    border: 4px solid #6c5b7b;
    box-shadow: 0 4px 12px rgba(108, 91, 123, 0.2);
}

/* 5. TIMELINE */
.style-timeline .cv-header {
    margin-bottom: 40px;
    border-bottom: 3px solid #5a7a9b;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
}

.style-timeline .cv-header h1 {
    color: #000 !important;
    font-size: 2.3em;
    font-weight: 600;
}

.style-timeline .cv-contact {
    color: #5d5d5d;
}

.style-timeline .cv-section h2 {
    color: #5a7a9b;
    font-size: 1.3em;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #5a7a9b;
}

.style-timeline .cv-item {
    position: relative;
    padding-left: 40px;
    border-left: 3px solid #7a9ab5;
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.style-timeline .cv-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 13px;
    height: 13px;
    background: #5a7a9b;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(90, 122, 155, 0.2);
}

.style-timeline .cv-item h3 {
    color: #3a3a3a;
    font-weight: 600;
}

.style-timeline .cv-item .company {
    color: #5a7a9b;
    font-weight: 500;
}

.style-timeline .cv-item .date {
    color: #7a9ab5;
    font-weight: 500;
}

.style-timeline .skill-tag {
    background: #5a7a9b;
    box-shadow: 0 2px 6px rgba(90, 122, 155, 0.25);
}

.style-timeline .interest-tag {
    background: #7a9ab5;
}

.style-timeline .cv-header .cv-photo {
    border-radius: 50%;
    border: 4px solid #5a7a9b;
    box-shadow: 0 4px 12px rgba(90, 122, 155, 0.2);
}

/* 6. SIDEBAR DARK */
.style-sidebar-dark .sidebar-layout {
    display: flex;
    margin: -50px;
}

.style-sidebar-dark .sidebar {
    width: 35%;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 45px 35px;
}

.style-sidebar-dark .sidebar-header h1 {
    color: #fff !important;
    font-size: 1.9em;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 18px;
    font-weight: 600;
}

.style-sidebar-dark .sidebar-section {
    margin-bottom: 28px;
}

.style-sidebar-dark .sidebar-section h3 {
    color: #95a5a6;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    font-weight: 600;
}

.style-sidebar-dark .sidebar-section p {
    margin-bottom: 10px;
    font-size: 0.9em;
    line-height: 1.7;
    color: #bdc3c7;
}

.style-sidebar-dark .sidebar-skill,
.style-sidebar-dark .sidebar-interest {
    background: rgba(149, 165, 166, 0.15);
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 3px solid #7f8c8d;
    color: #ecf0f1;
    font-size: 0.9em;
}

.style-sidebar-dark .main-content {
    flex: 1;
    padding: 45px 40px;
    background: white;
}

.style-sidebar-dark .cv-section {
    margin-bottom: 35px;
}

.style-sidebar-dark .cv-section h2 {
    color: #2c3e50;
    border-bottom: 3px solid #34495e;
    font-size: 1.3em;
    padding-bottom: 10px;
    font-weight: 600;
}

.style-sidebar-dark .cv-item h3 {
    color: #34495e;
    font-weight: 600;
}

.style-sidebar-dark .cv-item .company {
    color: #5d6d7e;
    font-weight: 500;
}

.style-sidebar-dark .cv-item .date {
    color: #7f8c8d;
}

.style-sidebar-dark .sidebar-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: block;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== STYLE INSPIROWANE PREZENTACJAMI ===== */

/* 7. PRESENTATION */
.style-presentation .cv-header {
    background: linear-gradient(135deg, #5a7a9b 0%, #4a6a8b 100%);
    color: white;
    padding: 50px 40px;
    margin: -50px -50px 0 -50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(90, 122, 155, 0.25);
}

.style-presentation .cv-header h1 {
    color: #fff !important;
    font-size: 2.4em;
    font-weight: 600;
    margin-bottom: 10px;
}

.style-presentation .cv-contact {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.style-presentation .cv-section {
    background: #f5f7fa;
    padding: 32px;
    margin: 20px -50px;
    border-left: 5px solid #5a7a9b;
}

.style-presentation .cv-section:nth-child(even) {
    background: white;
    border-left: 5px solid #6a8aab;
}

.style-presentation .cv-section h2 {
    color: #4a6a8b;
    font-size: 1.4em;
    margin-bottom: 20px;
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.style-presentation .cv-item {
    background: white;
    padding: 22px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #7a9ab5;
}

.style-presentation .cv-item h3 {
    color: #2c3e50;
    font-size: 1.15em;
    margin-bottom: 8px;
    font-weight: 600;
}

.style-presentation .cv-item .company {
    color: #5a7a9b;
    font-weight: 500;
}

.style-presentation .cv-item .date {
    color: #7a9ab5;
}

.style-presentation .skill-tag {
    background: linear-gradient(135deg, #5a7a9b 0%, #4a6a8b 100%);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(90, 122, 155, 0.25);
}

.style-presentation .interest-tag {
    background: linear-gradient(135deg, #6a8aab 0%, #7a9ab5 100%);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
}

.style-presentation .cv-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 8. CORPORATE */
.style-corporate .sidebar-layout {
    display: flex;
    margin: -50px;
}

.style-corporate .sidebar {
    width: 32%;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 45px 35px;
    position: relative;
}

.style-corporate .sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5a7a9b 0%, #4a6a8b 100%);
}

.style-corporate .sidebar-header {
    text-align: center;
    margin-bottom: 35px;
}

.style-corporate .sidebar-header h1 {
    color: #fff !important;
    font-size: 1.7em;
    margin-bottom: 15px;
    font-weight: 600;
}

.style-corporate .sidebar-section {
    margin-bottom: 32px;
}

.style-corporate .sidebar-section h3 {
    color: #7a9ab5;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(122, 154, 181, 0.3);
    font-weight: 600;
}

.style-corporate .sidebar-section p {
    margin-bottom: 10px;
    font-size: 0.9em;
    line-height: 1.8;
    color: #bdc3c7;
}

.style-corporate .sidebar-skill,
.style-corporate .sidebar-interest {
    background: rgba(90, 122, 155, 0.2);
    padding: 11px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 3px solid #5a7a9b;
    font-size: 0.9em;
    color: #ecf0f1;
}

.style-corporate .main-content {
    flex: 1;
    padding: 50px 45px;
    background: white;
}

.style-corporate .cv-section {
    margin-bottom: 38px;
}

.style-corporate .cv-section h2 {
    color: #2c3e50;
    font-size: 1.35em;
    margin-bottom: 22px;
    border-bottom: 3px solid #5a7a9b;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.style-corporate .cv-item {
    padding-left: 22px;
    border-left: 2px solid #d5dce3;
    margin-bottom: 28px;
    position: relative;
}

.style-corporate .cv-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #5a7a9b;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(90, 122, 155, 0.15);
}

.style-corporate .cv-item h3 {
    color: #2c3e50;
    font-size: 1.15em;
    margin-bottom: 6px;
    font-weight: 600;
}

.style-corporate .cv-item .company {
    color: #5a7a9b;
    font-weight: 500;
}

.style-corporate .cv-item .date {
    color: #7a9ab5;
}

.style-corporate .sidebar-photo {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 4px solid #5a7a9b;
    box-shadow: 0 4px 20px rgba(90, 122, 155, 0.3);
}

/* 9. EXECUTIVE */
.style-executive .cv-header {
    background: white;
    padding: 40px 0;
    margin-bottom: 35px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    border-bottom: 4px solid #1a1a1a;
    position: relative;
}

.style-executive .cv-header::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 25%;
    height: 4px;
    background: linear-gradient(90deg, #8b6f47 0%, #1a1a1a 100%);
}

.style-executive .cv-header h1 {
    color: #000 !important;
    font-size: 2.3em;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.style-executive .cv-contact {
    color: #5d5d5d;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.style-executive .cv-section {
    margin-bottom: 38px;
    position: relative;
}

.style-executive .cv-section h2 {
    color: #1a1a1a;
    font-size: 1.3em;
    margin-bottom: 22px;
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.style-executive .cv-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #8b6f47;
    border-radius: 50%;
}

.style-executive .cv-item {
    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
}

.style-executive .cv-item:last-child {
    border-bottom: none;
}

.style-executive .cv-item h3 {
    color: #2a2a2a;
    font-size: 1.1em;
    margin-bottom: 6px;
    font-weight: 600;
}

.style-executive .cv-item .company {
    color: #5d5d5d;
    font-weight: 600;
    font-size: 0.95em;
}

.style-executive .cv-item .date {
    color: #8d8d8d;
    font-size: 0.9em;
    font-style: normal;
}

.style-executive .skill-tag {
    background: #2a2a2a;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.style-executive .interest-tag {
    background: #8b6f47;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.style-executive .cv-photo {
    width: 130px;
    height: 130px;
    border-radius: 8px;
    border: 4px solid #1a1a1a;
    box-shadow: 8px 8px 0 #8b6f47;
}

/* ===== OGÓLNE STYLE ===== */

/* Ogólne style dla zdjęć w CV */
.cv-header .cv-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0;
    display: block;
    border: 3px solid #e2e8f0;
    flex-shrink: 0;
}

/* Dodatkowe style dla zainteresowań */
.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interest-tag {
    background: #10b981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* Style dla GDPR */
.gdpr-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.gdpr-text {
    font-size: 0.75em;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

/* Wyrównanie tekstu w nagłówkach */
.style-classic .cv-header h1,
.style-minimal .cv-header h1,
.style-elegant .cv-header h1,
.style-timeline .cv-header h1 {
    text-align: left;
}

.style-professional .cv-header h1,
.style-presentation .cv-header h1,
.style-executive .cv-header h1 {
    text-align: left;
}

.style-professional .cv-contact,
.style-presentation .cv-contact,
.style-executive .cv-contact {
    text-align: left;
}

/* ===== WYMUSZENIE CZARNEGO KOLORU CZCIONKI ===== */

/* Imię i nazwisko - zawsze czarne */
.cv-header h1,
.cv-header-text h1,
.sidebar-header h1 {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background: none !important;
}

/* Tekst w CV - zawsze czarny */
.cv-section p,
.cv-item p,
.cv-item h3,
.cv-item .company,
.cv-item .date {
    color: #000 !important;
}

/* Wyjątki dla stylów z kolorowym tłem w nagłówku */
.style-professional .cv-header h1,
.style-presentation .cv-header h1 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
}

/* Sidebar - białe nagłówki na kolorowym tle */
.style-sidebar-dark .sidebar-header h1,
.style-corporate .sidebar-header h1 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
}

/* Tekst w głównej części sidebar - czarny */
.style-sidebar-dark .main-content h1,
.style-sidebar-dark .main-content h2,
.style-sidebar-dark .main-content h3,
.style-sidebar-dark .main-content p,
.style-corporate .main-content h1,
.style-corporate .main-content h2,
.style-corporate .main-content h3,
.style-corporate .main-content p {
    color: #000 !important;
}

/* ===== RESPONSIVE ===== */

/* Responsive - na mobile zdjęcie nad tekstem */
@media (max-width: 767px) {
    .cv-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .cv-header-text {
        text-align: center !important;
    }
    
    .cv-header h1 {
        text-align: center !important;
    }
    
    .cv-contact {
        text-align: center !important;
    }
    
    .cv-photo {
        margin: 0 auto 15px !important;
    }
    
    .style-presentation .cv-header {
        flex-direction: column;
        padding: 30px 20px;
        margin: -20px -20px 0 -20px;
    }
    
    .style-presentation .cv-section {
        margin: 15px -20px;
        padding: 20px;
    }
    
    .style-sidebar-dark .sidebar-layout,
    .style-corporate .sidebar-layout {
        flex-direction: column;
        margin: -20px;
    }
    
    .style-sidebar-dark .sidebar,
    .style-corporate .sidebar {
        width: 100%;
        padding: 30px 20px;
    }
    
    .style-corporate .sidebar::before {
        width: 100%;
        height: 3px;
        top: auto;
        bottom: 0;
    }
    
    .style-sidebar-dark .main-content,
    .style-corporate .main-content {
        padding: 30px 20px;
    }
    
    .style-executive .cv-header {
        flex-direction: column;
        text-align: center;
    }
    
    .style-executive .cv-header-text {
        text-align: center;
    }
    
    .style-executive .cv-contact {
        text-align: center;
    }
}


/* 10. MANAGER - Nowoczesny biznesowy styl dla menadżera projektu */
.style-manager .cv-header {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 45px 40px;
    margin: -50px -50px 30px -50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    border-bottom: none;
    position: relative;
}

.style-manager .cv-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e0 50%, #e2e8f0 100%);
}

.style-manager .cv-header h1 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    font-size: 2.4em;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.style-manager .cv-contact {
    color: #e2e8f0;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.style-manager .cv-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #4a5568;
}

.style-manager .cv-section:nth-child(even) {
    background: white;
    border-left: 4px solid #718096;
}

.style-manager .cv-section h2 {
    color: #2d3748;
    font-size: 1.4em;
    margin-bottom: 20px;
    border-bottom: 2px solid #cbd5e0;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.style-manager .cv-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 3px solid #a0aec0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.style-manager .cv-item h3 {
    color: #2d3748;
    font-size: 1.15em;
    margin-bottom: 6px;
    font-weight: 600;
}

.style-manager .cv-item .company {
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95em;
}

.style-manager .cv-item .date {
    color: #718096;
    font-size: 0.9em;
    font-weight: 500;
}

.style-manager .cv-item p {
    color: #4a5568;
    line-height: 1.7;
    margin-top: 10px;
}

.style-manager .skill-tag {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(74, 85, 104, 0.2);
}

.style-manager .interest-tag {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.style-manager .cv-photo {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.style-manager .gdpr-section {
    background: #edf2f7;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #a0aec0;
}

/* Responsive dla stylu Manager */
@media (max-width: 767px) {
    .style-manager .cv-header {
        flex-direction: column;
        padding: 30px 20px;
        margin: -20px -20px 20px -20px;
        text-align: center;
    }
    
    .style-manager .cv-header-text {
        text-align: center;
    }
    
    .style-manager .cv-contact {
        text-align: center;
    }
    
    .style-manager .cv-section {
        padding: 20px 15px;
    }
}


/* 11. PROJECT MANAGER - Szare i Białe Nowoczesne Biznesowe */
.style-project-manager {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: #f5f5f5;
    padding: 0;
}

.style-project-manager .cv-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 40px;
    margin: 0 0 30px 0;
    position: relative;
    overflow: hidden;
}

.style-project-manager .cv-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.style-project-manager .cv-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.style-project-manager .cv-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 30px;
}

.style-project-manager .cv-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.style-project-manager .cv-header h1 {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    font-size: 2.8em;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.style-project-manager .cv-header .job-title {
    color: #ecf0f1;
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.style-project-manager .cv-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #bdc3c7;
    font-size: 14px;
}

.style-project-manager .cv-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.style-project-manager .cv-contact-item::before {
    content: '●';
    color: #3498db;
    font-size: 8px;
}

.style-project-manager .cv-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.style-project-manager .cv-section {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.style-project-manager .cv-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3498db 0%, #2c3e50 100%);
    border-radius: 8px 0 0 8px;
}

.style-project-manager .cv-section h2 {
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.style-project-manager .cv-summary {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
}

.style-project-manager .cv-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 20px;
}

.style-project-manager .cv-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.style-project-manager .cv-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: #3498db;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.style-project-manager .cv-item h3 {
    color: #2c3e50;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.style-project-manager .cv-item .company {
    color: #3498db;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 5px;
}

.style-project-manager .cv-item .date {
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    background: #ecf0f1;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.style-project-manager .cv-item p {
    color: #555;
    line-height: 1.7;
    margin: 10px 0 0 0;
}

.style-project-manager .skills-container,
.style-project-manager .interests-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.style-project-manager .skill-tag {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.style-project-manager .skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.style-project-manager .interest-tag {
    background: white;
    color: #2c3e50;
    border: 2px solid #3498db;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.style-project-manager .interest-tag:hover {
    background: #3498db;
    color: white;
}

.style-project-manager .gdpr-text {
    font-size: 11px;
    color: #7f8c8d;
    line-height: 1.6;
    padding: 15px;
    background: #ecf0f1;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

/* Two Column Layout for Skills and Interests */
.style-project-manager .cv-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Stats/Highlights Section */
.style-project-manager .cv-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.style-project-manager .stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 3px solid #3498db;
}

.style-project-manager .stat-number {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
    display: block;
}

.style-project-manager .stat-label {
    font-size: 13px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .style-project-manager .cv-header {
        padding: 30px 20px;
    }
    
    .style-project-manager .cv-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .style-project-manager .cv-header h1 {
        font-size: 2em;
    }
    
    .style-project-manager .cv-content-wrapper {
        padding: 0 20px 20px;
    }
    
    .style-project-manager .cv-section {
        padding: 20px;
    }
    
    .style-project-manager .cv-two-column {
        grid-template-columns: 1fr;
    }
    
    .style-project-manager .cv-contact {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .style-project-manager {
        background: white;
    }
    
    .style-project-manager .cv-section {
        box-shadow: none;
        page-break-inside: avoid;
    }
}


/* ===== ULEPSZONE WERSJE STYLÓW ===== */

/* WSPÓLNE POPRAWKI DLA WSZYSTKICH STYLÓW */
.cv-content {
    line-height: 1.6;
}

.cv-item p {
    line-height: 1.7;
    color: #555;
}

.skill-tag, .interest-tag {
    transition: all 0.3s ease;
    cursor: pointer;
}

/* CLASSIC - Dodatkowe ulepszenia */
.style-classic .cv-item {
    padding-left: 20px;
    border-left: 3px solid #ecf0f1;
    transition: all 0.3s ease;
}

.style-classic .cv-item:hover {
    border-left-color: #2c3e50;
}

.style-classic .skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 73, 94, 0.4);
}

.style-classic .interest-tag {
    background: white;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.style-classic .interest-tag:hover {
    background: #2c3e50;
    color: white;
}

/* MINIMAL - Dodatkowe ulepszenia */
.style-minimal .cv-item {
    padding-left: 25px;
    border-left: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.style-minimal .cv-item:hover {
    border-left-color: #000;
    padding-left: 30px;
}

.style-minimal .skill-tag:hover {
    background: #333;
}

.style-minimal .interest-tag {
    background: white;
    color: #000;
    border: 2px solid #000;
}

.style-minimal .interest-tag:hover {
    background: #000;
    color: white;
}

/* PROFESSIONAL - Dodatkowe ulepszenia */
.style-professional .cv-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.style-professional .cv-section {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.style-professional .cv-item {
    padding-left: 20px;
    border-left: 3px solid #3498db;
}

.style-professional .cv-item .date {
    background: #ecf0f1;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.style-professional .skill-tag {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.style-professional .skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.style-professional .interest-tag {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
}

.style-professional .interest-tag:hover {
    background: #3498db;
    color: white;
}

/* ELEGANT - Dodatkowe ulepszenia */
.style-elegant .cv-section {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #8e44ad;
}

.style-elegant .cv-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #f4ecf7;
}

.style-elegant .cv-item:last-child {
    border-bottom: none;
}

.style-elegant .skill-tag {
    background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
}

.style-elegant .skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.4);
}

.style-elegant .interest-tag {
    background: white;
    color: #8e44ad;
    border: 2px solid #8e44ad;
}

.style-elegant .interest-tag:hover {
    background: #8e44ad;
    color: white;
}

/* TIMELINE - Dodatkowe ulepszenia */
.style-timeline .cv-header {
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.style-timeline .cv-section h2 {
    padding-left: 30px;
    position: relative;
}

.style-timeline .cv-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #1abc9c;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(26, 188, 156, 0.2);
}

.style-timeline .cv-item {
    position: relative;
    padding-left: 50px;
    border-left: 3px solid #e8f8f5;
}

.style-timeline .cv-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #1abc9c;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #1abc9c;
}

.style-timeline .cv-item .date {
    background: #e8f8f5;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.style-timeline .skill-tag {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

.style-timeline .skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.4);
}

.style-timeline .interest-tag {
    background: white;
    color: #16a085;
    border: 2px solid #16a085;
}

.style-timeline .interest-tag:hover {
    background: #16a085;
    color: white;
}

/* SIDEBAR-DARK - Dodatkowe ulepszenia */
.style-sidebar-dark .cv-sidebar {
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.style-sidebar-dark .skill-tag:hover {
    transform: scale(1.05);
}

.style-sidebar-dark .interest-tag:hover {
    transform: scale(1.05);
}

/* PRESENTATION - Dodatkowe ulepszenia */
.style-presentation .cv-section {
    transition: all 0.3s ease;
}

.style-presentation .cv-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.style-presentation .skill-tag:hover {
    transform: translateY(-2px);
}

/* CORPORATE - Dodatkowe ulepszenia */
.style-corporate .cv-item {
    transition: all 0.3s ease;
}

.style-corporate .cv-item:hover {
    background: #f8f9fa;
}

/* EXECUTIVE - Dodatkowe ulepszenia */
.style-executive .cv-section {
    transition: all 0.3s ease;
}

.style-executive .cv-section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* MANAGER - Dodatkowe ulepszenia */
.style-manager .cv-item {
    transition: all 0.3s ease;
}

.style-manager .cv-item:hover {
    transform: translateX(5px);
}

/* Responsywność dla wszystkich stylów */
@media (max-width: 768px) {
    .cv-header {
        flex-direction: column !important;
        text-align: center;
    }
    
    .cv-header h1 {
        font-size: 2em !important;
    }
    
    .cv-photo {
        margin: 0 auto 20px !important;
    }
    
    .style-professional .cv-header,
    .style-elegant .cv-header {
        padding: 30px 20px !important;
    }
    
    .cv-item {
        padding-left: 15px !important;
    }
}

/* Animacje */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cv-section {
    animation: fadeIn 0.5s ease;
}

/* Print styles dla wszystkich */
@media print {
    .cv-content {
        background: white !important;
    }
    
    .cv-section {
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .cv-item {
        page-break-inside: avoid;
    }
    
    .skill-tag, .interest-tag {
        box-shadow: none !important;
    }
    
    /* Fix transparent text in PDF - force solid colors */
    * {
        -webkit-text-fill-color: initial !important;
    }
    
    .cv-header h1,
    .cv-header-text h1,
    .sidebar-header h1 {
        -webkit-text-fill-color: #000 !important;
        color: #000 !important;
        background: none !important;
    }
    
    .style-professional .cv-header h1,
    .style-presentation .cv-header h1,
    .style-sidebar-dark .sidebar-header h1,
    .style-corporate .sidebar-header h1,
    .style-manager .cv-header h1,
    .style-project-manager .cv-header h1 {
        -webkit-text-fill-color: #fff !important;
        color: #fff !important;
        background: none !important;
    }
    
    h1, h2, h3, h4, h5, h6, p, span, div, li, a {
        -webkit-text-fill-color: inherit !important;
    }
}

/* Languages section styles */
.languages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.language-item-cv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.language-item-cv:last-child {
    border-bottom: none;
}

.language-name-cv {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.language-level-cv {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-level-text-cv {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    min-width: 140px;
    text-align: right;
}

/* Sidebar languages */
.sidebar-language {
    background: rgba(149, 165, 166, 0.15);
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 3px solid #7f8c8d;
}

.sidebar-language-name {
    color: #ecf0f1;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 6px;
}

.sidebar-language .language-level-dots {
    margin: 6px 0;
}

.sidebar-language-level {
    color: #bdc3c7;
    font-size: 0.8em;
    margin-top: 4px;
}

/* Corporate style sidebar languages */
.style-corporate .sidebar-language {
    background: rgba(90, 122, 155, 0.2);
    border-left: 3px solid #5a7a9b;
}

/* Certifications section styles */
.certifications-list,
.certifications-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.certification-tag {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.certification-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Sidebar certifications */
.sidebar-certification {
    background: rgba(245, 158, 11, 0.15);
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
    color: #ecf0f1;
    font-size: 0.9em;
}

/* Corporate style sidebar certifications */
.style-corporate .sidebar-certification {
    background: rgba(245, 158, 11, 0.2);
    border-left: 3px solid #f59e0b;
}

/* Style-specific certification tags */
.style-classic .certification-tag {
    background: #d97706;
}

.style-minimal .certification-tag {
    background: #b45309;
    border-radius: 0;
}

.style-professional .certification-tag {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.style-elegant .certification-tag {
    background: #b45309;
}

.style-timeline .certification-tag {
    background: #f59e0b;
}

.style-presentation .certification-tag {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.style-executive .certification-tag {
    background: #b45309;
}

.style-manager .certification-tag {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.style-project-manager .certification-tag {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Custom Section in CV styles */
.custom-items-list,
.custom-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-item-tag {
    display: inline-block;
    background: #8b5cf6;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-item-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Sidebar custom items */
.sidebar-custom-item {
    background: rgba(139, 92, 246, 0.15);
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 3px solid #8b5cf6;
    color: #ecf0f1;
    font-size: 0.9em;
}

/* Corporate style sidebar custom items */
.style-corporate .sidebar-custom-item {
    background: rgba(139, 92, 246, 0.2);
    border-left: 3px solid #8b5cf6;
}

/* Style-specific custom item tags */
.style-classic .custom-item-tag {
    background: #7c3aed;
}

.style-minimal .custom-item-tag {
    background: #6d28d9;
    border-radius: 0;
}

.style-professional .custom-item-tag {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.style-elegant .custom-item-tag {
    background: #6d28d9;
}

.style-timeline .custom-item-tag {
    background: #8b5cf6;
}

.style-presentation .custom-item-tag {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.style-executive .custom-item-tag {
    background: #6d28d9;
}

.style-manager .custom-item-tag {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.style-project-manager .custom-item-tag {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* ===== ENHANCED CV MOBILE RESPONSIVENESS ===== */

/* Extra small devices */
@media (max-width: 480px) {
    .cv-content {
        padding: 15px 10px !important;
        font-size: 10px !important;
    }
    
    .cv-header {
        padding: 15px 10px !important;
        margin: -15px -10px 15px -10px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .cv-header h1 {
        font-size: 1.3em !important;
    }
    
    .cv-photo {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 10px !important;
    }
    
    .cv-section {
        margin-bottom: 15px !important;
    }
    
    .cv-section h2 {
        font-size: 1em !important;
        margin-bottom: 10px !important;
    }
    
    .cv-item {
        margin-bottom: 12px !important;
        padding: 10px 0 !important;
    }
    
    .cv-item h3 {
        font-size: 0.95em !important;
    }
    
    .cv-item p {
        font-size: 0.85em !important;
        line-height: 1.4 !important;
    }
    
    .skill-tag, .certification-tag, .interest-tag, .custom-item-tag {
        padding: 4px 10px !important;
        font-size: 10px !important;
        margin: 3px !important;
    }
    
    /* Sidebar styles mobile */
    .sidebar-layout {
        flex-direction: column !important;
        margin: -15px -10px !important;
    }
    
    .sidebar {
        width: 100% !important;
        padding: 20px 15px !important;
    }
    
    .sidebar-header h1 {
        font-size: 1.2em !important;
    }
    
    .sidebar-photo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .sidebar-section {
        margin-bottom: 15px !important;
    }
    
    .sidebar-section h3 {
        font-size: 0.8em !important;
    }
    
    .main-content {
        padding: 20px 15px !important;
    }
    
    /* Languages mobile */
    .language-item-cv {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 0;
    }
    
    .language-name-cv {
        font-size: 12px !important;
    }
    
    .language-level-cv {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .level-dot {
        width: 8px !important;
        height: 8px !important;
    }
    
    .language-level-text-cv {
        font-size: 10px !important;
    }
    
    /* GDPR section mobile */
    .gdpr-text {
        font-size: 8px !important;
        line-height: 1.3 !important;
    }
}

/* Small devices */
@media (min-width: 481px) and (max-width: 767px) {
    .cv-content {
        padding: 20px 15px !important;
        font-size: 11px !important;
    }
    
    .cv-header h1 {
        font-size: 1.5em !important;
    }
    
    .cv-photo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .sidebar-layout {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
        padding: 25px 20px !important;
    }
    
    .main-content {
        padding: 25px 20px !important;
    }
    
    .skill-tag, .certification-tag, .interest-tag, .custom-item-tag {
        font-size: 11px !important;
    }
}

/* Medium devices */
@media (min-width: 768px) and (max-width: 991px) {
    .cv-content {
        padding: 25px 20px !important;
        font-size: 12px !important;
    }
    
    .sidebar-layout {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .cv-header {
        flex-direction: row !important;
        padding: 15px !important;
    }
    
    .cv-photo {
        width: 60px !important;
        height: 60px !important;
    }
    
    .sidebar-layout {
        flex-direction: row !important;
    }
    
    .sidebar {
        width: 35% !important;
    }
}

/* Touch-friendly spacing */
@media (hover: none) and (pointer: coarse) {
    .cv-item {
        padding: 12px 0 !important;
    }
    
    .skill-tag, .certification-tag, .interest-tag, .custom-item-tag {
        padding: 6px 14px !important;
        margin: 4px !important;
    }
}


/* PDF-specific fixes for presentation style */
@media print {
    .style-presentation .cv-content {
        max-width: 210mm;
        min-height: auto;
        padding: 20mm;
    }
    
    .style-presentation .cv-header {
        margin: -20mm -20mm 0 -20mm;
        padding: 30px 20px;
        page-break-after: avoid;
    }
    
    .style-presentation .cv-header h1 {
        font-size: 1.8em;
    }
    
    .style-presentation .cv-section {
        margin: 15px -20mm;
        padding: 20px;
        page-break-inside: avoid;
    }
    
    .style-presentation .cv-item {
        padding: 15px;
        margin-bottom: 10px;
        page-break-inside: avoid;
    }
    
    .style-presentation .cv-photo {
        width: 100px;
        height: 100px;
    }
}

/* Additional constraints for PDF generation via html2pdf */
.style-presentation.pdf-generating {
    max-width: 210mm !important;
    width: 210mm !important;
    min-height: 297mm;
    max-height: none;
    padding: 20mm !important;
    box-sizing: border-box;
}

.style-presentation.pdf-generating .cv-header {
    margin: -20mm -20mm 0 -20mm !important;
    padding: 30px 20px !important;
    font-size: 0.9em;
}

.style-presentation.pdf-generating .cv-header h1 {
    font-size: 1.8em !important;
}

.style-presentation.pdf-generating .cv-section {
    margin: 15px -20mm !important;
    padding: 20px !important;
}

.style-presentation.pdf-generating .cv-section h2 {
    font-size: 1.2em !important;
}

.style-presentation.pdf-generating .cv-item {
    padding: 15px !important;
    margin-bottom: 10px !important;
}

.style-presentation.pdf-generating .cv-item h3 {
    font-size: 1em !important;
}

.style-presentation.pdf-generating .cv-photo {
    width: 100px !important;
    height: 100px !important;
}

.style-presentation.pdf-generating .skill-tag,
.style-presentation.pdf-generating .interest-tag,
.style-presentation.pdf-generating .certification-tag {
    padding: 6px 12px !important;
    font-size: 11px !important;
}
