/* -----------------------------------------------
   Timed Download Link Styling
------------------------------------------------- */
.timed-download-link {
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    opacity: 0.6;
    display: block;
    width: 100%;
    text-align: center;
}

.countdown-label {
    font-size: 14px;
    color: #666;
    text-align: center;
    display: block;
}

/* -----------------------------------------------
   Direct Download Button (Adsterra)
------------------------------------------------- */
.direct-download-button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin: 10px 0;
    background: linear-gradient(45deg, #0073aa, #005f8d);
    color: #fff;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, transform 0.2s ease;
}

.direct-download-button:hover {
    background: linear-gradient(45deg, #005f8d, #003f5e);
    transform: scale(1.02);
}

/* -----------------------------------------------
   Download Page Container & Table Styling
------------------------------------------------- */
.download-page-container {
    max-width: 600px;
    margin: 0 auto;
}

.acf-download-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.acf-download-table th,
.acf-download-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.acf-download-table th {
    background: #f7f7f7;
}

/* -----------------------------------------------
   Button Row Styling
------------------------------------------------- */
.button-row {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-main-button,
.secondary-download-buttons,
.telegram-button {
    text-align: center;
    width: 100%;
}

/* Ensure secondary buttons' links are full width */
.secondary-download-buttons a.timed-download-link {
    width: 100%;
}

/* -----------------------------------------------
   Telegram Button Full Width with Icon
------------------------------------------------- */
.telegram-button a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 12px 20px !important;
    background: linear-gradient(45deg, #0088cc, #00aced) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15) !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.telegram-button a:hover {
    background: linear-gradient(45deg, #0077b3, #0099cc) !important;
    transform: scale(1.02) !important;
}

/* -----------------------------------------------
   FAQ Section Styling
------------------------------------------------- */
.download-faq-section {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    cursor: pointer;
    background: #f1f1f1;
    padding: 8px;
    margin: 0;
    font-size: 16px;
}

.faq-answer {
    padding: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* -----------------------------------------------
   Timed Download Container
------------------------------------------------- */
.timed-download-container {
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* -----------------------------------------------
   Responsive Adjustments (for <= 768px)
------------------------------------------------- */
@media (max-width: 768px) {
    .download-page-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
