.ps-decoration-options {
    margin: 24px 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.ps-deco-toggle {
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ps-deco-toggle:hover {
    background: #f9fafb;
}

.ps-deco-toggle.ps-expanded .ps-toggle-arrow svg {
    transform: rotate(180deg);
}

.ps-deco-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.ps-deco-toggle-btn:hover {
    background: rgba(44, 90, 160, 0.02);
}

.ps-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    border-radius: 50%;
    color: #ffffff;
    flex-shrink: 0;
}

.ps-toggle-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ps-toggle-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.ps-toggle-subtitle {
    font-size: 13px;
    color: #666;
    font-weight: normal;
}

.ps-toggle-arrow {
    display: flex;
    align-items: center;
    color: #999;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ps-toggle-arrow svg {
    transition: transform 0.3s ease;
}

.ps-deco-content {
    border-top: 1px solid #e0e0e0;
}

.ps-deco-header {
    padding: 20px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.ps-deco-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.ps-deco-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.ps-deco-locations {
    padding: 16px;
}

.ps-location-card {
    margin-bottom: 16px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.ps-location-card:last-child {
    margin-bottom: 0;
}

.ps-location-card.ps-active {
    border-color: #2c5aa0;
    background: #f9fafb;
}

.ps-location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
}

.ps-location-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.ps-location-checkbox {
    width: 18px;
    height: 18px;
    margin: 0 12px 0 0;
    cursor: pointer;
}

.ps-location-checkbox:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ps-location-checkbox:disabled + .ps-location-name {
    opacity: 0.5;
}

.ps-location-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.ps-location-remove {
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-location-remove:hover {
    background: #f44336;
    border-color: #f44336;
    color: #ffffff;
}

.ps-location-config {
    padding: 20px;
    border-top: 1px solid #e8e8e8;
    background: #ffffff;
}

.ps-method-group {
    margin-bottom: 20px;
}

.ps-method-label,
.ps-color-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ps-method-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-method-option {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-method-option:hover {
    background: #e9ecef;
    border-color: #2c5aa0;
}

.ps-method-radio {
    width: 16px;
    height: 16px;
    margin: 2px 12px 0 0;
    cursor: pointer;
    flex-shrink: 0;
}

.ps-method-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ps-method-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.ps-method-size {
    font-size: 12px;
    color: #666;
}

.ps-color-group {
    margin-bottom: 20px;
}

.ps-color-select {
    width: 100%;
    max-width: 240px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
}

.ps-color-select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.ps-location-cost {
    margin-top: 20px;
    padding: 16px;
    background: #f0f7ff;
    border: 1px solid #d0e7ff;
    border-radius: 6px;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-cost-loading {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.ps-cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.ps-cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.ps-cost-label {
    color: #555;
    font-weight: 500;
}

.ps-cost-value {
    color: #1a1a1a;
    font-weight: 600;
}

.ps-total-cost {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #d0e7ff;
}

.ps-total-cost .ps-cost-label {
    font-weight: 600;
    color: #1a1a1a;
}

.ps-total-cost .ps-cost-value {
    font-size: 16px;
    color: #2c5aa0;
}

.ps-blank-option {
    background: #f9fafb;
}

.ps-blank-option.ps-active {
    border-color: #4caf50;
    background: #f0f8f1;
}

.ps-blank-option .ps-location-cost {
    margin-top: 12px;
    border-top: none;
    padding-top: 12px;
    min-height: auto;
}

.ps-blank-description {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.ps-blank-radio {
    width: 18px;
    height: 18px;
    margin: 0 12px 0 0;
    cursor: pointer;
}

.ps-multi-location-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    margin: 16px 16px 0;
    background: #fff9e6;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 14px;
    color: #856404;
}

.ps-warning-icon {
    flex-shrink: 0;
    color: #ffc107;
}

.ps-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 4px;
    cursor: help;
    color: #2c5aa0;
    font-weight: normal;
}

.ps-tooltiptext {
    visibility: hidden;
    opacity: 0;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -110px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    transition: opacity 0.3s;
}

.ps-tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.ps-tooltip:hover .ps-tooltiptext {
    visibility: visible;
    opacity: 1;
}

.ps-deco-summary {
    padding: 20px 24px;
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
    display: block;
}

.ps-deco-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.ps-product-cost-row {
    border-bottom: 1px solid #e0e0e0;
}

.ps-deco-cost-row {
    border-bottom: 1px solid #e0e0e0;
}

.ps-total-row {
    padding-top: 12px;
    border-top: 2px solid #d0d0d0;
    margin-top: 4px;
}

.ps-summary-label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.ps-total-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.ps-summary-amount {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.ps-total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #2c5aa0;
}

.ps-deco-note {
    margin: 12px 24px 20px;
    padding: 12px;
    font-size: 13px;
    color: #666;
    background: #fff9e6;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
}

.ps-deco-note strong {
    color: #333;
}

.ps-admin-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    font-size: 14px;
}

.ps-admin-notice strong {
    color: #856404;
}

.ps-deco-contact-notice {
    padding: 20px 24px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.ps-deco-contact-notice p {
    margin: 0;
}

.ps-deco-contact-notice a {
    color: #2563eb;
    text-decoration: underline;
}

.ps-no-methods {
    margin: 0;
    padding: 16px;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Additional Locations Styles */
.ps-additional-locations {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.ps-additional-toggle {
    display: inline-block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #2c5aa0;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ps-additional-toggle:hover {
    color: #1e3f70;
    text-decoration: underline;
}

.ps-additional-content {
    margin-top: 16px;
    padding: 0;
}

.ps-additional-content .ps-location-card {
    background: #ffffff;
}

.ps-additional-content .ps-location-card:last-child {
    margin-bottom: 0;
}

.ps-blank-option.ps-hidden {
    display: none;
}

/* Low Priority Locations Styles */
.ps-low-priority-locations {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.ps-low-priority-toggle {
    display: inline-block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ps-low-priority-toggle:hover {
    color: #666;
    text-decoration: underline;
}

.ps-low-priority-content {
    margin-top: 16px;
    padding: 0;
}

.ps-low-priority-content .ps-location-card {
    background: #ffffff;
}

.ps-low-priority-content .ps-location-card:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ps-deco-toggle-btn {
        padding: 16px 20px;
        gap: 12px;
    }

    .ps-toggle-icon {
        width: 36px;
        height: 36px;
    }

    .ps-toggle-icon svg {
        width: 18px;
        height: 18px;
    }

    .ps-toggle-title {
        font-size: 15px;
    }

    .ps-toggle-subtitle {
        font-size: 12px;
    }

    .ps-deco-locations {
        padding: 12px;
    }

    .ps-location-card {
        margin-bottom: 12px;
    }

    .ps-location-header {
        padding: 14px 16px;
    }

    .ps-location-config {
        padding: 16px;
    }

    .ps-method-options {
        gap: 8px;
    }

    .ps-method-option {
        padding: 10px 14px;
    }

    .ps-multi-location-warning {
        margin: 12px;
        padding: 10px 14px;
    }

    .ps-deco-summary {
        padding: 16px 20px;
    }

    .ps-tooltiptext {
        width: 180px;
        margin-left: -90px;
    }

    .ps-additional-toggle,
    .ps-low-priority-toggle {
        font-size: 13px;
    }
}
