.download-header {
    padding: 20px 0;
    text-align: center;
}
.download-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}
.download-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.download-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}
.download-loading {
    display: none;
    align-items: center;
    margin-left: 8px;
}
.download-loading.show {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.download-loading i {
    font-size: 14px;
    animation: spin 1s linear infinite;
    -webkit-animation: spin 1s linear infinite;
    display: inline-block;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}
.share-btn:hover {
    transform: translateY(-2px);
}
.share-btn-facebook {
    background: #1877f2;
}
.share-btn-facebook:hover {
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}
.share-btn-twitter {
    background: #1da1f2;
}
.share-btn-twitter:hover {
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}
.share-btn-linkedin {
    background: #0077b5;
}
.share-btn-linkedin:hover {
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}
.share-btn-email {
    background: #ea4335;
}
.share-btn-email:hover {
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}
.share-btn-copy {
    background: #34a853;
}
.share-btn-copy:hover {
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}
.download-message {
    text-align: center;
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
    -webkit-animation: slideDown 0.3s ease-out;
    visibility: visible !important;
}
.download-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.download-message.error {
    background: #e6f2ff;
    color: #004080;
    border: 1px solid #cce5ff;
}
.download-message.error a {
    color: #004080;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}
.download-message.error a:hover {
    text-decoration: none;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@-webkit-keyframes slideDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
.ad-middle-desktop-only {
    display: block;
}
@media (max-width: 768px) {
    .ad-middle-desktop-only {
        display: none !important;
    }
}
.sidebar-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.sidebar-right iframe {
    margin: 0 auto;
    display: block;
}
