/* --- Κεντρικό block tracking (πάνω κάρτα) --- */
.psst-account-contact-block {
    border: 1px solid rgba(0,0,0,0.04);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem 2.25rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Τίτλος */
.psst-account-contact-title {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
    font-weight: 700;
}

/* Layout: carrier + tracking + CTA */
.psst-account-contact-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.psst-account-contact-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}

/* main column με logo + όνομα + tracking */
.psst-contact-main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Carrier name + logo */
.psst-contact-carrier {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.psst-contact-logo {
    max-height: 36px;
    width: auto;
}

.psst-contact-carrier-name {
    font-weight: 600;
    font-size: 1.15rem;
    display: none;
}

/* Tracking line */
.psst-contact-tracking {
    display: flex;
    align-items: flex-start;
}

.psst-contact-tracking-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.psst-contact-tracking-top {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.psst-contact-tracking-label,
.psst-contact-tracking-number {
    display: inline-block;
}

.psst-tracking-number-only {
    font-weight: 700;
    color: #000;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

/* Ημερομηνία – πολύ κοντά στο νούμερο */
.psst-contact-shipped-date {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-top: 0px;
    margin-left: 0;
    line-height: 1.0;
}

/* CTA button (δεξιά) */
.psst-account-contact-cta {
    margin-left: auto;
}

.psst-account-contact-cta .psst-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.9rem;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.1s ease;
    font-size: 0.96rem;
}

.psst-account-contact-cta .psst-contact-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Λεπτή γραμμή πριν το κάτω block (αν τη θέλουμε) */
.psst-section-separator {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    margin: 1.00rem 0 1.00rem;
}

/* --- Κάτω block: πληροφορίες επικοινωνίας courier --- */
.psst-account-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;

    background: #f5f5f5;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
}

.psst-contact-subtitle {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.psst-contact-label {
    font-weight: 500;
    margin-right: 0.35rem;
}

/* --- Copy pill --- */
.psst-copy-pill {
    position: relative !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    background: #ffffff !important;
    border: 1px solid #dddddd !important;

    font-size: 0.65rem !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    margin-left: 0.4rem !important;
    line-height: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
    color: #333333 !important;
    white-space: nowrap !important;

    transform: translateY(-1px);
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

/* default hidden tooltip */
.psst-copy-pill::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #222;
    color: #fff;
    padding: 2px 7px;
    font-size: 10px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
}

/* visible state */
.psst-copy-pill.psst-copied::after {
    content: 'Αντιγράφηκε';
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.psst-copy-pill:hover {
    background: #f2f2f2 !important;
    border-color: #cccccc !important;
}

.psst-copy-pill:active {
    background: #e6e6e6 !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .psst-account-contact-block {
        padding: 1.5rem 1.25rem;
    }

    .psst-account-contact-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .psst-account-contact-cta {
        margin-left: 0;
        width: 100%;
    }

    .psst-account-contact-cta .psst-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Progress Bar */


/* Wrapper για να έχει λίγο χώρο γύρω από το timeline */
.ps-order-timeline-wrapper {
    margin: 30px 0 10px;
    position: relative;
    padding: 20px 10px 0;
}

/* Container για τα βήματα (τα κυκλάκια) */
.ps-order-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* Κάθε βήμα */
.ps-order-timeline-step {
    flex: 1;
    text-align: center;
}

/* Ο κύκλος με το icon (base) */
.ps-order-timeline-circle {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    background: #e5e5e5;
    border: 2px solid #d8e2f2;
    color: #9ca3af;
}


/* Το “εικονίδιο” μέσα στον κύκλο (PNG/SVG) */
.ps-order-timeline-circle::before {
    content: "";
    position: absolute;
    inset: 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Mapping τύπου -> icon image */
.ps-order-timeline-circle.ps-icon-house::before {
    background-image: url('https://podoshop.gr/wp-content/uploads/2025/12/se-anamoni.svg');
}

.ps-order-timeline-circle.ps-icon-box::before {
    background-image: url('https://podoshop.gr/wp-content/uploads/2025/12/proetoimasia.svg');
}

.ps-order-timeline-circle.ps-icon-truck::before {
    background-image: url('https://podoshop.gr/wp-content/uploads/2025/12/estali.svg');
}

.ps-order-timeline-circle.ps-icon-store::before {
    background-image: url('https://podoshop.gr/wp-content/uploads/2025/12/paralavi-apo-to-katastima.svg');
}

.ps-order-timeline-circle.ps-icon-check::before {
    background-image: url('https://podoshop.gr/wp-content/uploads/2025/12/oloklirothike.svg');
}

/* Label κάτω από τον κύκλο */
.ps-order-timeline-label {
    font-size: 14px;
    font-weight: 600;
    color: #c4c4c4;
}

/* Ενεργά βήματα (done + current) → ΜΠΛΕ */
.ps-order-timeline-step--done .ps-order-timeline-circle,
.ps-order-timeline-step--current .ps-order-timeline-circle {
    background: #ffffff;
    border-color: #000000;
    color: #0a6500;
}

.ps-order-timeline-step--done .ps-order-timeline-label,
.ps-order-timeline-step--current .ps-order-timeline-label {
    color: #040404;
}

/* Current μόνο – διακριτικό glow για να ξεχωρίζει */
.ps-order-timeline-step--current .ps-order-timeline-circle {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
}

/* Η "γραμμή" πίσω από τα βήματα – από κέντρο κύκλου σε κέντρο κύκλου */
.ps-order-timeline-line {
    position: absolute;
    top: 45px;
    left: 110px;
    right: 110px;
    height: 4px;
    background: #989898;
    border-radius: 999px;
    z-index: 1;
    overflow: hidden;
}

/* Το γεμισμένο κομμάτι – μπλε → διαφανές */
.ps-order-timeline-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    border-radius: 999px;
    /* background ορίζεται inline από το PHP */
}

/* --------- Responsive --------- */

@media (max-width: 980px) {
    .ps-order-timeline-line {
        left: 75px;
        right: 75px;
    }
}


/* Tablet / μικρά laptop */
@media (max-width: 700px) {

    .ps-order-timeline-circle {
    width: 45px;
    height: 45px;
}

    .ps-order-timeline-line {
    top: 40px;
    left: 80px;
    right: 80px;
}

    .ps-order-timeline-circle::before {
        inset: 10px;
    }

    .ps-order-timeline-label {
        font-size: 12px;
    }
}

/* Κινητό */
@media (max-width: 480px) {

.ps-order-timeline-circle {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 4px !important;
    }
.ps-order-timeline-line {
        top: 37px;
        left: 60px;
        right: 60px;
    }

    .ps-order-timeline-circle::before {
        inset: 9px;
    }

    .ps-order-timeline-label {
        font-size: 11px !important;
        line-height: 1.2 !important;
        max-width: 70px;
        margin: 0 auto;
        display: block;
        white-space: normal !important;
    }

    .ps-order-timeline-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: -20px; 
        margin-right: -20px;
    }
}