/* Frontend styles for ZipSender plugin */

.zipsender-download-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background-color: #f9f9f9;
    position: relative;
}

.zipsender-create-zip-button {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.zipsender-create-zip-button:hover {
    background-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.zipsender-create-zip-button:disabled,
.zipsender-create-zip-button.disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

#zipsender-spinner {
    display: inline-block;
    margin-left: 10px;
    font-style: italic;
    color: #666;
}

.zipsender-info {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.zipsender-info h4 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.zipsender-info ul {
    margin: 15px 0;
    padding-left: 20px;
}

.zipsender-info li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.notice-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #28a745;
}

.notice-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #dc3545;
}

.zipsender-download-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.zipsender-download-link:hover {
    background-color: #218838;
    color: white;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .zipsender-create-zip-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .zipsender-download-section {
        padding: 15px;
    }

    .zipsender-info {
        padding: 15px;
    }
}