/* Tidy Casa Price Compare Widget Styles */
.tc-price-compare {
    --tc-primary: #dd7253;
    --tc-primary-foreground: #ffffff;
    --tc-background: #ffffff;
    --tc-foreground: #466168;
    --tc-muted: #f1f5f9;
    --tc-muted-foreground: #64748b;
    --tc-border: #e2e8f0;
    --tc-card: #ffffff;
    --tc-card-border: #e2e8f0;
    
    font-family: inherit;
    font-size: inherit;
    max-width: 42rem;
    margin: 0 auto;
    color: var(--tc-foreground);
}

.tc-price-compare * {
    box-sizing: border-box;
}

.tc-card {
    /* Outer container styling removed - add via WordPress */
}

.tc-card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.tc-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25em;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--tc-foreground);
}

.tc-card-title svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--tc-primary);
}

.tc-card-subtitle {
    color: var(--tc-muted-foreground);
    margin: 0;
}

.tc-card-content {
    padding: 1.5rem;
}

.tc-selector-section {
    margin-bottom: 1.5rem;
}

.tc-selector-label {
    display: block;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tc-select {
    width: 100%;
    height: 2.5em;
    padding: 0 1em;
    font-size: 1em;
    font-family: inherit;
    border: 1px solid var(--tc-border);
    border-radius: 0.375rem;
    background: var(--tc-background);
    color: var(--tc-foreground);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

.tc-select:focus {
    outline: none;
    border-color: var(--tc-primary);
    box-shadow: 0 0 0 2px rgba(221, 114, 83, 0.2);
}

.tc-compare-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .tc-compare-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tc-compare-card {
    padding: 1rem;
    border-radius: 0.5rem;
}

.tc-compare-card--care {
    background: var(--tc-card);
    border: 1px solid var(--tc-card-border);
}

.tc-compare-card--service {
    background: rgba(221, 114, 83, 0.05);
    border: 2px solid rgba(221, 114, 83, 0.3);
}

.tc-compare-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tc-compare-header--care {
    color: var(--tc-muted-foreground);
}

.tc-compare-header--service {
    color: var(--tc-primary);
}

.tc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--tc-primary);
    color: var(--tc-primary-foreground);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.tc-badge svg {
    width: 0.75rem;
    height: 0.75rem;
}

.tc-price-section {
    margin-bottom: 1rem;
}

.tc-price-label {
    font-size: 0.875em;
    color: var(--tc-muted-foreground);
    margin-bottom: 0.25rem;
}

.tc-price-value {
    font-size: 1.25em;
    font-weight: 700;
}

.tc-price-value--service {
    font-size: 1.5em;
    color: var(--tc-primary);
}

.tc-addons-section {
    margin-bottom: 1rem;
}

.tc-addons-title {
    font-size: 0.875em;
    font-weight: 500;
    color: var(--tc-muted-foreground);
    margin-bottom: 0.5rem;
}

.tc-addons-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tc-addons-list li {
    display: flex !important;
    visibility: visible !important;
}

.tc-addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875em;
    padding: 0.25rem 0;
}

.tc-addon-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tc-addon-name svg {
    width: 1rem;
    height: 1rem;
    color: var(--tc-muted-foreground);
}

.tc-addon-name--service svg {
    color: var(--tc-primary);
}

.tc-addon-price {
    color: var(--tc-muted-foreground);
    font-weight: 500;
}

.tc-included-item {
    display: flex !important;
    visibility: visible !important;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875em;
    padding: 0.25rem 0;
    list-style: none !important;
    margin: 0 !important;
}

.tc-included-item--highlight {
    font-weight: 500;
}

.tc-included-item svg {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    flex-shrink: 0;
    color: var(--tc-primary);
    display: inline-block !important;
    visibility: visible !important;
}

.tc-total-section {
    padding-top: 1rem;
    border-top: 1px solid var(--tc-border);
}

.tc-total-section--service {
    border-top-color: rgba(221, 114, 83, 0.2);
}

.tc-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tc-total-label {
    font-weight: 600;
}

.tc-total-value {
    font-size: 1.5em;
    font-weight: 700;
}

.tc-total-value--service {
    color: var(--tc-primary);
}

.tc-savings-card {
    background: var(--tc-primary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.tc-savings-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.tc-savings-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--tc-primary-foreground);
    margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
    .tc-savings-value {
        font-size: 3em;
    }
}

.tc-savings-footer {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
}

.tc-savings-link {
    display: block;
    text-decoration: none;
}

.tc-savings-card--clickable {
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    box-sizing: border-box;
    margin: 0;
    outline: 0;
    background: transparent;
    padding: 0.3em 1em;
    line-height: 1.7em;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid #DD7153;
    transition: all 300ms ease 0ms;
    position: relative;
    text-shadow: 0em 0em 0.21em rgba(0,0,0,0.4);
    box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.3);
    width: 100%;
    display: inline-block;
    background-color: #dd7152;
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: 1px;
    color: #FFFFFF;
    border-radius: 5px;
    background-image: linear-gradient(180deg, #dd7153 0%, #dd8263 100%);
    cursor: pointer;
}

.tc-savings-card--clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.4);
}

.tc-savings-card--clickable:active {
    transform: translateY(0);
}

.tc-savings-text {
    text-align: center;
    padding: 1rem 0;
}

.tc-savings-header {
    display: block;
    font-size: 1.25em;
    font-weight: 700;
    color: var(--tc-foreground);
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

.tc-savings-header .tc-savings-amount {
    color: var(--tc-primary);
}

@media (min-width: 768px) {
    .tc-savings-header {
        font-size: 1.5em;
    }
}

.tc-cta-text {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--tc-primary-foreground);
    margin: 0;
}

@media (min-width: 768px) {
    .tc-cta-text {
        font-size: 1.5em;
    }
}
