/* Popup AC.ME - Style DMV/Drummondville */
.acme-dmv-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 20000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.acme-dmv-overlay.active {
    display: flex;
}

.acme-dmv-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: acmeDmvSlide 0.35s ease;
}

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

.acme-dmv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.2s;
}
.acme-dmv-close:hover {
    background: #f0f0f0;
    color: #222;
    transform: rotate(90deg);
}

.acme-dmv-header {
    background: linear-gradient(135deg, #00587C 0%, #009FDA 100%);
    padding: 20px 22px 16px;
    color: #fff;
}

.acme-dmv-header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.acme-dmv-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.acme-dmv-tag {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.acme-dmv-header p {
    font-size: 0.88rem;
    opacity: 0.9;
    margin: 0;
}

.acme-dmv-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.acme-dmv-body {
    padding: 20px 22px;
}

.acme-dmv-body h2 {
    font-size: 1.2rem;
    color: #00587C;
    margin: 0 0 8px;
    font-weight: 700;
}

.acme-dmv-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 16px;
}

.acme-dmv-body p strong {
    color: #00587C;
}

.acme-dmv-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.acme-dmv-feature {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.83rem;
    color: #333;
    background: #f0f7fb;
    border-radius: 6px;
    padding: 7px 10px;
    font-weight: 500;
}

.acme-dmv-feature i {
    color: #009FDA;
    width: 14px;
    flex-shrink: 0;
}

.acme-dmv-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.acme-dmv-btn-primary {
    display: block;
    padding: 12px;
    background: linear-gradient(135deg, #00587C 0%, #009FDA 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(0, 88, 124, 0.3);
}

.acme-dmv-btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.acme-dmv-btn-later {
    background: none;
    border: none;
    color: #999;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 6px;
    text-align: center;
    width: 100%;
    transition: color 0.2s;
}
.acme-dmv-btn-later:hover { color: #555; }

.acme-dmv-footer {
    padding: 8px 22px 16px;
    text-align: center;
    font-size: 0.75rem;
    color: #bbb;
}

@media (max-width: 480px) {
    .acme-dmv-features {
        grid-template-columns: 1fr;
    }
}
