/**
 * EEZYCLOUD Product Configurator - Public Styles
 */

/* Vertical Selector */
.eezycloud-vertical-selector {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.eezycloud-vertical-selector h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.eezycloud-vertical-selector .subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.vertical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.vertical-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.vertical-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.vertical-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vertical-card:hover {
    border-color: #5B9BD5;
    box-shadow: 0 8px 20px rgba(91, 155, 213, 0.15);
    transform: translateY(-5px);
}

.vertical-icon {
    font-size: 3em;
    color: #5B9BD5;
    margin-bottom: 15px;
}

.vertical-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.vertical-card .description {
    font-size: 0.95em;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-select-vertical {
    background: #5B9BD5;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-select-vertical:hover {
    background: #4A8AC4;
}

/* Service Configurator */
.eezycloud-service-configurator {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #f9f9f9;
}

.eezycloud-service-configurator h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.eezycloud-service-configurator .subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.configurator-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.services-list {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
}

.service-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.service-item:hover {
    border-color: #5B9BD5;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.service-header label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
}

.service-checkbox {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.service-name {
    color: #2c3e50;
}

.service-description {
    font-size: 0.95em;
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-tiers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tier-badge {
    background: #e8f4fd;
    color: #5B9BD5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.btn-configure {
    background: #5B9BD5;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-configure:hover {
    background: #4A8AC4;
}

/* Configuration Panel */
.configuration-panel {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.configuration-panel h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.config-field {
    margin-bottom: 20px;
}

.config-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.config-input,
.config-multiselect {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1em;
}

.config-input[type="checkbox"] {
    width: auto;
}

.btn-update-config {
    background: #5B9BD5;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.btn-update-config:hover {
    background: #4A8AC4;
}

/* Pricing Summary */
.pricing-summary {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-summary h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.quote-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.quote-table td {
    padding: 12px;
    font-size: 1em;
}

.quote-table .price {
    text-align: right;
    font-weight: 600;
    color: #5B9BD5;
}

.quote-table .discount-row {
    color: #27ae60;
}

.quote-table .total-row {
    border-top: 2px solid #2c3e50;
    font-size: 1.2em;
}

.quote-table .total-row .price {
    color: #2c3e50;
}

.btn-add-to-cart {
    background: #27ae60;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #229954;
}

/* Loading & Error States */
.loading,
.error {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.error {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .vertical-grid[data-columns="2"],
    .vertical-grid[data-columns="4"] {
        grid-template-columns: 1fr;
    }

    .configurator-container {
        grid-template-columns: 1fr;
    }

    .configuration-panel {
        position: static;
    }
}

/* Button Utilities */
.btn-primary {
    background: #5B9BD5;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #4A8AC4;
}

.btn-secondary {
    background: #7f8c8d;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #6c7a7b;
}

/* ═══════════════════════════════════════════════
   5-STEP CONFIGURE FLOW
   ═══════════════════════════════════════════════ */

.eezycloud-configure-flow {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.eezycloud-configure-flow h2 {
    font-size: 2em;
    color: #1B365D;
    margin-bottom: 8px;
}

.eezycloud-configure-flow .step-description {
    font-size: 1.05em;
    color: #64748B;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* ── Progress Bar ── */
.configure-progress {
    margin-bottom: 48px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.8em;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.progress-step.active .step-number {
    background: #1B365D;
    color: #fff;
    box-shadow: 0 2px 8px rgba(27, 54, 93, 0.3);
}

.progress-step.active .step-label {
    color: #1B365D;
}

.progress-step.completed .step-number {
    background: #10B981;
    color: #fff;
}

.progress-step.completed .step-label {
    color: #10B981;
}

.progress-line {
    width: 60px;
    height: 3px;
    background: #E2E8F0;
    margin: 0 4px;
    margin-bottom: 24px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.progress-step.completed ~ .progress-line,
.progress-step.completed + .progress-line {
    background: #10B981;
}

/* ── Steps Container ── */
.configure-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Form Groups ── */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group .required {
    color: #EF4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group select,
.license-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1em;
    color: #1E293B;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.license-input:focus {
    border-color: #1B365D;
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
    outline: none;
}

.help-text {
    display: block;
    margin-top: 6px;
    font-size: 0.85em;
    color: #94A3B8;
}

/* ── Step 1: Industry Cards ── */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.industry-card {
    background: #fff;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.industry-card:hover {
    border-color: #1B365D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 54, 93, 0.08);
}

.industry-card.selected {
    border-color: #1B365D;
    background: #F0F4FA;
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.12);
}

.industry-card i {
    font-size: 2em;
    color: #1B365D;
    margin-bottom: 10px;
    display: block;
}

.industry-name {
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 4px;
    font-size: 0.95em;
}

.industry-desc {
    font-size: 0.8em;
    color: #94A3B8;
    line-height: 1.4;
}

/* ── Step 1: Company Size ── */
.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.size-option {
    cursor: pointer;
    flex: 1;
    min-width: 140px;
}

.size-option input[type="radio"] {
    display: none;
}

.size-card {
    display: block;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.size-option input:checked + .size-card {
    border-color: #1B365D;
    background: #F0F4FA;
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.12);
}

.size-card:hover {
    border-color: #1B365D;
}

.size-card strong {
    display: block;
    color: #1E293B;
    font-size: 1em;
    margin-bottom: 4px;
}

.size-range {
    font-size: 0.85em;
    color: #94A3B8;
}

/* ── Step 2: User Rows ── */
.user-row {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

.user-row:hover {
    border-color: #CBD5E1;
}

.user-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 160px auto;
    gap: 12px;
    align-items: center;
}

.user-fields input,
.user-fields select {
    padding: 10px 14px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 0.95em;
    color: #1E293B;
}

.user-fields input:focus,
.user-fields select:focus {
    border-color: #1B365D;
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
    outline: none;
}

.btn-remove-user {
    background: none;
    border: 2px solid #FCA5A5;
    border-radius: 8px;
    color: #EF4444;
    font-size: 1.2em;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-remove-user:hover {
    background: #FEE2E2;
    border-color: #EF4444;
}

.btn-add-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px dashed #CBD5E1;
    border-radius: 10px;
    padding: 12px 20px;
    color: #64748B;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.btn-add-user:hover {
    border-color: #1B365D;
    color: #1B365D;
    background: #F8FAFC;
}

/* ── Step 3: Catalog Filters ── */
.catalog-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 8px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    background: #fff;
    color: #64748B;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #1B365D;
    color: #1B365D;
}

.filter-btn.active {
    background: #1B365D;
    border-color: #1B365D;
    color: #fff;
}

/* ── Step 3: Catalog Category ── */
.catalog-category {
    margin-bottom: 32px;
}

.category-title {
    font-size: 1.2em;
    color: #1B365D;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E2E8F0;
}

.category-title i {
    margin-right: 8px;
}

/* ── Step 3: Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.product-card {
    background: #fff;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-card:hover {
    border-color: #1B365D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 54, 93, 0.08);
}

.product-card.selected {
    border-color: #10B981;
    background: #F0FDF4;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.product-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-name {
    font-weight: 600;
    color: #1E293B;
    font-size: 0.9em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.license-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-badge.BYOL {
    background: #FEF3C7;
    color: #92400E;
}

.license-badge.SUBSCRIPTION {
    background: #DBEAFE;
    color: #1E40AF;
}

.license-badge.INCLUDED {
    background: #D1FAE5;
    color: #065F46;
}

.product-price {
    font-size: 0.85em;
    color: #64748B;
    margin-top: 8px;
}

/* ── Step 3: Assignment Panel ── */
#assignment-panel {
    background: #fff;
    border: 2px solid #1B365D;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 8px 24px rgba(27, 54, 93, 0.12);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.assignment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.assignment-header img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.assignment-header h3 {
    margin: 0;
    color: #1E293B;
    font-size: 1.2em;
}

.btn-close-panel {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #94A3B8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-close-panel:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.assign-mode {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.assign-option {
    flex: 1;
    cursor: pointer;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px;
    transition: all 0.2s ease;
    display: block;
}

.assign-option input[type="radio"] {
    display: none;
}

.assign-option span {
    display: block;
    font-weight: 600;
    color: #1E293B;
}

.assign-option small {
    display: block;
    font-size: 0.85em;
    color: #94A3B8;
    margin-top: 4px;
}

.assign-option:has(input:checked) {
    border-color: #1B365D;
    background: #F0F4FA;
}

#individual-user-list {
    margin-bottom: 16px;
}

.user-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.user-checkbox:hover {
    background: #F8FAFC;
}

.user-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-assign {
    background: #1B365D;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}

.btn-assign:hover {
    background: #0F2440;
}

/* ── Step 4: License Forms ── */
.license-form-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.license-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.license-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.license-header h3 {
    margin: 0;
    color: #1E293B;
    font-size: 1.1em;
}

.license-summary {
    display: block;
    font-size: 0.85em;
    color: #94A3B8;
    margin-top: 2px;
}

.share-notice {
    background: #DBEAFE;
    border: 1px solid #93C5FD;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 0.9em;
    color: #1E40AF;
}

.share-notice label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.share-notice input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.loading-small {
    padding: 16px;
    text-align: center;
    color: #94A3B8;
    font-size: 0.9em;
}

/* ── Step 5: Review ── */
.review-section {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.review-section h3 {
    color: #1B365D;
    font-size: 1.1em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E2E8F0;
}

.review-item {
    padding: 4px 0;
    color: #475569;
}

.review-user {
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
}

.review-user:last-child {
    border-bottom: none;
}

.review-user strong {
    color: #1E293B;
}

.role-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #E2E8F0;
    border-radius: 10px;
    font-size: 0.75em;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.user-email {
    font-size: 0.85em;
    color: #94A3B8;
    margin-top: 2px;
}

.user-software {
    font-size: 0.85em;
    color: #64748B;
    margin-top: 4px;
}

.review-software-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
}

.review-software-item:last-child {
    border-bottom: none;
}

.assigned-count {
    font-size: 0.85em;
    color: #94A3B8;
}

.review-pricing {
    background: #1B365D;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    color: #fff;
}

.review-pricing h3 {
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.line-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: center;
}

.line-item:last-child {
    border-bottom: none;
}

.line-name {
    font-weight: 500;
}

.line-detail {
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
}

.line-price {
    font-weight: 700;
    text-align: right;
}

.review-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid rgba(255,255,255,0.2);
    font-size: 1.3em;
    font-weight: 700;
}

/* ── Step Actions (Back/Next) ── */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.btn-back {
    background: none;
    border: 2px solid #E2E8F0;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    border-color: #94A3B8;
    color: #334155;
}

.btn-next {
    background: #1B365D;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s ease;
}

.btn-next:hover {
    background: #0F2440;
}

.btn-next:disabled {
    background: #CBD5E1;
    cursor: not-allowed;
}

.btn-checkout {
    background: #10B981;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-checkout:hover {
    background: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* ── Configure Flow Responsive ── */
@media (max-width: 768px) {
    .eezycloud-configure-flow {
        padding: 20px 16px;
    }

    .eezycloud-configure-flow h2 {
        font-size: 1.5em;
    }

    .progress-steps {
        gap: 0;
    }

    .progress-line {
        width: 30px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85em;
    }

    .step-label {
        font-size: 0.65em;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .industry-card {
        padding: 14px;
    }

    .industry-card i {
        font-size: 1.5em;
    }

    .industry-desc {
        display: none;
    }

    .size-options {
        flex-direction: column;
    }

    .user-fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 14px;
    }

    .assign-mode {
        flex-direction: column;
    }

    .line-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .line-price {
        text-align: left;
    }

    .step-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-back,
    .btn-next,
    .btn-checkout {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .company-identity-row {
        flex-direction: column;
        align-items: center;
    }

    .company-logo-preview {
        margin-bottom: 16px;
    }
}

/* ── Company Identity Row (Step 1) ── */
.company-identity-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.company-logo-preview {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.company-logo-preview:has(img) {
    border-style: solid;
    border-color: #00A7E1;
    box-shadow: 0 2px 8px rgba(0, 167, 225, 0.15);
}

.company-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.company-logo-preview .logo-placeholder {
    color: #94a3b8;
    font-size: 32px;
}

.company-identity-fields {
    flex: 1;
    min-width: 0;
}

.company-identity-fields .form-group {
    margin-bottom: 16px;
}

.url-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.url-input-wrapper input[type="url"] {
    flex: 1;
    padding-right: 36px;
}

.url-status {
    position: absolute;
    right: 12px;
    font-size: 16px;
    line-height: 1;
}

.url-status.status-ok {
    color: #10B981;
}

.url-status.status-err {
    color: #EF4444;
}

/* Review page company header with logo */
.review-company-header {
    display: flex;
    gap: 16px;
    align-items: center;
}

.review-company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 4px;
}
