/* TeleCare Pricing Manager - Compatible with theme styles */
/* Minimal necessary styles only - theme CSS handles the rest */

/* Grid container */
#cards-prices .e-con-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

@media (min-width: 768px) {
    #cards-prices .e-con-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    #cards-prices .e-con-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contract checkboxes - hide native checkbox */
.contract-checkbox {
    display: none;
}

/* Icon mark container */
.icon-mark {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-mark label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  
    border-radius: 4px;
   
    transition: all 0.3s ease;
}

.icon-mark label:hover {
   
}

/* SVG styling */
.icon-mark svg {
    opacity: 0.1;
    transition: opacity 0.3s ease;
    width: 19px;
    height: 16px;
}

/* When checkbox is checked, show SVG */
.contract-checkbox:checked + label {

}

.contract-checkbox:checked + label svg {
    opacity: 1;
}

/* Contract options container */
.flex-item.contract-option {
    padding: 20px;
    border-style: solid;
    border-width: 1px;
    border-color: #4BA4CA;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.flex-item.contract-option:hover {
    background-color: #f0f8ff;
    border-color: #357a96;
}

.flex-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.flex-item p {
    margin: 0;
    flex: 1;
}

.flex-item p span {
    font-weight: bold;
    font-size: 1.1em;
    color: #2c3e50;
}

/* Price animation */
.price-value {
    transition: all 0.3s ease;
}

.price-value.changing {
    color: #f25805;
    transform: scale(1.05);
}

/* Button loading state */
.card-button.loading {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.card-button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: telecare-spin 0.8s linear infinite;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.card-button.success {
    background-color: #28a745;
    border-color: #28a745;
}

.card-button.error {
    background-color: #dc3545;
    border-color: #dc3545;
}

@keyframes telecare-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Cards grid */
.pregledkartica {
    gap: var(--row-gap, 20px) var(--column-gap, 20px);
    height: 100%;
    margin: 0 auto;
    padding-inline-end: 0;
    padding-inline-start: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .pregledkartica {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .pregledkartica {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card styling */
.elementor-element .card {
    padding: 70px 0px 55px 30px;
    margin-top: auto;
    height: max-content;
    padding-bottom: 40px;
}

div#card2 {
    padding-top: 15px;
}

/* Obligation text animation */
.obligation-text {
    transition: opacity 0.3s ease;
}

/* Responsive contract options */
@media (max-width: 767px) {
    .flex-item.contract-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
   
}

 .icon-mark svg {
        margin-top: 10px;
    }