/* Winter CMS Multi-Step Configurator Styles */

.multistep-configurator {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
}

/* Progress Section */
.configurator-progress {
    margin-bottom: 3rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #324852, #2e4146);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1995af, #0dbdde);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(21,212,232,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.step-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

.step-indicators::before {
  /*  content: '';
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, #e0e0e0, #d0d0d0);
    z-index: 0;*/
}

.step-indicator {
    text-align: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.3s ease;

}

.step-indicator:hover {
    transform: translateY(-2px);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
    color: #666;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-indicator.active .step-number {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #0056b3;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25), 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.1);
}

.step-indicator.completed .step-number {
    background: linear-gradient(135deg, #1ba0b2, #1895af);
    color: white;
    border-color: #1895af;
    box-shadow: 0 2px 8px rgba(7,45,59,0.3);
}

.step-indicator.completed .step-number::before {
    content: "✓";
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background: rgba(255,255,255,0.95);*/
    /*padding: 1rem;*/
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    width:100%;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.configurator-form.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Mobile Navigation */
.mobile-step-nav {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #57d7f1;
    transform: scale(1.2);
}

.nav-dot.completed {
    background: #0e5b6b;
}

/* Success Animation */
.configurator-success {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 20px;
    border: 2px solid #28a745;
    animation: successPulse 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.configurator-success::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: successShine 2s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes successShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.success-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #28a745;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmarkPop 0.6s ease-out 0.3s both;
    box-shadow: 0 8px 25px rgba(40,167,69,0.3);
}

.checkmark {
    width: 30px;
    height: 30px;
    border: 3px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: checkmarkDraw 0.4s ease-out 0.6s both;
}

@keyframes checkmarkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes checkmarkDraw {
    0% { width: 0; height: 0; }
    50% { width: 30px; height: 0; }
    100% { width: 30px; height: 30px; }
}

.configurator-success h2 {
    color: #155724;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.configurator-success p {
    color: #155724;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Keyboard Help */
.keyboard-help {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: #666;
    font-size: 12px;
    opacity: 0.7;
}

.keyboard-help i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .multistep-configurator {
        padding: 1rem;
    }

    .configurator-content {
      /*  grid-template-columns: 1fr;
        gap: 2rem;*/
    }

    .step-indicators {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .step-indicators::before {
        display: none;
    }

    .step-label {
        display: none;
    }

    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }

    .step-form {
        padding: 2rem 1.5rem;
    }

    .step-title {
        font-size: 1.8rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        /*width: 100%;*/
        min-width: auto;
    }

    .mobile-step-nav {
        display: flex;
    }

    .configurator-success {
        padding: 3rem 1.5rem;
    }

    .success-actions {
        flex-direction: column;
    }

    .keyboard-help {
        display: none;
    }
}

@media (max-width: 480px) {
    .step-indicators {
        gap: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }

    .step-form {
        padding: 1.5rem 1rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 15px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}%);
}

.step-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    max-width: 80px;
    line-height: 1.2;
}

.step-counter {
    color: #fff
    margin: 0;
    font-size: 1.2em;
    font-weight: 500;
}

/* Content Section */
.configurator-content {
  /*  display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;*/
    align-items: start;
    min-height: 500px;
}

.step-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.step-image img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}

.step-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
    border-radius: 16px;
}

.step-badge {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Form Section */
.step-form {
  background: rgba(32, 47, 54, .76);
  border-radius: 10px;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
    color:#fff;
}

.step-form:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.step-title {
    margin-bottom: 2rem;
    color: #fff;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    appearance: none;
    cursor: pointer;
    position: relative;
    color:#000;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
  /*  transform: translateY(-1px);*/
}

.form-control:hover {
    border-color: #ccc;
    background: white;
}

/* Option Descriptions */
.option-description {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #007bff;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
}

.description-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.description-content i {
    color: #007bff;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.help-text {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

/* Progress Summary */
.progress-summary {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,123,255,0.2);
}

.progress-summary h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
}

.summary-grid {
    display: grid;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    /*background: white;*/
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.summary-item strong {
    color: #333;
    font-weight: 600;
}

.summary-item span {
    color: #ffffff;
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

/*.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #545b62);
    color: white;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #545b62, #495057);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 117, 125, 0.4);
}

.btn:active {
    transform: translateY(0);
}*/

/* Loading States */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50);
  }
  .btn-prev{color:#d2f1f5!important;}
