/* Wise Table Block Styles */

:root {
    --wise-accent-color: #90ce44; /* Default accent color */
}

.wise-table-wrapper {
    margin: 20px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --accent: var(--wise-accent-color);
}

.wise-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.wise-table th, .wise-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.wise-table th {
    background: #f8f9fa;
    font-weight: 700;
}

.wise-table .feature-label {
    text-align: left;
    font-weight: 500;
    color: #444;
    width: 30%;
}

.wise-table .column-header {
    background: #f8f9fa;
}

.wise-table .plan-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.wise-table .plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
}

/* Style 1: Green Accent (Image 1) */
.wise-table-wrapper.style-1 {
    --accent: var(--wise-accent-color, #90ce44);
}

.wise-table-wrapper.style-1 .wise-table th.column-header {
    background: var(--accent);
    color: #fff;
}

.wise-table-wrapper.style-1 .wise-table .plan-name,
.wise-table-wrapper.style-1 .wise-table .plan-price {
    color: #fff;
}

.wise-table-wrapper.style-1 .check-icon {
    color: var(--accent);
    font-size: 1.5rem;
}

.wise-table-wrapper.style-1 .wise-table-button {
    display: inline-block;
    padding: 12px 25px;
    background: #fff;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wise-table-wrapper.style-1 .wise-table-button:hover {
    background: var(--accent);
    color: #fff;
}

/* Style 2: Blue/Orange Gradient (Image 2) */
.wise-table-wrapper.style-2 {
    --accent: var(--wise-accent-color, #3498db);
}

.wise-table-wrapper.style-2 .wise-table th:first-child {
    background: #f39c12;
    color: #fff;
}

.wise-table-wrapper.style-2 .wise-table th.column-header {
    background: var(--accent);
    color: #fff;
}

.wise-table-wrapper.style-2 .wise-table-button {
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
}

/* Style 3: Dark Header (Image 3) */
.wise-table-wrapper.style-3 {
    --accent: var(--wise-accent-color, #2c3e50);
}

.wise-table-wrapper.style-3 .wise-table thead tr th {
    background: var(--accent);
    color: #ecf0f1;
}

.wise-table-wrapper.style-3 .wise-table .plan-name,
.wise-table-wrapper.style-3 .wise-table .plan-price {
    color: #fff;
}

.wise-table-wrapper.style-3 .check-icon {
    color: var(--accent);
}

/* Style 4: Distinct Rounded Headers (Image 4) */
.wise-table-wrapper.style-4 {
    --accent: var(--wise-accent-color, #6e8efb);
}

.wise-table-wrapper.style-4 .wise-table {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.wise-table-wrapper.style-4 .wise-table th.column-header {
    border-radius: 10px 10px 0 0;
    background: var(--accent);
    color: #fff;
}

.wise-table-wrapper.style-4 .wise-table-button {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    padding: 12px 20px;
}

/* Icons Styles */
.check-icon {
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2rem;
}

.cross-icon {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Editor Tools */
.wise-table-editor-tools {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border: 1px dashed #ccc;
}

.wise-table-tool-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wise-table-tool-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.wise-table-button-group {
    display: flex;
    gap: 5px;
}
