/* Quote Request Form Styles */
.quote-request-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Wizard Progress */
.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
    transition: all 0.3s ease;
}

.wizard-step.completed::after,
.wizard-step.active::after {
    background: var(--arslansan-primary, #010ed0);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.wizard-step.active .step-number {
    background: var(--arslansan-primary, #010ed0);
    color: white;
    transform: scale(1.1);
}

.wizard-step.completed .step-number {
    background: var(--arslansan-primary, #010ed0);
    color: white;
}

.step-title {
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wizard-step.active .step-title,
.wizard-step.completed .step-title {
    color: var(--arslansan-primary, #010ed0);
}

/* Wizard Content */
.wizard-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step 1 - Information */
.info-step-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.info-header {
    text-align: center;
    margin-bottom: 40px;
}

.info-header h2 {
    color: var(--arslansan-primary, #010ed0);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0;
}

.info-details {
    margin-top: 30px;
}

.info-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    border-left: 4px solid #dee2e6;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.info-card.highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left-color: #ffc107;
}

.info-card.payment.single {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left-color: #17a2b8;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--arslansan-primary, #010ed0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-card.highlight .info-icon {
    background: #ffc107;
}

.info-card.payment .info-icon {
    background: #17a2b8;
}

.info-icon i {
    font-size: 24px;
    color: white;
}

.info-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}

.info-text p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.payment-details {
    margin-top: 15px;
}

.payment-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.payment-label {
    font-weight: 600;
    min-width: 160px;
    color: #495057;
}

.payment-value {
    color: #6c757d;
}

/* Step 2 - Form Fields */
.form-step-content,
.products-step-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-step-content h3,
.products-step-content h3 {
    color: var(--arslansan-primary, #010ed0);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.step-description {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.required {
    color: #dc3545;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--arslansan-primary, #010ed0);
    box-shadow: 0 0 0 0.2rem rgba(1, 14, 208, 0.25);
    outline: none;
}

.form-control.error {
    border-color: #dc3545;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.text-danger {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* Step 3 - Materials Table */
.materials-section {
    margin-top: 30px;
}

.materials-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.materials-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.materials-table thead th {
    background: var(--arslansan-primary, #010ed0);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.materials-table tbody td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.materials-table tbody td:first-child {
    font-weight: 600;
    background: #f8f9fa;
}

.materials-table tbody td:nth-child(2) {
    text-align: left;
    font-weight: 500;
}

.materials-table tbody tr:hover {
    background: #f8f9fa;
}

.materials-table input[type="number"] {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    width: 100px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.materials-table input[type="number"]:focus {
    border-color: var(--arslansan-primary, #010ed0);
    box-shadow: 0 0 0 0.15rem rgba(1, 14, 208, 0.25);
    outline: none;
}

.materials-table input.validation-error {
    border-color: #dc3545;
    background: #fff5f5;
    animation: shake 0.5s ease;
}

/* Validation Error Messages */
.validation-error-message {
    position: absolute;
    background: #dc3545;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.validation-error-message::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #dc3545;
}

/* Loading System Warning */
.loading-system-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.warning-content {
    display: flex;
    align-items: center;
}

.warning-content i {
    font-size: 24px;
    color: #856404;
    margin-right: 15px;
}

.warning-text {
    color: #856404;
    font-weight: 500;
    line-height: 1.5;
}

/* Total Calculation */
.total-calculation {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 25px;
}

.total-display {
    font-size: 1.3rem;
    color: var(--arslansan-primary, #010ed0);
    font-weight: 700;
}

.min-warning {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.min-warning i {
    margin-right: 8px;
}

/* Agreement Section */
.agreement-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 4px;
    transform: scale(1.2);
}

.form-check-label {
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
}

.kvkk-link {
    color: var(--arslansan-primary, #010ed0);
    text-decoration: none;
    font-weight: 600;
}

.kvkk-link:hover {
    text-decoration: underline;
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
}

.btn-wizard {
    background: var(--arslansan-primary, #010ed0);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-wizard:hover {
    background: var(--arslansan-secondary, #0a1970);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.btn-wizard i {
    margin: 0 8px;
}

.btn-prev {
    background: #6c757d;
}

.btn-prev:hover {
    background: #5a6268;
}

.btn-submit {
    background: #28a745;
}

.btn-submit:hover {
    background: #218838;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    background: var(--arslansan-primary, #010ed0);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 25px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.modal-footer {
    background: #f8f9fa;
    padding: 15px 25px;
    text-align: right;
    border-top: 1px solid #dee2e6;
}

.btn-modal-close {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-modal-close:hover {
    background: #5a6268;
}

/* KVKK Content */
.kvkk-content h4,
.kvkk-content h5 {
    color: var(--arslansan-primary, #010ed0);
    margin-top: 25px;
    margin-bottom: 15px;
}

.kvkk-content p,
.kvkk-content li {
    line-height: 1.6;
    color: #495057;
    margin-bottom: 10px;
}

.kvkk-content ul {
    padding-left: 20px;
}

.consent-items {
    margin: 20px 0;
}

.consent-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--arslansan-primary, #010ed0);
}

.consent-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.consent-contact {
    background: #d1ecf1;
    border: 1px solid #17a2b8;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-request-section {
        padding: 30px 0;
    }
    
    .wizard-progress {
        margin-bottom: 20px;
    }
    
    .wizard-step {
        max-width: 120px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-title {
        font-size: 12px;
    }
    
    .info-step-content,
    .form-step-content,
    .products-step-content {
        padding: 20px;
    }
    
    .info-header h2 {
        font-size: 2rem;
    }
    
    .info-cards-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .materials-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .materials-table input[type="number"] {
        width: 80px;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-wizard {
        width: 100%;
        justify-content: center;
    }
    
    .modal-container {
        width: 95%;
    }
    
    .modal-body {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .wizard-step:not(:last-child)::after {
        display: none;
    }
    
    .wizard-progress {
        flex-direction: column;
        gap: 10px;
    }
    
    .wizard-step {
        flex-direction: row;
        max-width: 100%;
    }
    
    .step-number {
        margin-right: 10px;
        margin-bottom: 0;
    }
} 