#atc-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    z-index: 99999;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 90%;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

#atc-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    color: #333;
    font-weight: 300;
    transition: color 0.2s;
}

#atc-close:hover {
    color: #000;
}

#atc-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
}

#atc-popup h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

#atc-popup h4 {
    margin: 20px 0 15px;
    font-size: 18px;
}

.atc-suggestion-single {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.atc-suggestion-image {
    flex-shrink: 0;
    width: 120px;
}

.atc-suggestion-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.atc-suggestion-details {
    flex: 1;
}

.atc-suggestion-details h5 {
    font-size: 16px;
    margin: 0 0 10px;
    line-height: 1.3;
}

.atc-suggestion-details h5 a {
    text-decoration: none;
    color: inherit;
}

.atc-suggestion-details .price {
    display: block;
    margin: 10px 0 15px;
    font-weight: 600;
    font-size: 18px;
}

.atc-popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.atc-popup-actions .button {
    flex: 1;
    text-align: center;
}

@media (max-width: 600px) {
    #atc-popup {
        padding: 20px 15px;
        width: 95%;
    }
    
    .atc-suggestion-single {
        flex-direction: column;
        text-align: center;
    }
    
    .atc-suggestion-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .atc-popup-actions {
        flex-direction: column;
    }
}