/**
 * Motor Teklif Pro - Frontend CSS
 */

/* Genel Container */
.motor-teklif-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: #333;
}

.motor-teklif-title {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.motor-teklif-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Form Container */
.motor-teklif-form {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.motor-teklif-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.step-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.step-item.completed .step-number {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.step-label {
    margin-left: 10px;
    font-weight: 600;
    color: #6c757d;
    transition: color 0.3s ease;
}

.step-item.active .step-label {
    color: #667eea;
}

.step-item.completed .step-label {
    color: #28a745;
}

/* SVG Section */
.motor-svg-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.motor-svg-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

/* Dual SVG Container */
.svg-dual-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin: 20px 0;
}

.svg-side-container {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.svg-side-container:hover {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.svg-side-container h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.svg-container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
}

.motor-svg-viewer {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.motor-svg {
    width: 100%;
    height: auto;
    max-height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.motor-svg:hover {
    transform: scale(1.02);
}

/* SVG Parça Stilleri - Beyaz motor */
.motor-svg-viewer svg {
    background: #ffffff;
}

.motor-svg-viewer svg path,
.motor-svg-viewer svg circle,
.motor-svg-viewer svg rect,
.motor-svg-viewer svg polygon {
    fill: #ffffff;
    stroke: #333333;
    stroke-width: 1;
    transition: all 0.3s ease;
}

/* Seçilebilir parçalar - belirgin vurgulama */
.motor-part {
    cursor: pointer !important;
    transition: all 0.3s ease;
    stroke: #007bff !important;
    stroke-width: 3 !important;
    fill: rgba(255, 255, 255, 0.95) !important;
    filter: drop-shadow(0 1px 3px rgba(0, 123, 255, 0.2));
}

.motor-part:hover,
.svg-part-hover {
    stroke: #0056b3 !important;
    stroke-width: 4 !important;
    fill: rgba(0, 123, 255, 0.1) !important;
    filter: drop-shadow(0 0 8px rgba(0, 123, 255, 0.6));
}

/* Seçilen parçalar */
.motor-part.part-selected {
    stroke: #28a745 !important;
    stroke-width: 4 !important;
    fill: rgba(40, 167, 69, 0.3) !important;
    filter: drop-shadow(0 0 6px rgba(40, 167, 69, 0.4));
}

/* Hasar seviyelerine göre renkler - direkt renk değişimi */
.motor-part.part-damaged-light {
    fill: #ffc107 !important;
    stroke: #e0a800 !important;
    stroke-width: 4 !important;
    filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.5));
    animation: pulseLight 2s infinite !important;
}

.motor-part.part-damaged-medium {
    fill: #fd7e14 !important;
    stroke: #e8690b !important;
    stroke-width: 4 !important;
    filter: drop-shadow(0 0 4px rgba(253, 126, 20, 0.5));
    animation: pulseMedium 2s infinite !important;
}

.motor-part.part-damaged-heavy {
    fill: #dc3545 !important;
    stroke: #c82333 !important;
    stroke-width: 5 !important;
    filter: drop-shadow(0 0 6px rgba(220, 53, 69, 0.6));
    animation: pulseHeavy 2s infinite !important;
}

/* Pulse animasyonları için class'lar */
.part-damaged-light {
    animation: pulseLight 2s infinite !important;
}

.part-damaged-medium {
    animation: pulseMedium 2s infinite !important;
}

.part-damaged-heavy {
    animation: pulseHeavy 2s infinite !important;
}

/* Pulse animasyonları - sadece parıldama, hareket yok */
@keyframes pulseLight {
    0%, 100% { 
        filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.6)) !important;
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(255, 193, 7, 1)) !important;
    }
}

@keyframes pulseMedium {
    0%, 100% { 
        filter: drop-shadow(0 0 6px rgba(253, 126, 20, 0.6)) !important;
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(253, 126, 20, 1)) !important;
    }
}

@keyframes pulseHeavy {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(220, 53, 69, 0.6)) !important;
    }
    50% { 
        filter: drop-shadow(0 0 16px rgba(220, 53, 69, 1)) !important;
    }
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .svg-dual-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .svg-side-container {
        padding: 12px;
    }
    
    .motor-svg-viewer {
        min-height: 200px;
    }
    
    .motor-svg {
        max-height: 250px;
    }
}

/* SVG Parça Stilleri */
.motor-part {
    cursor: pointer;
    transition: all 0.3s ease;
    stroke-width: 2;
}

.motor-part:hover {
    filter: brightness(1.2);
    stroke: #667eea;
    stroke-width: 3;
}

.motor-part.selected {
    fill: #667eea !important;
    stroke: #764ba2;
    stroke-width: 3;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

.motor-part.damaged {
    fill: #dc3545 !important;
    stroke: #c82333;
    animation: pulse 2s infinite;
}

/* Gelişmiş Tooltip */
.motor-tooltip {
    position: absolute;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 150px;
}

.motor-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.motor-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}

.tooltip-header {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 7px 7px 0 0;
    font-weight: 600;
    font-size: 14px;
}

.tooltip-body {
    padding: 6px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Seçili Parçalar */
.selected-parts {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.selected-parts.has-parts {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.selected-parts h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
}

.parts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.part-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.part-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.part-tag .remove-part {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.3s ease;
}

.part-tag .remove-part:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Parça Seçim Listesi */
.parts-selection {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.parts-selection h4 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.part-option {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.part-option:hover {
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.part-option.selected {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.part-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.part-icon {
    font-size: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.part-info {
    flex: 1;
}

.part-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 2px;
}

.part-info small {
    color: #6c757d;
    font-size: 11px;
    font-style: italic;
}

.damage-status {
    margin-top: 10px;
}

.damage-options {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.damage-option {
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-align: center;
    min-width: 45px;
}

.damage-option.light {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.damage-option.medium {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.damage-option.heavy {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.damage-option:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.damage-option.selected {
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.damage-option.light.selected {
    background-color: #ffc107;
    color: #212529;
}

.damage-option.medium.selected {
    background-color: #fd7e14;
    color: #ffffff;
}

.damage-option.heavy.selected {
    background-color: #dc3545;
    color: #ffffff;
}

/* Seçilen Parçalar */
.selected-parts {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.selected-parts h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.parts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.part-tag {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.part-tag:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.part-tag .part-name {
    margin-right: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.part-tag .damage-level {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    margin-right: 8px;
    text-transform: uppercase;
}

.part-tag .remove-part {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.part-tag .remove-part:hover {
    background: #c82333;
    transform: scale(1.1);
}

.no-parts {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
    margin: 0;
}

/* SVG Parça Stilleri */
#motor-svg-viewer svg .part-selected {
    fill: #28a745 !important;
    stroke: #1e7e34 !important;
    stroke-width: 2 !important;
    filter: drop-shadow(0 0 5px rgba(40, 167, 69, 0.5));
}

#motor-svg-viewer svg .part-damaged-light {
    fill: #ffc107 !important;
    stroke: #e0a800 !important;
}

#motor-svg-viewer svg .part-damaged-medium {
    fill: #fd7e14 !important;
    stroke: #e8690b !important;
}

#motor-svg-viewer svg .part-damaged-heavy {
    fill: #dc3545 !important;
    stroke: #c82333 !important;
}

/* Form Fields */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.form-group label .required {
    color: #dc3545;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    animation: slideDown 0.3s ease;
}

.error-message.show {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SMS Verification */
.sms-verification {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid #bbdefb;
}

.sms-verification h4 {
    margin: 0 0 15px 0;
    color: #1976d2;
    font-size: 1.1rem;
}

.verification-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.verification-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.verification-digit:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.resend-sms {
    background: none;
    border: none;
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.resend-sms:hover {
    color: #764ba2;
}

.resend-sms:disabled {
    color: #6c757d;
    cursor: not-allowed;
    text-decoration: none;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Button Groups */
.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-color: #ffeaa7;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border-color: #bee5eb;
    color: #0c5460;
}

/* Responsive Design */
@media (max-width: 768px) {
    .motor-teklif-container {
        padding: 15px;
        margin: 10px;
    }
    
    .motor-teklif-form {
        padding: 20px;
    }
    
    .motor-teklif-title {
        font-size: 2rem;
    }
    
    .step-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step-item {
        margin: 5px;
    }
    
    .step-label {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .parts-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .verification-input {
        gap: 5px;
    }
    
    .verification-digit {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .part-option {
        padding: 12px;
    }
    
    .damage-options {
        justify-content: center;
    }
    
    .damage-option {
        min-width: 40px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .parts-list {
        justify-content: center;
    }
    
    .part-tag {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .motor-teklif-title {
        font-size: 1.5rem;
    }
    
    .motor-teklif-subtitle {
        font-size: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .parts-grid {
        grid-template-columns: 1fr;
    }
    
    .part-option {
        padding: 10px;
    }
}

/* Print Styles */
@media print {
    .motor-teklif-container {
        background: none;
        box-shadow: none;
        color: #000;
    }
    
    .btn, .step-navigation, .motor-svg-section {
        display: none;
    }
    
    .motor-teklif-form {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* SVG Placeholder */
.svg-placeholder {
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
}

.svg-placeholder p {
    margin: 10px 0;
}

.svg-placeholder p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
}

/* SVG Error */
.svg-error {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #f5c6cb;
    border-radius: 15px;
    color: #721c24;
    font-size: 16px;
    line-height: 1.6;
}

.svg-error p {
    margin: 10px 0;
}

.svg-error p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #721c24;
}

/* Loading Animation */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    font-size: 16px;
    color: #667eea;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hasar Durumu Seçim Modalı */
.damage-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.damage-modal {
    background: #fff;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.damage-modal-header {
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.damage-modal-header h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.damage-modal-header p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.damage-modal-body {
    padding: 25px;
}

.damage-modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.damage-modal-btn {
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.damage-modal-btn:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.damage-modal-btn.light:hover {
    border-color: #ffc107;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.25);
}

.damage-modal-btn.medium:hover {
    border-color: #fd7e14;
    box-shadow: 0 5px 20px rgba(253, 126, 20, 0.25);
}

.damage-modal-btn.heavy:hover {
    border-color: #dc3545;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.25);
}

.damage-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
}

.damage-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 4px;
}

.damage-desc {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

.damage-modal-footer {
    padding: 15px 25px 25px;
    display: flex;
    justify-content: center;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .damage-modal {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .damage-modal-options {
        gap: 12px;
    }
    
    .damage-modal-btn {
        padding: 15px;
        gap: 12px;
    }
    
    .damage-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .damage-name {
        font-size: 15px;
    }
    
    .damage-desc {
        font-size: 12px;
    }
}

/* Eylem Seçim Modalı */
.action-modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-modal-btn {
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.action-modal-btn:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.action-modal-btn.change-damage:hover {
    border-color: #28a745;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.25);
}

.action-modal-btn.remove-part-action:hover {
    border-color: #dc3545;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.25);
}

.action-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
}

.action-info {
    flex: 1;
}

.action-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 4px;
    display: block;
}

.action-desc {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

.damage-modal-btn.current-damage {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.current-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2196f3;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.damage-modal-btn {
    position: relative;
}

/* Tıklanabilir parçalar */
.clickable-part {
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.clickable-part:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.action-hint {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    margin-left: 8px;
    opacity: 0.7;
}

.clickable-part:hover .action-hint {
    opacity: 1;
}

/* Part option'lar için hover efekti */
.part-option {
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.part-option:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

/* Hasarlı parça yok checkbox'ı */
.no-damage-section {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.checkbox-no-damage {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #155724;
}

.checkbox-no-damage input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #28a745;
    cursor: pointer;
}

.checkbox-no-damage:hover {
    color: #0d4419;
}

.no-damage-section p {
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/* Parça seçimi devre dışı durumu */
.parts-selection.disabled,
.motor-svg-section.disabled {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

/* Yeni form alanları stilleri */

/* Radio button gruppları */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px 8px 30px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    min-width: 80px;
    justify-content: center;
}

.radio-option:hover {
    border-color: #667eea;
    box-shadow: 0 2px 5px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-mark {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-option:hover .radio-mark {
    border-color: #667eea;
}

.radio-option input[type="radio"]:checked + .radio-mark {
    background-color: #667eea;
    border-color: #667eea;
}

.radio-option input[type="radio"]:checked + .radio-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.radio-option input[type="radio"]:checked + .radio-mark + .radio-text {
    color: #667eea;
    font-weight: 600;
}

.radio-text {
    transition: all 0.3s ease;
    margin-left: 15px;
}

/* Fotoğraf yükleme container - yan yana layout */
.photo-upload-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Dosya yükleme alanı - sol tarafta dar */
.file-upload-area {
    flex: 0 0 200px;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    background: #fafbfc;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Yüklenen dosyalar container - sağ tarafta */
.uploaded-photos-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 140px;
    position: relative;
}

.uploaded-photos-header {
    display: none;
}

.btn-clear-all-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none !important;
    background: rgba(220, 53, 69, 0.9);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: white;
    font-size: 11px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 600;
    align-items: center;
    gap: 4px;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-clear-all-icon:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.05);
}

.btn-clear-all-icon.show {
    display: inline-flex !important;
}

.btn-clear-all-icon:before {
    content: "🗑️";
    font-size: 12px;
}

.btn-clear-all-icon:after {
    content: "Tümünü Sil";
    font-size: 10px;
}

/* Scroll container for uploaded files */
.uploaded-files-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    position: relative;
}

.uploaded-files-container::-webkit-scrollbar {
    width: 4px;
}

.uploaded-files-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.uploaded-files-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.uploaded-files-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Yüklenen dosyalar - thumbnail grid */
.uploaded-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 10px;
    position: relative;
    z-index: 1;
    justify-content: start;
}

.uploaded-file {
    position: relative;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 2px solid #e9ecef;
    cursor: pointer;
}

.uploaded-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.uploaded-file:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uploaded-file:hover::before {
    content: "🗑️";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    z-index: 10;
    pointer-events: none;
}

.file-preview {
    position: relative;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.uploaded-file img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-remove-file {
    display: none;
}

/* Empty state - kaldırıldı */
.photos-empty-state {
    display: none;
}

/* Tramer tutarı satırı */
.tramer-tutar-row {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #ffc107;
    margin-top: 15px;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .photo-upload-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .file-upload-area {
        flex: none;
        padding: 15px;
        min-height: 120px;
        width: 100%;
    }
    
    .uploaded-photos-section {
        width: 100%;
    }
    
    .uploaded-files-container {
        width: 100%;
        min-height: 120px;
    }
    
    .upload-icon {
        font-size: 24px;
    }
    
    .file-upload-text p {
        font-size: 12px;
    }
    
    .uploaded-files {
        grid-template-columns: repeat(auto-fill, 70px);
        gap: 8px;
        justify-content: center;
    }
    
    .uploaded-file {
        width: 70px;
        height: 70px;
    }
    
    .file-preview {
        width: 70px;
        height: 70px;
    }
    
    .uploaded-file:hover::before {
        font-size: 16px;
    }
    
    .btn-clear-all-icon {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin: 15px auto 10px auto;
        padding: 8px 16px;
        font-size: 12px;
        background: rgba(220, 53, 69, 0.95);
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        width: fit-content;
        text-align: center;
    }
    
    .btn-clear-all-icon.show {
        display: block !important;
    }
    
    .btn-clear-all-icon:before {
        font-size: 12px;
    }
    
    .btn-clear-all-icon:after {
        content: "Tümünü Sil";
        font-size: 11px;
    }
}

/* Form text */
.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.03);
}

.file-upload-area.dragover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.03);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-text {
    pointer-events: none;
    z-index: 1;
    position: relative;
}

.upload-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    color: #667eea;
}

.file-upload-text p {
    margin: 6px 0;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.file-info {
    font-size: 11px !important;
    color: #6c757d !important;
    font-weight: 400 !important;
    font-style: italic;
    margin-top: 6px !important;
}

/* Modern Onay Modalı */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.confirm-modal {
    background: #fff;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

.confirm-modal-header {
    padding: 25px 25px 15px 25px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.confirm-modal-header h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.confirm-modal-header p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}

.confirm-modal-body {
    padding: 20px 25px;
    text-align: center;
}

.confirm-modal-footer {
    padding: 15px 25px 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.confirm-modal .btn {
    min-width: 120px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.confirm-modal .btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.confirm-modal .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.confirm-modal .btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.confirm-modal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

/* Mobil uyum */
@media (max-width: 768px) {
    .confirm-modal {
        margin: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }
    
    .confirm-modal-header {
        padding: 20px 20px 10px 20px;
    }
    
    .confirm-modal-header h4 {
        font-size: 18px;
    }
    
    .confirm-modal-body {
        padding: 15px 20px;
    }
    
    .confirm-modal-footer {
        padding: 10px 20px 20px;
        flex-direction: column;
    }
    
    .confirm-modal .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .confirm-modal .btn:last-child {
        margin-left: 0;
    }
}

/* SVG Fallback Styles */
.svg-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    text-align: center;
    padding: 30px;
}

.fallback-content p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #495057;
    font-weight: 600;
}

.fallback-content small {
    color: #6c757d;
    font-size: 0.9rem;
}

/* SVG Loading Message */
.svg-loading-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    text-align: center;
    padding: 30px;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #495057;
    font-weight: 600;
}

.loading-content small {
    color: #6c757d;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Modern SMS Verification Success */
.verification-success-modern {
    background: linear-gradient(135deg, #d5f4e6, #e8f5e8);
    border: 2px solid #27ae60;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.15);
    animation: successSlideIn 0.6s ease-out;
}

.success-icon {
    margin-bottom: 20px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.3);
    animation: checkmarkBounce 0.8s ease-out 0.2s both;
}

.checkmark {
    width: 30px;
    height: 15px;
    border: 4px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: checkmarkDraw 0.4s ease-out 0.6s both;
}

.success-content h4 {
    color: #155724;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.success-message {
    color: #155724;
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.success-message strong {
    color: #0d4919;
    font-weight: 600;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #155724;
    font-weight: 600;
}

.badge-icon {
    font-size: 1rem;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes checkmarkBounce {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkDraw {
    from {
        opacity: 0;
        transform: rotate(-45deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(-45deg) scale(1);
    }
}

/* Modern Phone Input */
.modern-phone-container {
    position: relative;
    display: flex;
    align-items: stretch;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 45px; /* Form control ile aynı yükseklik */
}

.modern-phone-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-prefix {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    border-right: 1px solid rgba(255,255,255,0.2);
    min-width: 70px;
    justify-content: center;
}

.flag-icon {
    font-size: 1em;
}

.modern-phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 1rem;
    background: transparent;
    color: #333;
    height: 100%;
}

.modern-phone-input::placeholder {
    color: #a0a7b4;
    font-style: italic;
}

.phone-format-hint {
    position: absolute;
    bottom: -22px;
    left: 0;
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
}

@media (max-width: 768px) {
    .verification-success-modern {
        padding: 20px;
        margin: 10px 0;
    }
    
    .checkmark-circle {
        width: 60px;
        height: 60px;
    }
    
    .checkmark {
        width: 20px;
        height: 12px;
        border-width: 3px;
    }
    
    .success-content h4 {
        font-size: 1.3rem;
    }
    
    .success-message {
        font-size: 1rem;
    }
    
    .modern-phone-container {
        height: 42px; /* Mobilde biraz daha küçük */
    }
    
    .phone-prefix {
        padding: 0 10px;
        font-size: 0.85rem;
        min-width: 65px;
    }
}

/* İletişim Tercihi Stilleri */
.radio-group-horizontal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-group-horizontal .radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.radio-group-horizontal .radio-option:hover {
    border-color: #4CAF50;
    background-color: #f8f9fa;
}

.radio-group-horizontal .radio-option input[type="radio"] {
    margin: 0;
    margin-right: 8px;
}

.radio-group-horizontal .radio-option input[type="radio"]:checked + .radio-mark + .radio-text {
    color: #4CAF50;
    font-weight: 600;
}

.radio-group-horizontal .radio-option:has(input[type="radio"]:checked) {
    border-color: #4CAF50;
    background-color: #e8f5e8;
}

/* KVKK Bölümü Stilleri */
.kvkk-section {
    border: 1px solid #ddd;
}

.kvkk-checkbox {
    font-size: 14px !important;
    line-height: 1.5;
}

.kvkk-checkbox input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.kvkk-checkbox span {
    display: inline-block;
    vertical-align: top;
}

/* KVKK Aydınlatma Metni Link Stilleri */
.kvkk-section a {
    color: #2271b1;
    text-decoration: underline;
}

.kvkk-section a:hover {
    color: #135e96;
}

/* Responsive İyileştirmeler */
@media (max-width: 768px) {
    .radio-group-horizontal {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-group-horizontal .radio-option {
        min-width: auto;
        width: 100%;
    }
} 