.tc-popin {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    backdrop-filter: blur(2px);
}

.tc-popin.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tc-popin-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    margin: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

.tc-popin-content h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.tc-popin-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #5AA691;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.tc-popin-close:hover {
    transform: scale(1.1);
    background: #386a65;
}

.tc-popin-image {
    margin-bottom: 1.5rem;
    text-align: center;
}

.tc-popin-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tc-popin-content {
        width: 95%;
        max-width: 95%;
        padding: 1.5rem;
    }

    .tc-popin-close {
        width: 28px;
        height: 28px;
    }
}
