/* Image Download Button Plugin Styles */
.idb-download-wrapper {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.idb-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #ffffff;
    color: #333;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    justify-content: center;
}

.idb-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #f8f8f8;
}

.idb-download-btn:active {
    transform: translateY(0);
}

.idb-download-btn svg {
    color: #667eea;
}

.idb-image-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.8;
}

.idb-image-info p {
    margin: 8px 0;
    color: #333;
}

.idb-image-info strong {
    color: #667eea;
}

/* Modal Styles */
.idb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: idb-fadeIn 0.3s ease;
}

.idb-modal-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: idb-slideUp 0.4s ease;
}

.idb-timer-wrapper {
    margin: 20px 0;
}

.idb-timer-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
}

.idb-timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.idb-timer-path {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 6;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.idb-timer-path.active {
    stroke: #667eea;
}

.idb-timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

.idb-ad-above,
.idb-ad-below {
    margin: 15px 0;
    min-height: 50px;
}

.idb-ad-above > *,
.idb-ad-below > * {
    margin: 0;
}

.idb-close-modal {
    margin-top: 20px;
    padding: 10px 30px;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.idb-close-modal:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

/* Animations */
@keyframes idb-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes idb-slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .idb-download-wrapper {
        padding: 15px;
        margin: 20px 0;
    }
    
    .idb-download-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .idb-modal-content {
        padding: 30px 20px;
    }
    
    .idb-timer-circle {
        width: 120px;
        height: 120px;
    }
    
    .idb-timer-text {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .idb-download-wrapper {
        padding: 12px;
    }
    
    .idb-download-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .idb-image-info {
        font-size: 13px;
        padding: 12px;
    }
    
    .idb-timer-circle {
        width: 100px;
        height: 100px;
    }
    
    .idb-timer-text {
        font-size: 24px;
    }
}

