/* Admire Comparison Table Styles */

.admire-comparison-table-wrapper {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
    margin-bottom: 20px;
    background: #fff;
}

.admire-ct-table {
    width: 100%;
    min-width: 600px; /* Prevent shrinking too much */
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #eeeeee;
}

/* Header Styling */
.admire-ct-table thead.admire-ct-sticky th {
    position: sticky;
    top: 0;
    z-index: 10;
    /* Box shadow to simulate border when sticky */
    box-shadow: 0 1px 0px #eee; 
}

.admire-ct-table th {
    background: #f9f9f9;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #eeeeee;
    vertical-align: top;
    transition: background-color 0.3s ease;
}

.admire-ct-th-features {
    text-align: left !important;
    vertical-align: bottom !important;
    background: #fff !important; /* Usually white or matches site bg */
    border-top: none !important;
}

.admire-ct-th-features h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

/* Package Header Cells */
.admire-ct-package-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.admire-ct-package-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.admire-ct-package-price {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.admire-ct-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7442cb;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.admire-ct-btn:hover {
    background-color: #5d32a8;
}

/* Body Styling */
.admire-ct-table td {
    padding: 15px 20px;
    border: 1px solid #eeeeee;
    text-align: center;
    vertical-align: middle;
    color: #555;
    transition: background-color 0.2s ease;
}

.admire-ct-table tbody tr:hover td {
    background-color: #f9f9fc;
}

/* Feature Info Cell */
.admire-ct-td-feature-info {
    text-align: left !important;
}

.admire-ct-feature-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.admire-ct-feature-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.admire-ct-badge {
    background-color: #7442cb;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.admire-ct-feature-desc {
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

/* Value Icons */
.admire-ct-icon-check {
    font-size: 18px;
    color: #10B981;
}

.admire-ct-icon-cross {
    font-size: 18px;
    color: #EF4444;
}

.admire-ct-value-text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* Modals */
.admire-ct-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999; /* Higher than Elementor editor */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.admire-ct-modal-content {
    background-color: #fff;
    width: 600px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.admire-ct-modal-overlay.show-modal {
    opacity: 1;
    visibility: visible;
}

.admire-ct-modal-overlay.show-modal .admire-ct-modal-content {
    transform: scale(1);
}

.admire-ct-modal-header {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #eee;
}

.admire-ct-modal-close {
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.admire-ct-modal-close:hover {
    color: #333;
}

.admire-ct-modal-body {
    padding: 20px;
    color: #333;
    overflow-y: auto;
    max-height: 75vh;
}
