body {
    background-color: #0c0c13;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
}

/* ===== Modern Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 32, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(127, 133, 228, 0.6) 0%, rgba(106, 112, 212, 0.6) 100%);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(154, 159, 240, 0.8) 0%, rgba(127, 133, 228, 0.8) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(127, 133, 228, 0.9) 0%, rgba(168, 159, 239, 0.9) 100%);
}

::-webkit-scrollbar-corner {
    background: rgba(20, 20, 32, 0.6);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(127, 133, 228, 0.6) rgba(20, 20, 32, 0.6);
}

body.iframe-mode {
    overflow-y: visible;
    height: auto;
}

body {
    overflow: hidden;
}

.language-selector {
    padding: 1rem;
    text-align: center;
}

/* ===== Modern Select/Dropdown Styling ===== */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: linear-gradient(145deg, rgba(38, 38, 74, 0.9) 0%, rgba(32, 32, 58, 0.95) 100%);
    border: 1px solid rgba(127, 133, 228, 0.3);
    border-radius: 10px;
    padding: 0.65rem 2.5rem 0.65rem 0.8rem;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237f85e4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
}

select:hover {
    border-color: rgba(127, 133, 228, 0.5);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 12px rgba(127, 133, 228, 0.1);
}

select:focus {
    border-color: rgba(127, 133, 228, 0.6);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(127, 133, 228, 0.15);
}

select option {
    background: #1c1c2f;
    color: #ffffff;
    padding: 0.5rem;
}

select option:hover,
select option:checked {
    background: linear-gradient(145deg, #2c2c46 0%, #26264a 100%);
}

.gradient-wrapper {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.config-section {
    text-align: center;
    margin-bottom: 1rem;
}

.config-section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0.3rem 0;
}

.config-section h3[data-i18n="region_title"],
.config-section h4[data-i18n="version_title"] {
    background: linear-gradient(to right, #e74a4e, #7f85e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {

    .config-section h3,
    .config-section h4 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }
}

.step-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-snap-type: none;
    overflow-y: auto;
}

body.iframe-mode .step-container {
    overflow-y: visible;
}

.step {
    min-height: 850px;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    scroll-snap-align: start;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.step.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.step.completed {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.step:not(.active):not(.completed) {
    opacity: 0;
}

.step h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(
        135deg, 
        #e74a4e 0%, 
        #c45b8a 25%, 
        #9a7fd1 50%, 
        #7f85e4 75%,
        #e74a4e 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: fit-content;
    margin: 0 auto;
    line-height: 1.15;
    padding: 0.5rem 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: gradient-shift 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(127, 133, 228, 0.2));
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

#produkteList,
.billing-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

l #step1 {
    scroll-snap-align: start;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: row;
    position: relative;
    min-height: 100vh;
}

:root {
    --sidebar-bottom-gap: 0.5rem;
}

#step1 h2 {
    margin-bottom: 2rem;
}

#main-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    padding-right: 1rem;
}

#email-gradient stop[offset="0%"] {
    stop-color: #e74a4e;
    stop-opacity: 1;
}

#email-gradient stop[offset="100%"] {
    stop-color: #7f85e4;
    stop-opacity: 1;
}