* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dealer-popup-container {
    display: none;
    position: absolute;
    transform: translate(-50%, -50%);
    top: calc(50% - 35px);
    left: 50%;
    height: auto;
    min-width: 200px;
    max-width: 400px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.dealer-popup-container.show-flex {
    display: flex !important;
    opacity: 1;
}

.dealer-popup-container.hide {
    display: none !important;
}

.dealer-popup-container.fade-out {
    opacity: 0;
}

.dealer-popup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: calc(100% - 20px);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #0f3460;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(15, 52, 96, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
}

.dealer-popup-subdued {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #64b5f6;
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: transparent;
}

.dealer-popup {
    color: #ffffff;
    width: 100%;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0;
    background: transparent;
}