.zdrive-downloads {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.zdrive-dl-btn {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    padding: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.zdrive-dl-btn:hover {
    background: #AC8510;
}

.zdrive-dl-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.zdrive-dl-box {
    background: #fff;
    padding: 24px;
    width: 90%;
    max-width: 360px;
    text-align: center;
}

.zdrive-dl-box h3 {
    margin-bottom: 12px;
}

.zdrive-dl-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
}

.zdrive-dl-submit {
    background: #AC8510;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.zdrive-dl-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
}

.zdrive-dl-submit:hover {
    background: #000;
    color: #fff;
}

/* ======================================================
   FIX: Prevent popup auto-open on page load
   (Respects hidden attribute set by JS)
   ====================================================== */
.zdrive-dl-popup[hidden] {
    display: none !important;
}

/* ======================================================
   IMPROVEMENT: Proper close button positioning
   ====================================================== */
.zdrive-dl-box {
    position: relative; /* required for close button */
}

/* ======================================================
   iOS tap / focus fixes (no visual change)
   ====================================================== */
.zdrive-dl-btn,
.zdrive-dl-submit,
.zdrive-dl-close {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
