/* Genel Stiller */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    min-height: 100vh;
    color: #333;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}


/* Geliştirme Modu Banner */

.dev-banner {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 8px 20px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.2);
    z-index: 1000;
    border-radius: 0 0 12px 12px;
}

.dev-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 100%;
    margin: 0;
    position: relative;
}

.banner-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
}

.banner-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 900px) {
    .banner-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .banner-controls {
        position: absolute;
        right: 10px;
        top: 44px;
        background: #fff;
        color: #333;
        border-radius: 10px;
        padding: 8px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        display: none;
        flex-direction: column;
        gap: 8px;
        z-index: 1002;
        min-width: 260px;
    }
    .banner-controls.show {
        display: flex;
    }
    .banner-controls .template-selector-btn,
    .banner-controls .settings-selector-btn,
    .banner-controls .language-selector-btn {
        width: 100%;
        justify-content: space-between;
        background: #f3f4f6;
        color: #111827;
        border: 1px solid #e5e7eb;
    }
    .banner-controls .template-selector-btn,
    .banner-controls .settings-selector-btn {
        background: #f3f4f6;
        color: #111827;
        border: 1px solid #e5e7eb;
    }
    .banner-controls .template-selector-btn i,
    .banner-controls .settings-selector-btn i,
    .banner-controls .language-selector-btn i {
        color: inherit;
    }
    .banner-controls .template-selector-btn:hover,
    .banner-controls .settings-selector-btn:hover,
    .banner-controls .language-selector-btn:hover {
        background: #e5e7eb;
        border-color: #d1d5db;
    }
    .banner-controls .theme-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .banner-controls .theme-btn {
        background: #f3f4f6;
        color: #111827;
        border-color: #e5e7eb;
    }
    .banner-controls .theme-btn:hover {
        background: #e5e7eb;
    }
}

.theme-toggle {
    display: inline-flex;
    gap: 6px;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}


/* UI tema sınıfları (önizlemeyi etkilemez) */

body.theme-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
}

body.theme-dark .container {
    background: #0b1320;
}

body.theme-dark .left-panel {
    background: #0f172a;
    border-right-color: #1f2937;
}


/* Sağ panel ve önizleme tema etkisi dışında kalsın */

body.theme-dark .panel-header {
    background: linear-gradient(135deg, #0f172a, #1f2937);
}

body.theme-dark .download-btn {
    background: linear-gradient(135deg, #1f2937, #334155);
}

body.theme-light {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

body.theme-light .container {
    background: #ffffff;
}

body.theme-light .left-panel {
    background: #f8f9fa;
    border-right-color: #e9ecef;
}


/* Sağ panel ve önizleme tema etkisi dışında kalsın */

body.theme-light .panel-header {
    background: linear-gradient(135deg, #1f2937, #374151);
}

body.theme-light .download-btn {
    background: linear-gradient(135deg, #334155, #64748b);
}

.brand-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    cursor: pointer;
}

.brand-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.dev-banner i {
    font-size: 1rem;
    opacity: 0.9;
}

.dev-banner span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
}


/* Dil Seçici Açılır Menü */

.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-selector-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-selector-btn i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.language-selector-btn.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    padding: 8px;
    min-width: 150px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1px;
    font-size: 0.85rem;
    color: #333333;
}

.language-dropdown-item:hover {
    background: rgba(102, 126, 234, 0.08);
    transform: translateX(3px);
}

.language-dropdown-item.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.language-dropdown-item .flag {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}


/* İndirme Modalı */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
}

.download-option {
    margin-bottom: 25px;
}

.download-option:last-child {
    margin-bottom: 0;
}

.download-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.download-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.format-options {
    display: flex;
    gap: 15px;
}

.format-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.format-option:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.format-option input[type="radio"] {
    margin: 0;
}

.format-option input[type="radio"]:checked+span {
    color: #667eea;
    font-weight: 600;
}

.format-option:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}


/* Şablon Seçici Açılır Menü */

.template-selector {
    position: relative;
    display: inline-block;
}

.template-selector-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.template-selector-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.template-selector-btn i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.template-selector-btn.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.template-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    padding: 8px;
    min-width: 180px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

.template-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.template-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1px;
    font-size: 0.85rem;
    color: #333333;
}

.template-dropdown-item:hover {
    background: rgba(102, 126, 234, 0.08);
    transform: translateX(3px);
}

.template-dropdown-item.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.template-preview-small {
    width: 30px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.template-preview-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    border-radius: 4px 4px 0 0;
}

.template-preview-small::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: #f8f9fa;
    border-radius: 0 0 4px 4px;
}


/* Şablon Önizleme Renkleri */

.modern-preview::before {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.classic-preview::before {
    background: #2c3e50;
}

.minimalist-preview::before {
    background: #667eea;
}

.creative-preview::before {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.corporate-preview::before {
    background: #1a365d;
}

.technical-preview::before {
    background: linear-gradient(90deg, #2d3748, #4a5568);
}

.artistic-preview::before {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
}

.academic-preview::before {
    background: #2c3e50;
}

.startup-preview::before {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.executive-preview::before {
    background: #1a202c;
}


/* Yeni şablon önizlemeleri */

.elegant-preview::before {
    background: linear-gradient(135deg, #1f2937, #3b82f6);
}

.corporateplus-preview::before {
    background: #1a365d;
}

.cleanlines-preview::before {
    background: #374151;
}

.bluebar-preview::before {
    background: #2563eb;
}

.sidebar-preview::before {
    background: #0f172a;
}

.twocolumn-preview::before {
    background: linear-gradient(90deg, #111827 0 50%, #374151 50% 100%);
}

.timelinepro-preview::before {
    background: #334155;
}

.swiss-preview::before {
    background: #111827;
}

.slate-preview::before {
    background: #0f172a;
}

.metro-preview::before {
    background: linear-gradient(135deg, #111827, #06b6d4);
}


/* Ayarlar Açılır Menü */

.settings-selector {
    position: relative;
    display: inline-block;
}

.settings-selector-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.settings-selector-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.settings-selector-btn i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.settings-selector-btn.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.settings-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    padding: 15px;
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

.settings-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-group {
    margin-bottom: 15px;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-container-small {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-container-small input[type="range"] {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.range-container-small input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.range-container-small input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.range-container-small span {
    font-weight: 500;
    color: #667eea;
    min-width: 35px;
    text-align: center;
    font-size: 0.8rem;
}

.color-input-container-small {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-input-container-small input[type="color"] {
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
}

.color-input-container-small input[type="text"] {
    flex: 1;
    font-family: monospace;
    font-size: 0.8rem;
    padding: 6px 8px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.quick-colors-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 8px;
}

.quick-color-btn-small {
    width: 100%;
    height: 30px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-color-btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.quick-color-btn-small:active {
    transform: scale(0.95);
}

.quick-color-btn-small::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-color-btn-small.selected::after {
    opacity: 1;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}


/* Mobil menü butonu ve overlay */

.mobile-menu-btn {
    display: none;
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 1100;
    background: #1f2937;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1090;
}


/* Mobil düzen kuralları - yeni blok */

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-panel,
    .right-panel {
        max-height: none;
    }
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* Sol panel çekmece */
    #leftPanel {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 85%;
        max-width: 360px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1110;
        overflow-y: auto;
        background: #f8f9fa;
    }
    #leftPanel.open {
        transform: translateX(0);
    }
    .mobile-overlay.show {
        display: block;
    }
    /* Drawer açıkken body scroll kilidi */
    body.lock-scroll {
        overflow: hidden;
        position: relative;
        height: 100vh;
    }
    /* Önizleme alanı sıkılaştırma ve sticky actions */
    .cv-preview {
        padding: 16px;
        overflow-x: hidden;
    }
    .panel-header h2 {
        font-size: 1.2rem;
    }
    .cv-template {
        box-shadow: none;
    }
    .cv-body {
        padding: 24px;
    }
    .mobile-actions {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 10px 16px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
        display: flex;
        gap: 10px;
    }
    /* Modal küçük ekran optimizasyonu */
    .modal-content {
        width: 96% !important;
        max-width: 96% !important;
        max-height: 90vh !important;
        margin: 0 2% !important;
        border-radius: 12px !important;
    }
    .modal-body {
        padding: 18px !important;
    }
    .modal-footer {
        padding: 14px 18px !important;
    }
}


/* Sol Panel - İşlem Paneli */

.left-panel {
    flex: 1;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    overflow-y: auto;
    max-height: 100vh;
    position: relative;
    padding-top: 50px;
    /* Banner için yer aç */
}

.panel-header {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.panel-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.panel-header i {
    margin-right: 10px;
}


/* Bölümler */

.section {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.section h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.section h3 i {
    margin-right: 8px;
    color: #667eea;
}


/* Fotoğraf Yükleme */

.photo-upload {
    text-align: center;
}

.photo-preview {
    width: 150px;
    height: 150px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.photo-preview:hover {
    border-color: #667eea;
    background: #e3f2fd;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.photo-preview i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.photo-preview span {
    color: #6c757d;
    font-size: 0.9rem;
}

.photo-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.radio-option input[type="radio"] {
    margin-right: 5px;
}


/* Form Elemanları */

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}


/* Ehliyet grid */

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.license-grid label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #ffffff;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.license-grid label:hover {
    border-color: #667eea;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.license-grid label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.license-grid label:has(input[type="checkbox"]:checked) {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}


/* Deneyim ve Eğitim Öğeleri */

.experience-item,
.education-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    position: relative;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.remove-btn:hover {
    background: #c82333;
}

.add-btn {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.add-btn:hover {
    background: #218838;
}

.add-btn i {
    margin-right: 5px;
}


/* Yetenekler */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skill-tag {
    background: #475569;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.skill-tag .remove-skill {
    cursor: pointer;
    font-weight: bold;
}

.skill-tag .remove-skill:hover {
    color: #ffc107;
}


/* İndirme Butonu */

.download-btn {
    width: 100%;
    background: linear-gradient(135deg, #334155 0%, #64748b 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.download-btn i {
    margin-right: 8px;
}


/* Sağ Panel - Önizleme Paneli */

.right-panel {
    flex: 1;
    background: white;
    overflow-y: auto;
    max-height: 100vh;
}

.cv-preview {
    padding: 30px;
    background: white;
    min-height: 100vh;
}


/* CV Önizleme Stilleri */

.cv-template {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}


/* Uzun metinlerin taşmasını önle (ekran ve PDF) */

.cv-template,
.cv-template * {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.cv-item-description a,
.cv-contact a,
.cv-item-dates a,
.cv-certificate-item a,
.cv-project-item a {
    word-break: break-all;
}

.cv-header {
    background: linear-gradient(135deg, var(--primary-color, #1f2937) 0%, var(--secondary-color, #334155) 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.cv-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cv-photo.square {
    border-radius: 8px;
}

.cv-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* PDF çıktısı için profil fotoğrafını büyüt */

.pdf-export .cv-photo {
    width: 180px !important;
    height: 180px !important;
}


/* PDF genişliğini sabitle ve kutu modelini güvenli yap */


/* PDF: genişliği scriptteki içerik genişliğine bırak; sadece kutu modeli güvenli kalsın */

.pdf-export .cv-template,
.pdf-export .cv-header,
.pdf-export .cv-body {
    box-sizing: border-box;
}


/* PDF düzeni için sıkı boşluklar ve hizalama */

.pdf-export .cv-body {
    padding: 24px !important;
}

.pdf-export .cv-section {
    margin-bottom: 18px !important;
}

.pdf-export .cv-section:last-child {
    margin-bottom: 0 !important;
}

.pdf-export .cv-item-header {
    margin-bottom: 6px !important;
}

.pdf-export .cv-experience-item,
.pdf-export .cv-education-item,
.pdf-export .cv-certificate-item,
.pdf-export .cv-project-item {
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
}

.pdf-export .cv-experience-item:last-child,
.pdf-export .cv-education-item:last-child,
.pdf-export .cv-certificate-item:last-child,
.pdf-export .cv-project-item:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.pdf-export .cv-contact {
    justify-content: flex-start !important;
    gap: 12px !important;
}

.pdf-export .cv-name {
    line-height: 1.2 !important;
}

.pdf-export .cv-title {
    line-height: 1.2 !important;
}

.pdf-export .cv-summary,
.pdf-export .cv-item-description,
.pdf-export .cv-item-company,
.pdf-export .cv-item-dates {
    line-height: 1.35 !important;
}


/* Minimalist şablonda PDF'te daha dengeli bir boyut kullan */

.pdf-export .template-minimalist .cv-photo {
    width: 140px !important;
    height: 140px !important;
}

.cv-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cv-title {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cv-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}


/* PDF ve ekran için metinlerin güvenli sarmalanması ve taşma önleme */

.cv-contact {
    justify-content: flex-start;
}

.cv-contact-item {
    min-width: 0;
    max-width: 100%;
}

.cv-contact-item,
.cv-item-title,
.cv-item-company,
.cv-item-description,
.cv-summary {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.cv-item-header {
    gap: 12px;
}

.cv-item-header>div:first-child {
    min-width: 0;
}

.cv-item-dates {
    flex: 0 0 auto;
}

.cv-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-contact-item i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.cv-body {
    padding: 40px;
}

.cv-section {
    margin-bottom: 30px;
}

.cv-section h3 {
    color: var(--primary-color, #1f2937);
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color, #1f2937);
    display: flex;
    align-items: center;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.cv-section h3 i {
    margin-right: 10px;
    width: 22px;
    text-align: center;
    color: var(--primary-color, #667eea);
}


/* Başlıkta (header) iletişim ikonları metin rengine uyumlu olsun */

.cv-header .cv-contact-item i {
    color: currentColor;
    opacity: 0.9;
}

.cv-summary {
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

.cv-experience-item,
.cv-education-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}


/* PDF için HTML modunda da kırılmaları önle */

.cv-section,
.cv-experience-item,
.cv-education-item,
.cv-certificate-item,
.cv-project-item {
    break-inside: avoid;
}

.cv-experience-item:last-child,
.cv-education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.cv-item-title {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.cv-item-company {
    color: #667eea;
    font-weight: 500;
}

.cv-item-dates {
    color: #666;
    font-size: 0.9rem;
}

.cv-item-description {
    color: #555;
    line-height: 1.5;
    margin-top: 8px;
}

.cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cv-skill {
    background: #f8f9fa;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
}


/* Responsive Tasarım */

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-panel,
    .right-panel {
        max-height: none;
    }
    .right-panel {
        width: 100%;
        overflow-x: hidden;
    }
    .cv-preview {
        padding: 12px;
        overflow-x: hidden;
    }
    .cv-template {
        max-width: 100%;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }
    .cv-header {
        padding: 24px;
    }
    .cv-photo {
        width: 90px;
        height: 90px;
        border-width: 3px;
    }
    .cv-name {
        font-size: 1.8rem;
    }
    .cv-title {
        font-size: 1rem;
    }
    .cv-contact {
        flex-direction: column;
        gap: 10px;
    }
    .cv-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-row {
        flex-direction: column;
    }
}


/* Fotoğraf Şekil Değişiklikleri */

.cv-photo.circle {
    border-radius: 50%;
}

.cv-photo.square {
    border-radius: 8px;
}


/* Şablon Galerisi */

.template-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.template-item {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.template-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.template-item.selected {
    border-color: #667eea;
    background: #f8f9ff;
}

.template-preview {
    width: 100%;
    height: 120px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-preview-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
}

.preview-header {
    height: 40%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.preview-body {
    height: 60%;
    padding: 8px;
    background: white;
}

.preview-line {
    height: 3px;
    background: #e9ecef;
    margin-bottom: 4px;
    border-radius: 2px;
}

.preview-line.short {
    width: 60%;
}


/* Şablon önizleme stilleri */

.template-modern .preview-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.template-classic .preview-header {
    background: #2c3e50;
    border-left: 3px solid #e74c3c;
}

.template-minimalist .preview-header {
    background: white;
    border-bottom: 2px solid #667eea;
}

.template-creative .preview-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.template-corporate .preview-header {
    background: #1a365d;
}

.template-technical .preview-header {
    background: linear-gradient(90deg, #2d3748 0%, #4a5568 100%);
}

.template-technical .preview-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
}

.template-artistic .preview-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.template-academic .preview-header {
    background: #2c3e50;
    border-bottom: 2px solid #3498db;
}

.template-startup .preview-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.template-executive .preview-header {
    background: #1a202c;
}

.template-name {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: #495057;
}

.template-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}


/* Gelişmiş Ayarlar */

.range-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-container input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.range-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.range-container span {
    font-weight: 500;
    color: #667eea;
    min-width: 40px;
    text-align: center;
}

.color-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-input-container input[type="color"] {
    width: 50px;
    height: 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 0;
}

.color-input-container input[type="text"] {
    flex: 1;
    font-family: monospace;
    font-size: 0.9rem;
}

.quick-colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.quick-color-btn {
    width: 100%;
    height: 40px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-color-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.quick-color-btn:active {
    transform: scale(0.95);
}

.quick-color-btn::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-color-btn.selected::after {
    opacity: 1;
}


/* CV Şablon Stilleri */

.cv-template {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: var(--font-size, 14px);
}


/* Yeni 10 şablon */

.template-elegant .cv-header {
    background: linear-gradient(135deg, #1f2937, #3b82f6);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    color: #fff;
}

.template-elegant .cv-photo {
    width: 120px;
    height: 120px;
    border: 4px solid #fff;
}

.template-elegant .cv-title {
    opacity: 0.95;
}

.template-elegant .cv-section h3 {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.template-corporateplus .cv-header {
    background: #1a365d;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    color: #fff;
}

.template-corporateplus .cv-photo {
    width: 110px;
    height: 110px;
    border: 3px solid #fff;
}

.template-corporateplus .cv-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 24px;
}

.template-corporateplus .cv-section h3 {
    background: #1a365d;
    color: #fff;
    border: none;
    padding: 12px 16px;
    margin: 0;
}

.template-corporateplus .cv-section>div {
    padding: 16px;
}

.template-cleanlines .cv-header {
    background: #fff;
    color: #111827;
    border-bottom: 4px solid #3b82f6;
    padding: 28px;
}

.template-cleanlines .cv-title {
    color: #374151;
}

.template-cleanlines .cv-section h3 {
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
}

.template-bluebar .cv-header {
    background: #111827;
    color: #fff;
    padding: 28px;
    border-bottom: 6px solid #2563eb;
}

.template-bluebar .cv-section h3 {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.template-sidebar .cv-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.template-sidebar .cv-aside {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.template-sidebar .cv-main {
    min-width: 0;
}

.template-sidebar .cv-header {
    background: #0f172a;
    color: #fff;
    padding: 28px;
}

.template-sidebar .cv-section h3 {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}

.template-twocolumn .cv-body {
    columns: 2;
    column-gap: 32px;
}

.template-twocolumn .cv-section {
    break-inside: avoid;
}

.template-twocolumn .cv-header {
    background: #111827;
    color: #fff;
    padding: 28px;
}

.template-timelinepro .cv-header {
    background: #334155;
    color: #fff;
    padding: 26px;
}

.template-timelinepro .cv-experience-item {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid #3b82f6;
}

.template-timelinepro .cv-experience-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2px;
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border-radius: 50%;
}

.template-timelinepro .cv-section h3 {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.template-swiss .cv-header {
    background: #111827;
    color: #fff;
    padding: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.template-swiss .cv-section h3 {
    color: #111827;
    border-bottom-color: #111827;
}

.template-slate .cv-header {
    background: #0f172a;
    color: #fff;
    padding: 30px;
}

.template-slate .cv-section h3 {
    color: #475569;
    border-bottom-color: #475569;
}

.template-metro .cv-header {
    background: linear-gradient(135deg, #111827, #06b6d4);
    color: #fff;
    padding: 30px;
}

.template-metro .cv-section h3 {
    color: #06b6d4;
    border-bottom-color: #06b6d4;
}


/* Genel CV Body Stilleri */

.cv-body {
    padding: 40px;
    background: var(--background-color, #ffffff);
    color: var(--text-color, #333);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.cv-section {
    margin-bottom: 30px;
}

.cv-section h3 {
    color: var(--primary-color, #667eea);
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color, #667eea);
    display: flex;
    align-items: center;
}

.cv-section h3 i {
    margin-right: 10px;
}

.cv-summary {
    line-height: 1.6;
    color: var(--text-color, #555);
    font-size: 1rem;
}

.cv-experience-item,
.cv-education-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cv-experience-item:last-child,
.cv-education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.cv-item-title {
    font-weight: 600;
    color: var(--text-color, #333);
    font-size: 1.1rem;
}

.cv-item-company {
    color: var(--primary-color, #667eea);
    font-weight: 500;
}

.cv-item-dates {
    color: #666;
    font-size: 0.9rem;
}

.cv-item-description {
    color: var(--text-color, #555);
    line-height: 1.5;
    margin-top: 8px;
}

.cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cv-skill {
    background: #f8f9fa;
    color: var(--primary-color, #667eea);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
}


/* Diller */

.cv-languages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.cv-language {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-language-name {
    min-width: 120px;
    font-weight: 600;
}

.cv-language-bar {
    flex: 1;
    height: 8px;
    background: #eef2ff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.cv-language-bar>div {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}


/* Sertifika/Proje kutuları */

.cv-certificate-item,
.cv-project-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}


/* Form öğeleri için yeni item stilleri */

.language-item,
.certificate-item,
.project-item,
.reference-item,
.award-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    position: relative;
}


/* PDF page-break destek stilleri */


/* HTML2PDF ile fazla sayfa kırılmasını önlemek için yumuşat */

.cv-section {
    page-break-inside: avoid;
    break-inside: avoid;
}


/* PDF/Print özel düzeltmeler */

@media print {
    html,
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .cv-template {
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    /* PDF/Print'te arka planlar beyaz ve sade kalsın */
    .cv-template,
    .cv-body,
    .cv-preview,
    .container,
    .right-panel,
    .left-panel {
        background: #ffffff !important;
    }
    .cv-header {
        background: linear-gradient(135deg, #ffffff, #ffffff) !important;
        color: #111 !important;
        border-bottom: 2px solid #eee !important;
    }
    .cv-section h3 {
        color: #111 !important;
        border-bottom-color: #ddd !important;
    }
    .cv-header,
    .cv-section h3,
    .cv-skill,
    .cv-language-bar>div {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .cv-section {
        page-break-inside: avoid;
    }
    .cv-section h3,
    .cv-item-header,
    .cv-certificate-item,
    .cv-project-item {
        break-inside: avoid;
    }
}


/* Şablon 1: Modern - Grid Layout */

.template-modern .cv-header {
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--secondary-color, #764ba2) 100%);
    padding: 40px;
    text-align: center;
    position: relative;
}

.template-modern .cv-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.template-modern .cv-photo.square {
    border-radius: 8px;
}

.template-modern .cv-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.template-modern .cv-section {
    margin-bottom: 25px;
}

.template-modern .cv-section h3 {
    color: var(--primary-color, #667eea);
    border: none;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.template-modern .cv-experience-item,
.template-modern .cv-education-item {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #667eea);
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.template-modern .cv-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.template-modern .cv-skill {
    background: linear-gradient(135deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    color: white;
    text-align: center;
    font-weight: 500;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}


/* Şablon 2: Klasik - Timeline Layout */

.template-classic .cv-header {
    background: var(--primary-color, #2c3e50);
    color: white;
    padding: 30px;
    border-left: 5px solid var(--secondary-color, #e74c3c);
}

.template-classic .cv-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    float: right;
    margin-left: 20px;
}

.template-classic .cv-photo.square {
    border-radius: 4px;
}

.template-classic .cv-body {
    padding: 30px;
    background: #f8f9fa;
}

.template-classic .cv-section h3 {
    color: var(--primary-color, #2c3e50);
    border-bottom: 3px solid var(--secondary-color, #e74c3c);
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.template-classic .cv-experience-item,
.template-classic .cv-education-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
    border-left: 2px solid var(--primary-color, #2c3e50);
}

.template-classic .cv-experience-item::before,
.template-classic .cv-education-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--secondary-color, #e74c3c);
    border-radius: 50%;
}

.template-classic .cv-item-header {
    margin-bottom: 10px;
}

.template-classic .cv-item-title {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: var(--primary-color, #2c3e50);
}

.template-classic .cv-item-company {
    color: var(--secondary-color, #e74c3c);
    font-style: italic;
}

.template-classic .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.template-classic .cv-skill {
    background: var(--primary-color, #2c3e50);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    border: none;
}


/* Şablon 3: Minimalist - Clean Layout */

.template-minimalist .cv-header {
    background: white;
    color: var(--text-color, #333);
    padding: 30px;
    border-bottom: 3px solid var(--primary-color, #667eea);
}

.template-minimalist .cv-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color, #667eea);
    float: right;
}

.template-minimalist .cv-photo.square {
    border-radius: 4px;
}

.template-minimalist .cv-body {
    padding: 30px;
    background: white;
}

.template-minimalist .cv-section h3 {
    color: var(--primary-color, #667eea);
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 300;
    font-size: 1.2rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.template-minimalist .cv-experience-item,
.template-minimalist .cv-education-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.template-minimalist .cv-item-header {
    margin-bottom: 8px;
}

.template-minimalist .cv-item-title {
    font-weight: 400;
    color: var(--text-color, #333);
    font-size: 1rem;
}

.template-minimalist .cv-item-company {
    color: var(--primary-color, #667eea);
    font-weight: 300;
    font-size: 0.9rem;
}

.template-minimalist .cv-item-dates {
    color: #999;
    font-size: 0.8rem;
    font-weight: 300;
}

.template-minimalist .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.template-minimalist .cv-skill {
    background: transparent;
    color: var(--primary-color, #667eea);
    padding: 4px 0;
    border: none;
    border-bottom: 1px solid var(--primary-color, #667eea);
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 300;
}


/* Şablon 4: Kreatif - Asymmetric Layout */

.template-creative .cv-header {
    background: linear-gradient(45deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.template-creative .cv-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.template-creative .cv-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.template-creative .cv-photo.square {
    border-radius: 8px;
}

.template-creative .cv-body {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.template-creative .cv-section {
    margin-bottom: 35px;
    position: relative;
}

.template-creative .cv-section h3 {
    background: linear-gradient(45deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
}

.template-creative .cv-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color, #667eea);
    border-radius: 2px;
}

.template-creative .cv-experience-item,
.template-creative .cv-education-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    border-left: 5px solid var(--primary-color, #667eea);
    position: relative;
    transform: skewX(-2deg);
}

.template-creative .cv-experience-item::before,
.template-creative .cv-education-item::before {
    content: '◆';
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--secondary-color, #764ba2);
    font-size: 1.2rem;
}

.template-creative .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.template-creative .cv-skill {
    background: linear-gradient(45deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.template-creative .cv-skill:nth-child(even) {
    transform: rotate(1deg);
}


/* Şablon 5: Kurumsal - Professional Layout */

.template-corporate .cv-header {
    background: var(--primary-color, #1a365d);
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.template-corporate .cv-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    flex-shrink: 0;
}

.template-corporate .cv-photo.square {
    border-radius: 4px;
}

.template-corporate .cv-header-content {
    flex: 1;
}

.template-corporate .cv-body {
    padding: 35px;
    background: #ffffff;
}

.template-corporate .cv-section {
    margin-bottom: 30px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.template-corporate .cv-section h3 {
    background: var(--primary-color, #1a365d);
    color: white;
    margin: 0;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.template-corporate .cv-section>div {
    padding: 20px;
}

.template-corporate .cv-experience-item,
.template-corporate .cv-education-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color, #1a365d);
}

.template-corporate .cv-item-header {
    margin-bottom: 10px;
}

.template-corporate .cv-item-title {
    color: var(--primary-color, #1a365d);
    font-weight: 600;
    font-size: 1.1rem;
}

.template-corporate .cv-item-company {
    color: #666;
    font-weight: 500;
}

.template-corporate .cv-item-dates {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.template-corporate .cv-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

.template-corporate .cv-skill {
    background: var(--primary-color, #1a365d);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    border: none;
    font-size: 0.9rem;
}


/* Şablon 6: Teknik - Code-inspired Layout */

.template-technical .cv-header {
    background: linear-gradient(90deg, var(--primary-color, #2d3748) 0%, var(--secondary-color, #4a5568) 100%);
    color: white;
    padding: 30px;
    position: relative;
    font-family: 'Courier New', monospace;
}

.template-technical .cv-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
}

.template-technical .cv-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
    float: right;
}

.template-technical .cv-photo.square {
    border-radius: 4px;
}

.template-technical .cv-body {
    padding: 30px;
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
}

.template-technical .cv-section h3 {
    color: #00d4ff;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.template-technical .cv-section h3::before {
    content: '// ';
    color: #00ff88;
}

.template-technical .cv-experience-item,
.template-technical .cv-education-item {
    background: #2d2d2d;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    border-left: 3px solid #00d4ff;
    position: relative;
}

.template-technical .cv-experience-item::before,
.template-technical .cv-education-item::before {
    content: '> ';
    position: absolute;
    left: 10px;
    top: 20px;
    color: #00ff88;
    font-weight: bold;
}

.template-technical .cv-item-header {
    margin-bottom: 8px;
    margin-left: 20px;
}

.template-technical .cv-item-title {
    color: #00d4ff;
    font-weight: bold;
    font-size: 1rem;
}

.template-technical .cv-item-company {
    color: #00ff88;
    font-weight: normal;
}

.template-technical .cv-item-dates {
    color: #888;
    font-size: 0.8rem;
}

.template-technical .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.template-technical .cv-skill {
    background: #00d4ff;
    color: #1a1a1a;
    padding: 6px 12px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.8rem;
    border: none;
    font-family: 'Courier New', monospace;
}


/* Şablon 7: Sanat - Creative Layout */

.template-artistic .cv-header {
    background: linear-gradient(135deg, var(--primary-color, #ff6b6b) 0%, var(--secondary-color, #feca57) 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.template-artistic .cv-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.template-artistic .cv-photo.square {
    border-radius: 12px;
}

.template-artistic .cv-body {
    padding: 40px;
    background: linear-gradient(45deg, #fff5f5 0%, #fffbf0 100%);
}

.template-artistic .cv-section {
    margin-bottom: 35px;
    position: relative;
}

.template-artistic .cv-section h3 {
    background: linear-gradient(45deg, var(--primary-color, #ff6b6b), var(--secondary-color, #feca57));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
}

.template-artistic .cv-section h3::after {
    content: '';
}

.template-artistic .cv-experience-item,
.template-artistic .cv-education-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.template-artistic .cv-experience-item::before,
.template-artistic .cv-education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color, #ff6b6b), var(--secondary-color, #feca57));
    z-index: -1;
    margin: -2px;
    border-radius: 20px;
}

.template-artistic .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.template-artistic .cv-skill {
    background: linear-gradient(45deg, var(--primary-color, #ff6b6b), var(--secondary-color, #feca57));
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.template-artistic .cv-skill:nth-child(2n) {
    transform: rotate(2deg);
}

.template-artistic .cv-skill:nth-child(3n) {
    transform: rotate(-1deg);
}


/* Şablon 8: Akademik - Academic Layout */

.template-academic .cv-header {
    background: var(--primary-color, #2c3e50);
    color: white;
    padding: 30px;
    border-bottom: 5px solid var(--secondary-color, #3498db);
}

.template-academic .cv-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid white;
    float: right;
}

.template-academic .cv-photo.square {
    border-radius: 4px;
}

.template-academic .cv-body {
    padding: 35px;
    background: #ffffff;
    font-family: 'Times New Roman', serif;
}

.template-academic .cv-section h3 {
    color: var(--primary-color, #2c3e50);
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.template-academic .cv-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--secondary-color, #3498db);
}

.template-academic .cv-experience-item,
.template-academic .cv-education-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--secondary-color, #3498db);
    border-radius: 0 8px 8px 0;
}

.template-academic .cv-item-header {
    margin-bottom: 10px;
}

.template-academic .cv-item-title {
    color: var(--primary-color, #2c3e50);
    font-weight: bold;
    font-size: 1.1rem;
    font-style: italic;
}

.template-academic .cv-item-company {
    color: var(--secondary-color, #3498db);
    font-weight: 600;
}

.template-academic .cv-item-dates {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.template-academic .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.template-academic .cv-skill {
    background: var(--secondary-color, #3498db);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
    border: none;
    font-size: 0.9rem;
}


/* Şablon 9: Startup - Dynamic Layout */

.template-startup .cv-header {
    background: linear-gradient(45deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    color: white;
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.template-startup .cv-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.template-startup .cv-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.template-startup .cv-photo.square {
    border-radius: 8px;
}

.template-startup .cv-body {
    padding: 40px;
    background: #f8f9ff;
}

.template-startup .cv-section {
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    border: 1px solid #e8f0fe;
}

.template-startup .cv-section h3 {
    color: var(--primary-color, #667eea);
    border: none;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.template-startup .cv-section h3::before {
    content: '';
}

.template-startup .cv-experience-item,
.template-startup .cv-education-item {
    background: #f8f9ff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color, #667eea);
    position: relative;
}

.template-startup .cv-experience-item::after,
.template-startup .cv-education-item::after {
    content: '🚀';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
}

.template-startup .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.template-startup .cv-skill {
    background: linear-gradient(45deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    border: none;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.template-startup .cv-skill:hover {
    transform: translateY(-2px);
}


/* Şablon 10: Executive - Luxury Layout */

.template-executive .cv-header {
    background: var(--primary-color, #1a202c);
    color: white;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.template-executive .cv-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--secondary-color, #667eea));
    opacity: 0.1;
}

.template-executive .cv-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.template-executive .cv-photo.square {
    border-radius: 8px;
}

.template-executive .cv-body {
    padding: 40px;
    background: #ffffff;
}

.template-executive .cv-section {
    margin-bottom: 35px;
    position: relative;
}

.template-executive .cv-section h3 {
    color: var(--primary-color, #1a202c);
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.template-executive .cv-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #1a202c), var(--secondary-color, #667eea));
}

.template-executive .cv-experience-item,
.template-executive .cv-education-item {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color, #1a202c);
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.template-executive .cv-experience-item::before,
.template-executive .cv-education-item::before {
    content: '▸';
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--secondary-color, #667eea);
    font-size: 1.5rem;
    font-weight: bold;
}

.template-executive .cv-item-header {
    margin-bottom: 12px;
}

.template-executive .cv-item-title {
    color: var(--primary-color, #1a202c);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.template-executive .cv-item-company {
    color: var(--secondary-color, #667eea);
    font-weight: 600;
    font-size: 1rem;
}

.template-executive .cv-item-dates {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.template-executive .cv-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.template-executive .cv-skill {
    background: linear-gradient(135deg, var(--primary-color, #1a202c), var(--secondary-color, #667eea));
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    border: none;
    box-shadow: 0 3px 10px rgba(26, 32, 44, 0.3);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Renk Şemaları */

.color-blue .cv-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.color-green .cv-header {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.color-purple .cv-header {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.color-red .cv-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.color-blue .cv-section h3 {
    color: #667eea;
    border-bottom-color: #667eea;
}

.color-green .cv-section h3 {
    color: #56ab2f;
    border-bottom-color: #56ab2f;
}

.color-purple .cv-section h3 {
    color: #a8edea;
    border-bottom-color: #a8edea;
}

.color-red .cv-section h3 {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
}