.trade-in-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.trade-in-popup-overlay.active {
    opacity: 1;
}
.trade-in-popup-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 96%;
    display: flex;
    flex-direction: column;
}
.trade-in-popup-overlay.active .trade-in-popup-content {
    transform: translateY(0);
}
.trade-in-popup-header {
    background: var(--clr-primary);
    color: #fff;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}
.trade-in-popup-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #fff;
}
.trade-in-popup-header p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}
.trade-in-popup-body {
    padding: 20px;
    overflow-y: auto;
}
.trade-in-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: #333;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trade-in-popup-close:hover {
    background: #f1f1f1;
    color: #e74c3c;
}
