/* PromoGosh ASI Connect - Frontend Styles */

/* Pricing Table */
.pgasi-pricing-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.pgasi-pricing-section h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #333;
}

.pgasi-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.pgasi-pricing-table th {
    background: #58595B;
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}

.pgasi-pricing-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.pgasi-pricing-table tbody tr:hover {
    background: #f8fdf5;
}

.pgasi-pricing-table tbody tr.active-tier {
    background: #e8f5e1;
    font-weight: 600;
}

.pgasi-starting-price {
    font-size: 16px;
    font-weight: 600;
    color: #8BC53F;
}

.pgasi-setup-charges {
    margin: 12px 0;
    padding: 12px;
    background: #fef9e7;
    border-radius: 4px;
    font-size: 13px;
}

.pgasi-setup-charges ul {
    margin: 6px 0 0 16px;
    padding: 0;
}

.pgasi-production-time {
    color: #666;
    font-size: 13px;
    margin: 8px 0;
}

/* Color Swatches */
.pgasi-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}

.pgasi-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    position: relative;
}

.pgasi-swatch:hover {
    transform: scale(1.15);
    border-color: #999;
}

.pgasi-swatch.active {
    border-color: #8BC53F;
    box-shadow: 0 0 0 2px #8BC53F;
}

.pgasi-swatch .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.pgasi-swatch-label {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Decoration Options */
.pgasi-decoration-options {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.pgasi-decoration-options h4 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #333;
}

.pgasi-field {
    margin-bottom: 12px;
}

.pgasi-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 13px;
    color: #333;
}

.pgasi-select {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.pgasi-method-details {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 13px;
}

/* Logo Upload */
.pgasi-logo-upload-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.pgasi-logo-upload-section h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #333;
}

.pgasi-logo-note {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.pgasi-logo-dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: #fafafa;
}

.pgasi-logo-dropzone:hover,
.pgasi-logo-dropzone.dragover {
    border-color: #8BC53F;
    background: #f8fdf5;
}

.pgasi-dropzone-icon {
    font-size: 32px;
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.pgasi-dropzone-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.pgasi-browse-btn {
    background: none;
    border: none;
    color: #8BC53F;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    padding: 0;
}

.pgasi-logo-preview {
    position: relative;
    display: inline-block;
}

.pgasi-logo-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 4px;
}

.pgasi-remove-logo {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d63638;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgasi-logo-filename {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.pgasi-logo-position {
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .pgasi-pricing-table th,
    .pgasi-pricing-table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .pgasi-swatch {
        width: 32px;
        height: 32px;
    }

    .pgasi-logo-dropzone {
        padding: 20px;
    }
}
