﻿.me1-progress {
    display: flex;
    flex-direction: row; /* guard rail */
    align-items: center;
    flex-wrap: nowrap; /* guard rail */
    gap: 10px;
    padding: 12px 0;
}

.me1-progress-item {
    display: inline-flex; /* guard rail */
    flex-direction: row; /* guard rail */
    align-items: center;
    gap: 10px;
    opacity: .55;
    user-select: none;
}

    .me1-progress-item.is-active {
        opacity: 1;
    }

    .me1-progress-item.is-done {
        opacity: .85;
    }

.me1-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid currentColor;
    box-sizing: border-box;
}

.me1-progress-item.is-done .me1-progress-dot {
    background: currentColor;
}

/* (προαιρετικό) αν θες και το active να είναι γεμάτο, ξεσχολίασέ το */
/*
.me1-progress-item.is-active .me1-progress-dot {
    background: currentColor;
}
*/

.me1-progress-line {
    flex: 1 1 auto; /* guard rail */
    height: 2px;
    background: rgba(0,0,0,.15);
    min-width: 18px;
    display: block; /* guard rail */
}

.me1-progress-item.is-done + .me1-progress-line {
    background: rgba(0,0,0,.35);
}

.me1-progress-label {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 400;
}

/* bold για ολοκληρωμένα βήματα + active */
.me1-progress-item.is-done .me1-progress-label {
    font-weight: 600;
}

.me1-progress-item.is-active .me1-progress-label {
    font-weight: 700;
}

/* MOBILE */
@media (max-width: 768px) {

    /* Μένει ΟΡΙΖΟΝΤΙΟ, απλά γίνεται compact και αν χρειαστεί κάνει scroll */
    .me1-progress {
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .me1-progress-item {
        gap: 6px;
        opacity: .4;
    }

        .me1-progress-item.is-active {
            opacity: 1;
        }

    /* Κρύψε όλα τα labels */
    .me1-progress-label {
        display: none;
    }

    /* Δείξε μόνο το active label (inline για να μην σπάει γραμμή) */
    .me1-progress-item.is-active .me1-progress-label {
        display: inline;
        white-space: nowrap;
        font-weight: 700;
    }

    /* Κάνε τις γραμμές πιο “σφιχτές” για να χωράει */
    .me1-progress-line {
        min-width: 12px;
        flex: 0 0 18px;
    }
}


.package-selection-text {
    max-width: 820px; /* κόβει το πλάτος, δείχνει πιο premium */
    margin-top: 12px;
}

    .package-selection-text p {
        margin: 0 0 10px 0; /* μειώνει το ύψος */
        line-height: 1.5;
        font-size: 15px; /* λίγο πιο compact */
    }

    .package-selection-text ul {
        margin: 8px 0 0 18px; /* λιγότερο "κρέμασμα" */
        padding: 0;
    }

    .package-selection-text li {
        margin: 4px 0; /* tighter bullets */
        font-size: 14px;
    }

.checkout-header__top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    .checkout-logo img {
        height: 64px;
        width: auto;
    }

.checkout-header__steps {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.checkout-body {
    padding: 22px 0;
}

@media (max-width: 480px) {
    .checkout-logo img {
        height: 52px;
    }
}

.p10 {
    padding:10px;
}

.me1-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.me1-modal {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    animation: me1-modal-in .2s ease;
}

.me1-modal-actions {
    display: flex;
    justify-content: center; /* 👈 αυτό */
    gap: 12px;
    margin-top: 24px;
}

.me1-modal-actions button {
    min-width: 180px;
}

.me1-file-icon img {
    width: 32px;
    height: 50px;
    object-fit: contain;
}

@keyframes me1-modal-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.me1-domain-options {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .me1-domain-options label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.me1-help-link {
    border: 0;
    background: transparent;
    color: var(--bs-primary);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.me1-domain-input {
    min-width: 240px;
}

.me1-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.me1-modal {
    background: #fff;
    width: min(420px, calc(100vw - 32px));
    padding: 24px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.me1-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

.me1-payment-card,
.me1-result-card {
    display: grid;
    gap: 22px;
    max-width: 760px;
    margin-inline: auto;
}

.me1-payment-summary {
    display: grid;
    gap: 0;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.me1-payment-row,
.me1-payment-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
}

.me1-payment-row + .me1-payment-row,
.me1-payment-total {
    border-top: 1px solid rgba(0,0,0,.08);
}

.me1-payment-total {
    background: rgba(37,99,235,.06);
    font-size: 18px;
}

.me1-alert-info {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(37,99,235,.08);
    color: #1e40af;
}

.me1-result-card {
    text-align: center;
    justify-items: center;
}

.me1-result-card p {
    max-width: 56ch;
    margin: 0;
    color: rgba(15,23,42,.72);
}

.me1-result-mark {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 900;
}

.me1-result-mark.is-success {
    background: rgba(25,135,84,.12);
    color: #198754;
}

.me1-result-mark.is-failed {
    background: rgba(220,53,69,.12);
    color: #dc3545;
}

@media (max-width: 560px) {
    .me1-payment-row,
    .me1-payment-total {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
