/* Embroidery Customization Styles */

/* Button */
.embroidery-customization {
    padding: 10px 0;
    border-bottom: 1px solid #98B3C4;
}

.embroidery-error-msg {
    color: #e02b27;
    font-size: 1.2rem;
    margin-top: 5px;
    display: none;
    font-weight: 400;
}

.embroidery-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 10px 0;
    padding: 12px 20px;
    background: #98B3C4 !important;
    border: 1px solid #98B3C4 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal !important;
}

.embroidery-button:active,
.embroidery-button:hover {
    background-color: #0e4169 !important;
    border: 1px solid #0e4169 !important;
}

.embroidery-button.embroidery-applied {
    background-color: #d4edda;
    border-color: #28a745;
}

.embroidery-price-label {
    font-weight: bold;
    color: #0E4169;
}

/* Modal */
.embroidery-modal-header {
    text-align: center;
}

.embroidery-form ::placeholder {
    font-style: normal;
}

.embroidery-accordion {
    padding: 20px 0;
    border-bottom: 1px solid;
}

.embroidery-accordion .content {
    display: none !important;
}

.embroidery-accordion.active .content {
    display: block !important;
}

/* clickable header */
.embroidery-accordion .title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-right: 24px;
    /* space for arrow */
}

/* SVG arrow icon */
.embroidery-accordion .title::after {
    content: "";
    width: 14px;
    height: 8px;
    position: absolute;
    right: 0;
    top: 50%;
    background-repeat: no-repeat;
    background-size: 14px 8px;
    transition: transform 0.25s ease;

    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1L7 7L13 1' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

/* open state = arrow DOWN */
.embroidery-accordion.active .title::after {
    transform: translateY(-50%) rotate(180deg);
}

.embroidery-modal-large {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.modal-popup.embroidery-modal-large .modal-inner-wrap {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    max-width: unset !important;
    overflow: hidden !important;
    background: #fff;
    margin: 0 !important;
    transform: none !important;
}

.embroidery-modal-content {
    padding: 0;
}

.embroidery-modal-large .modal-content {
    background: transparent;
    overflow-y: unset;
    padding: 0;
}


/* Close Button */
.embroidery-close {
    position: absolute;
    top: 5px;
    left: 20px;
    background: none;
    border: 1px solid #cdcdcd;
    border: none;
    color: #555555;
    font-size: 28px;
    /* bigger cross */
    font-weight: 600;
    /* slightly thicker */
    cursor: pointer;
    line-height: 1;
    width: 35px;
    height: 35px;
    padding: 9px 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embroidery-close:hover {
    background: #e2e2e2
}

.embroidery-modal-content h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.embroidery-info {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

/* Container Layout */
.embroidery-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: 100vh;
    overflow: hidden;
}

.embroidery-form-section {
    min-width: 497px;
    max-width: 497px;
    width: 100%;
    overflow-y: auto;
    height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
    background: #ffffff;
    padding: 50px;
    padding-top: 15px;
    flex-shrink: 0;
}

.embroidery-modal-large .modal-header {
    display: none !important;
}

.embroidery-preview-section {
    flex: 1 1 400px;
    background: #fff;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form Fields */
.embroidery-form .field {
    margin-bottom: 20px;
}

.embroidery-form .field:first-of-type {
    margin-top: 10px;
    margin-bottom: 10px;
}

.embroidery-form .field:last-of-type {
    margin-top: 20px;
    margin-bottom: 0;
}


.embroidery-form .label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.embroidery-form .input-text,
.embroidery-form .select {
    width: 100%;
    padding: 5px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background-color: #fff;
    transition: all 0.2s ease;
}

.embroidery-form .input-text:focus,
.embroidery-form .select:focus {
    border-color: #0E4169;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 65, 105, 0.1);
}

.embroidery-form .select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
}

.embroidery-form .select::-ms-expand {
    display: none;
}

.select-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.select-dropdown-wrapper::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    position: absolute;
    right: 18px;
    top: 50%;
    margin-top: -6px;
    pointer-events: none;
}

/* Character Counter */
/* Make the field wrapper behave */
.embroidery-form .field {
    position: relative;
}

/* Stretch the input so there's room for the counter */
.embroidery-form .field .control {
    position: relative;
}

.embroidery-form .field input.input-text {
    width: 100%;
    padding-right: 40px;
    /* space for char counter */
}

/* The actual positioning for your counter */
.embroidery-form .char-counter {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    pointer-events: none;
    /* so clicking input still works */
    color: #666;
    /* or whatever your theme wants */
}

.char-counter {
    display: inline-block;
    font-size: 12px;
    color: #666;
}

.char-count {
    font-weight: bold;
    color: #0E4169;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    /* allows wrapping on smaller screens */
    gap: 7px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.radio-option input {
    display: none;
    /* hide the ugly browser radio */
}

.radio-option span {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* Hover state */
.radio-option:hover span {
    border-color: #98B3C4;
}

/* Selected state */
.radio-option input:checked+span {
    background: #0E4169;
    color: #fff;
    border-color: #0E4169;
}


/* Logo Upload — Drag & Drop Zone */
#logo-library-container,
#logo-upload-container {
    margin-bottom: 20px;
}

.logo-dropzone {
    position: relative;
    border: 2px dashed #bbb;
    border-radius: 8px;
    background: #f8f8f8;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.logo-dropzone:hover,
.logo-dropzone.dragover {
    border-color: #0E4169;
    background: #eef3f8;
}

.logo-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.logo-dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.logo-dropzone-icon {
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
    margin-bottom: 4px;
}

.logo-dropzone-inner strong {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.logo-dropzone-inner span {
    font-size: 13px;
    color: #555;
}

/* Digitization Info */
.digitization-info {
    margin: 20px 0;
    padding: 20px;
    background: #f9fbfc;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    position: relative;
}

.digitization-info h3 {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.digitization-info p {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 0;
}

.digitization-fee-msg {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0E4169 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: capitalize;
}

.digitization-fee-msg::before {
    content: "!";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #0E4169;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

#logo-preview-container {
    margin-top: 15px;
    padding: 15px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    text-align: center;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
}

#logo-preview {
    max-width: 200px;
    max-height: 200px;
    display: block;
    margin: 0 auto 10px;
    border-radius: 4px;
}

#upload-progress {
    margin-top: 10px;
    color: #0E4169;
    font-style: italic;
    font-size: 14px;
}

.note {
    margin-top: 8px;
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

/* Logo Name & Note Fields */
.logo-name-field .label .required {
    color: #e02b27;
    margin-left: 2px;
}

.logo-note-wrapper {
    margin-bottom: 20px;
}

.add-logo-note-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f3f6;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #0E4169;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 10px;
}

.add-logo-note-btn:hover {
    background: #e1e7ec;
    border: none;
}

.add-logo-note-btn .pencil-icon {
    display: flex;
    align-items: center;
}

.logo-note-field {
    margin-top: 15px;
    padding: 0;
    background: transparent;
}

.logo-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.logo-note-header .label {
    margin-bottom: 0;
}

.logo-note-header .label span {
    font-size: 15px;
}

.logo-note-field textarea {
    width: 100%;
    border: 1px solid #000;
    border-radius: 0;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.logo-note-field textarea:focus {
    box-shadow: none;
}

.remove-note-btn {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.remove-note-btn:hover {
    border: none;
    background: #c00;
    color: #fff;
}

/* Buttons */
button#embroidery-apply {
    background: #0E4169;
    border: 1px solid #0E4169;
}

.embroidery-form .actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.embroidery-form .actions button {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.embroidery-form .actions button.primary {
    background-color: #0E4169;
    color: #fff;
    border: 2px solid #0E4169;
}

.embroidery-form .actions button.primary:hover {
    background-color: #0a3150;
    border-color: #0a3150;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(14, 65, 105, 0.2);
}

.embroidery-form .actions button.secondary {
    background-color: #fff;
    color: #333;
    border: 2px solid #ddd;
}

.embroidery-form .actions button.secondary:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Preview Section */
.embroidery-preview-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.preview-container {
    position: relative;
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    padding: 20px;
    background-color: #fff;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

#preview-image {
    max-width: 100%;
    max-height: 500px;
    display: none;
}

.preview-loading {
    color: #999;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .embroidery-container {
        flex-direction: column;
    }

    .embroidery-form-section,
    .embroidery-preview-section {
        min-width: 100%;
        width: 100%;
    }

    .embroidery-modal-large {
        max-width: 100vw !important;
        width: 100vw !important;
    }

    .embroidery-container {
        gap: 15px;
    }

    #embroidery-canvas,
    #preview-image {
        width: 100%;
        height: auto;
    }

    .embroidery-group {
        margin-bottom: 12px;
    }
}

@media (max-width: 1080px) {
    .embroidery-container {
        flex-direction: column-reverse;
    }

    .embroidery-form-section {
        height: auto;
        min-width: unset !important;
        max-width: unset !important;
        width: 100% !important;
    }
}

.embroidery-logo-consent {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d1d1d1;
}

.embroidery-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.embroidery-consent-label input[type="checkbox"] {
    margin: 2px 0 0;
    flex-shrink: 0;
}

.embroidery-modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.embroidery-modal-footer button {
    flex: 1;
}

/* Preview toggle: active = APPLY style (dark), inactive = RESET style (outline) */
#embroidery-preview-clean.active-preview {
    background: #0E4169;
    border-color: #0E4169;
    color: #fff;
}

/* Logo preview with × remove button */
.logo-preview-wrap {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.logo-preview-wrap #logo-preview {
    display: block;
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    margin: 0;
}

.logo-remove-x {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.logo-remove-x:hover {
    background: #c00;
    border: none;
    color: #fff;
}

.embroidery-summary {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
}

.embroidery-summary ul {
    margin: 8px 0 0;
    list-style: none;
}

#embroidery-canvas,
#preview-image {
    max-width: 100%;
    max-height: 700px;
    height: auto;
    display: block;
    opacity: unset;
}

#embroidery-canvas {
    position: relative;
    z-index: 2;
    will-change: transform;
    transform-origin: 65% 32%;
    transition: transform 0.4s ease;
}

#preview-image {
    position: relative;
    z-index: 1;
}

.preview-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    z-index: 3;
}

.font-radio-group {
    display: flex;
    gap: 12px;
}

.font-radio-option span {
    min-width: 110px;
    text-align: center;
    font-size: 20px;
    padding: 5px 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-radio-option input:checked+span {
    background: #0E4169;
    color: #fff;
    border-color: #0E4169;
}

.summary-wrapper {
    display: flex;
}

.summary-wrapper .item {
    flex: 0 0 50%;
}

/* Minicart price breakdown */
.embroidery-price-breakdown {
    font-size: 13px;
    line-height: 1.6;
}

.embroidery-price-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.embroidery-price-label {
    color: #666;
}

.embroidery-price-value {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* cart popup */
#minicart-content-wrapper .product-item .product,
#minicart-content-wrapper .minicart-items .product-item-details {
    max-height: unset;
    height: auto;
}

/* end cart popup */

/* ─── Embroidery Minicart Card ─────────────────────────────────────────── */
.embroidery-minicart-card {
    margin: 8px 0 4px;
    border: 1px solid #b0c4d8;
    border-radius: 4px;
    background: #eef4f9;
    overflow: hidden;
    font-size: 12px;
}

/* Header row */
.embroidery-minicart-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: #0E4169;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

/* Caret toggle */
.embroidery-minicart-toggle {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #fff;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.embroidery-minicart-card.active .embroidery-minicart-toggle {
    transform: rotate(0deg);
    /* open = caret down */
}

.embroidery-minicart-card:not(.active) .embroidery-minicart-toggle {
    transform: rotate(-90deg);
    /* closed = caret right */
}

/* Label */
.embroidery-minicart-label {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Price in header */
.embroidery-minicart-price {
    font-size: 12px;
    font-weight: 600;
    color: #c8dff0;
    white-space: nowrap;
}

/* Body */
.embroidery-minicart-body {
    padding: 8px 10px;
}

/* Each section (Text / Logo) */
.embroidery-minicart-section {
    margin-bottom: 8px;
}

.embroidery-minicart-section:last-child {
    margin-bottom: 0;
}

.embroidery-minicart-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0E4169;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    border-bottom: 1px solid #c5d8e8;
    padding-bottom: 2px;
}

/* Two-column: thumbnail left, details right */
.embroidery-minicart-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Canvas / logo thumbnail */
.embroidery-minicart-thumb {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border: 1px solid #c5d8e8;
    border-radius: 3px;
    background: #fff;
    flex-shrink: 0;
}

/* Details list */
.embroidery-minicart-details {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    color: #333;
    line-height: 1.5;
}

.embroidery-minicart-details li {
    font-size: 15px;
}

.embroidery-minicart-details li strong {
    color: #555;
}

.action.primary.embroidery-button:hover {
    background: #1979c3;
}

.edit-embroidery {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #0E4169 !important;
    border: 1px solid #0E4169 !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.edit-embroidery:hover {
    background: #0a3150 !important;
}

.edit-embroidery::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ─── end Embroidery Minicart Card ──────────────────────────────────────── */

/* Logo Library & Tabs */
.embroidery-logo-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.logo-tab-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
}

.logo-tab-btn.active {
    background: #fff;
    border-color: #ccc;
    color: #333;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo-tab-btn:hover:not(.active) {
    background: #e5e5e5;
    border-color: #bbb;
}

.logo-tab-content {
    display: none;
}

.logo-tab-content.active {
    display: block;
}

.logo-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.logo-item {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-item.active {
    border-color: #00CFFF;
    background: #f0fbff;
}

.logo-item img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.logo-item .logo-name {
    font-size: 10px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loading-msg,
.empty-msg,
.error-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-style: italic;
}

.error-msg {
    color: #e02b27;
}

/* My Logos Table Styles */
.account-nav .item {
    white-space: nowrap;
}

#my-logos-table .logo {
    margin: 0;
}

.embroidery-logos-list {
    margin-top: 20px;
}

.embroidery-logos-list .table-wrapper {
    overflow-x: auto;
}

.embroidery-logos-list table#my-logos-table {
    width: 100%;
    border-collapse: collapse;
}

.embroidery-logos-list table#my-logos-table th,
.embroidery-logos-list table#my-logos-table td {
    padding: 15px 10px;
    vertical-align: middle;
    text-align: left;
}

.embroidery-logos-list table#my-logos-table th.col.logo,
.embroidery-logos-list table#my-logos-table td.col.logo {
    width: 130px;
    text-align: center;
}

.embroidery-logos-list table#my-logos-table th.col.actions,
.embroidery-logos-list table#my-logos-table td.col.actions {
    text-align: right;
    width: 100px;
}

.embroidery-logos-list .table-order-items .col.logo img {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.embroidery-logos-list .table-order-items .col.logo img:hover {
    transform: scale(1.1);
}

.embroidery-logos-list .action.delete {
    color: #e02b27;
    font-weight: 600;
}

.embroidery-logos-list .action.delete:hover {
    text-decoration: underline;
}

/* Fix for account navigation tabs wrapping */
.block-collapsible-nav .item a {
    white-space: nowrap !important;
}

/* Ensure the active tab is prominent as in screenshot */
.block-collapsible-nav .item.current a {
    background: #003366 !important;
    color: #fff !important;
}

/* Login reminder box */
.embroidery-login-reminder {
    display: flex;
    align-items: center;
    background-color: #f0f7ff;
    border-left: 4px solid #0062ff;
    padding: 12px 16px;
    margin-top: 15px;
    font-size: 14px;
    color: #0062ff;
}

.embroidery-login-reminder a {
    color: #0062ff;
    text-decoration: underline;
    font-weight: 500;
}

.embroidery-login-reminder a:hover {
    color: #004dc7;
}

/* EPS Placeholder Styles */
.eps-placeholder {
    width: 200px;
    height: 100px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.eps-icon {
    font-size: 24px;
    font-weight: bold;
    color: #555;
    background: #e0e0e0;
    padding: 2px 8px;
    border-radius: 3px;
}

.eps-filename {
    font-size: 12px;
    color: #666;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eps-library-icon {
    width: 100%;
    height: 100px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.embroidery-customer-logos main#maincontent {
    max-width: 960px;
}