* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.tcp-container {
    margin: 0 auto;
    max-width: 900px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background-color: white;
}

.tcp-header {
    background-color: #28a745;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

.tcp-shield-icon {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: 24px;
}

.tcp-header-text {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}

.tcp-table {
    width: 100%;
    border-collapse: collapse;
}

.tcp-plan-headers td {
    padding: 20px;
    background-color: #f9fafb;
    text-align: center;
    vertical-align: top;
    border-bottom: 1px solid #eaeaea;
}

.tcp-plan-headers td:first-child {
    background-color: white;
    border-right: 1px solid #eaeaea;
}

.tcp-plan-col {
    width: 33.33%;
    position: relative;
}

.tcp-plan-col:first-of-type {
    border-right: 1px solid #eaeaea;
}

.tcp-plan-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.tcp-plan-price {
    font-size: 18px;
    color: #333;
    margin-top: 8px;
}

.tcp-price-cents {
    font-size: 12px;
    vertical-align: super;
}

.tcp-popular-badge {
    position: absolute;
    top: 0;
    right: 15px;
    background-color: #ffc107;
    color: #333;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
}

.tcp-feature-row td {
    border-bottom: 1px solid #eaeaea;
    height: 68px;
    vertical-align: middle;
}

.tcp-feature-row td:not(:first-child) {
    text-align: center;
    background-color: #f9fafb;
}

.tcp-feature-row td:first-child {
    padding: 0 16px;
    border-right: 1px solid #eaeaea;
}

.tcp-feature-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.tcp-feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.tcp-toggle-icon {
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    background-color: #f8f8f8;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tcp-check-icon {
    color: #28a745;
    font-size: 22px;
    font-weight: bold;
}

.tcp-x-icon {
    color: #ddd;
    font-size: 22px;
    font-weight: bold;
}

.tcp-cart-row td {
    border-bottom: none;
    padding: 16px;
}

.tcp-cart-row td:not(:first-child) {
    background-color: #f9fafb;
    text-align: center;
}

.tcp-radio-button {
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.tcp-radio-selected {
    width: 18px;
    height: 18px;
    border: 2px solid #28a745;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    position: relative;
}

.tcp-radio-selected::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}

.tcp-remove-container {
    display: flex;
    align-items: center;
}

.tcp-cart-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tcp-remove-text {
    color: #28a745;
    font-size: 15px;
}

.tcp-cart-text {
    color: #333;
    font-size: 15px;
}

.tcp-read-more {
    color: #0066cc;
    text-decoration: none;
    margin-left: 5px;
    font-size: 15px;
}

.tcp-terms {
    margin-top: 10px;
    text-align: center;
}

.tcp-terms a {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.tcp-confirmation {
    padding: 16px;
    border-top: 1px solid #eaeaea;
    background-color: #f9fafb;
}

.tcp-checkbox-container {
    display: flex;
    align-items: flex-start;
}

.tcp-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #aaa;
    border-radius: 3px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.tcp-checkbox-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* Styles for the confirmation popup */
.tcp-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.tcp-popup {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tcp-popup-content {
    text-align: center;
}

.tcp-popup-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.tcp-popup-icon {
    margin: 0 auto 16px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
}

.tcp-popup-message {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.tcp-popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.tcp-popup-button {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    flex: 1;
    margin: 0 8px;
}

.tcp-popup-button-decline {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dadce0;
}

.tcp-popup-button-confirm {
    background-color: #1a73e8;
    color: white;
    border: none;
}

/* Add these rules to your existing tcp-styles.css file */

/* Feature details toggle functionality */
.tcp-feature-details-row {
    background-color: #f9fafb;
    border-bottom: 1px solid #eaeaea;
}

.tcp-feature-details {
    padding: 15px 20px;
    color: #333;
}

.tcp-feature-list {
    list-style-type: none;
    padding-left: 10px;
    margin: 0;
}

.tcp-feature-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.tcp-feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #28a745;
}

.tcp-feature-list li:last-child {
    margin-bottom: 0;
}

.tcp-feature-list li strong {
    color: #333;
    font-weight: 600;
}

.tcp-hidden {
    display: none;
}

/* Add rotation animation to toggle icon */
.tcp-toggle-icon svg {
    transition: transform 0.3s ease;
}

.tcp-toggle-icon .tcp-toggle-open {
    transform: rotate(180deg);
}

/* Add these style updates to your tcp-styles.css file */

/* Improved radio button styling */
.tcp-radio-button, .tcp-radio-selected {
    min-width: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    flex-shrink: 0; /* Prevent radio button from shrinking */
}

.tcp-radio-selected {
    border: 2px solid #28a745;
    position: relative;
}

.tcp-radio-selected::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}

/* Improved container styling */
.tcp-remove-container {
    display: flex;
    align-items: flex-start; /* Align to top if text wraps */
    padding-right: 10px; /* Add some padding on the right */
}

.tcp-remove-text {
    color: #28a745;
    font-size: 15px;
    line-height: 1.4; /* Improve line height for readability */
    flex: 1; /* Allow text to take remaining space */
}

/* Ensure consistent alignment for all options */
.tcp-cart-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add padding to improve spacing in the table */
.tcp-cart-row td {
    padding: 16px;
}

.tcp-cart-row td:first-child {
    padding-right: 20px; /* Add more padding for the "No thanks" cell */
}