@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #9bc31c;
}

.oney-page {
    position: relative;
    min-height: 100vh;
    background: #9bc31c;
    overflow: hidden;
}

#oney-app {
    width: 100%;
    overflow: visible;
    background: transparent;
    font-family: Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.oney-step {
    position: relative;
    display: none;
    flex-direction: column;
    min-height: 100vh;
    background: transparent;
    overflow: visible;
}

.oney-step.active {
    display: flex;
}

.oney-step-no-header .oney-top {
    padding-top: 50px;
}

.oney-header {
    padding: 18px 0;
    background: #ffffff;
    text-align: center;
}

.oney-logo {
    display: block;
    width: auto;
    max-width: 140px;
    height: 28px;
    margin: 0 auto;
}

.oney-top {
	max-width: 420px;
    margin: 0 auto;
    position: relative;
    padding: 26px 28px 16px;
    background: transparent;
    color: #333;
    z-index: 2;
}

.oney-step:not(.oney-step-no-header) .oney-top h1 {
    font-size: 48px;
}

.oney-top h1 {
    margin-bottom: 18px;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.oney-top p.intro {
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
}

.oney-top.has-back {
    padding-top: 26px;
}

.oney-top.has-back h1 {
    padding-left: 40px;
    text-align: left;
}

.oney-top.has-back p.intro {
    text-align: center;
    margin-bottom: 40px !important;
}

.oney-bottom {
	max-width: 420px;
    margin: 0 auto;
    position: relative;
    margin-top: auto;
    padding: 70px 24px 36px;
    background: transparent;
    text-align: center;
    z-index: 1;
}

.oney-bottom::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    width: 100vw;
    height: calc(100% + 58px);
    background: #f2f2f2;
    clip-path: polygon(0 58px, 100% 30px, 100% 100%, 0 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.oney-bottom::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 8px;
    right: 8px;
    bottom: 18px;
    background: linear-gradient(
        to bottom,
        #f2f2f2 0%,
        #f2f2f2 12%,
        #efeff0 100%
    );
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    z-index: 1;
}

.oney-bottom p {
    margin-bottom: 0px;
    color: #666;
    font-size: 13px;
}

.oney-bottom p,
.oney-stepper {
    position: relative;
    z-index: 2;
}

.oney-back {
    position: absolute;
    top: 22px;
    left: 18px;
    z-index: 3;
    border: 0;
    background: none;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.oney-card {
    margin-top: 24px;
    padding: 0;
    background: transparent;
}

.oney-card--panel {
    padding: 18px 18px 12px;
    border-radius: 5px;
    background: #efefef;
}

.oney-card-sm {
    margin-top: 12px;
}

.oney-text-center {
    text-align: center;
}

.oney-text-left {
    text-align: left;
}

.oney-text-white {
    color: #fff;
}

.oney-text-dark {
    color: #333;
    text-align: center;
}

.oney-fw-700 {
    font-weight: 700;
}

.oney-mt-12 {
    margin-top: 12px;
}

.oney-mt-20 {
    margin-top: 20px;
}

.oney-mt-24 {
    margin-top: 24px;
}

.oney-mb-14 {
    margin-bottom: 14px;
}

.oney-field {
    margin-bottom: 14px;
}

.oney-field select,
.oney-field input[type='text'],
.oney-field input[type='email'],
.oney-field input[type='tel'],
.oney-field textarea {
    width: 100%;
    padding: 15px 18px;
    border: 0;
    border-radius: 5px;
    outline: none;
    background: #f5f5f5;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 15px;
    transition: box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.oney-field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.oney-field select:focus,
.oney-field input:focus,
.oney-field textarea:focus {
    box-shadow: 0 0 0 2px rgba(155, 195, 28, 0.4);
}

.oney-field textarea {
    min-height: 110px;
    resize: vertical;
}

.oney-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.oney-toggle span {
    color: #333;
    font-size: 16px;
}

.oney-toggle span a {
    text-decoration: underline;
}

.toggle-switch {
    position: relative;
    flex-shrink: 0;
    width: 54px;
    height: 30px;
    margin-left: 12px;
    border: 1px solid #666;
    border-radius: 15px;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.on {
    background: #9bc31c;
}

.toggle-switch .toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: left 0.3s;
}

.toggle-switch.on .toggle-knob {
    left: 27px;
}

.toggle-switch .toggle-x {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #999;
    font-size: 12px;
    font-weight: 700;
    transition: opacity 0.2s;
}

.toggle-switch.on .toggle-x {
    opacity: 0;
}

.oney-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 48px auto 0;
    padding: 13px 28px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.oney-btn.green {
    margin-top: 0px;
}

.oney-btn:hover {
    transform: scale(1.03);
    box-shadow: none;
}

.oney-btn:active {
    transform: scale(0.98);
}

.oney-btn .arrow {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 4px;
}

.oney-btn.green {
    background: #9bc31c;
    color: #333;
}

.oney-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 16px;
}

.oney-stepper .dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbb;
}

.oney-stepper .dot.done {
    background: #666;
}

.oney-stepper .dot.active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid #9bc31c;
    background: #f2f2f2;
    color: #333;
    font-size: 12px;
    font-weight: 800;
}

.oney-stepper .line {
    flex-shrink: 0;
    width: 56px;
    height: 2px;
    border-radius: 2px;
    background: #7b7b7b;
}


.oney-search-select {
    position: relative;
}

.oney-search-input {
    width: 100%;
    padding: 15px 18px;
    border: 0;
    border-radius: 5px;
    outline: none;
    background: #f5f5f5;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 15px;
    transition: box-shadow 0.2s;
}

.oney-search-input:focus {
    box-shadow: 0 0 0 2px rgba(155, 195, 28, 0.4);
}

.oney-search-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.oney-search-list.is-open {
    display: block;
}

.oney-search-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    background: #fff;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.oney-search-option:hover {
    background: #f5f5f5;
}

.upload-zone {
    padding: 44px 20px;
    border: 1px dashed #b9b9b9;
    border-radius: 0;
    background: #efefef;
    color: #999;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.upload-zone:hover {
    border-color: #9e9e9e;
    background: #efefef;
}

.upload-zone.has-files {
    border-color: #9bc31c;
    background: #efefef;
}

.upload-zone p {
    margin: 4px 0;
}

.upload-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.upload-previews .photo-thumb {
    position: relative;
    display: inline-block;
    overflow: visible;
    border-radius: 5px;
}

.upload-previews img {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 5px;
    object-fit: cover;
}

.upload-previews .remove-photo {
    position: absolute;
    top: -7px;
    right: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: #e74c3c;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.star-group {
    margin-bottom: 16px;
    text-align: center;
}

.star-group label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.oney-gdpr {
    font-size: 11px;
    color: #555;
    text-align: left;
    line-height: 1.4;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.stars .star {
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
    font-size: 24px;
    user-select: none;
    cursor: pointer;
    transition: 0.15s;
}

.stars .star.filled {
    font-size: 24px;
    color: #ffffff;
    -webkit-text-stroke: 0;
}

.stars .star:hover {
    transform: scale(1.2);
}

.char-count {
    margin-top: 4px;
    color: #6C6E75;
    font-size: 12px;
    text-align: right;
}

.radio-group {
    margin-top: 24px;
    text-align: left;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    cursor: pointer;
}

.radio-option:last-child {
    border-bottom: 0;
}

.radio-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 2.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: 0.2s;
}

.radio-circle.selected {
    border-color: #fff;
    background: #fff;
}

.radio-circle.selected::after {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9bc31c;
    content: '';
}

.radio-option span {
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.oney-result-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 28px;
    text-align: center;
}

.oney-result-icon {
    margin-bottom: 20px;
    font-size: 90px;
}

.oney-error {
	max-width: 420px;
    margin: 0 auto;
    display: none;
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 5px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    font-size: 13px;
    text-align: center;
}

.oney-field.error select,
.oney-field.error input {
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.5);
}

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

.address-section-title {
    margin-top: 28px;
    color: #000000;
    font-size: 15px;
    text-align: center;
}

.oney-win-visual {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
}

.oney-result-top {
    padding-top: 70px;
    padding-bottom: 24px;
    text-align: center;
}

.oney-result-top h1 {
    text-align: center;
}

.oney-result-top p.intro {
    max-width: 290px;
    margin: 0 auto;
    text-align: center;
}

.oney-result-visual {
    display: block;
    width: 92px;
    height: 92px;
    margin: 36px auto 0;
    object-fit: contain;
}

#oney-global-error {
    display: none;
    margin: 0 auto;
    width: 100%;
    max-width: 360px;
    border-radius: 0;
}

#oney-global-error.oney-global-error-visible {
    display: block;
    margin-top: 20px;
}



@media (max-width: 420px) {
    .oney-top {
        padding: 24px 20px 16px;
    }

    .oney-top h1 {
        font-size: 30px;
    }

    .oney-bottom {
        padding: 64px 20px 32px;
    }

    .oney-bottom::after {
        top: 10px;
        left: 8px;
        right: 8px;
        bottom: 14px;
    }
    .oney-result-top {
        padding-top: 56px;
        padding-bottom: 20px;
    }

    .oney-result-visual {
        width: 86px;
        height: 86px;
        margin-top: 32px;
    }
}