/* --- Word to Excel Converter Tool Styles --- */

.w2e-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.w2e-header {
    text-align: center;
    margin-bottom: 25px;
}

.w2e-header h3 {
    color: #1a73e8;
    margin-bottom: 5px;
    font-weight: 600;
}

.w2e-header h3 i {
    color: #2b579a; /* Word Blue */
}

.w2e-header p {
    color: #666;
    font-size: 14px;
}

/* Dropzone Styling */
.w2e-dropzone {
    border: 2px dashed #c0ccda;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 20px;
}

.w2e-dropzone.dragover {
    background: #e1f0ff;
    border-color: #1a73e8;
}

.w2e-icon-large {
    font-size: 40px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.w2e-dropzone p {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
}

.w2e-dropzone span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 15px;
}

.w2e-browse-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    color: #334155;
    font-weight: 500;
}

.w2e-browse-btn:hover {
    background: #e2e8f0;
}

.w2e-file-name {
    margin-top: 15px;
    font-weight: 600;
    color: #10b981;
    word-break: break-all;
}

/* Progress Bar */
.w2e-progress-container {
    width: 100%;
    background-color: #e2e8f0;
    border-radius: 6px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.w2e-progress-bar {
    width: 0%;
    height: 100%;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

/* Messages */
.w2e-messages {
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 6px;
}
.w2e-messages.error {
    padding: 10px;
    background: #fee2e2;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}
.w2e-messages.success {
    padding: 10px;
    background: #d1fae5;
    color: #047857;
    border-left: 4px solid #10b981;
}

/* Buttons */
.w2e-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.w2e-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.w2e-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.w2e-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.w2e-btn-primary {
    background-color: #1a73e8;
    color: white;
}

.w2e-btn-primary:hover:not(:disabled) {
    background-color: #1557b0;
    color: white;
}

.w2e-btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.w2e-btn-secondary:hover {
    background-color: #e2e8f0;
}

.w2e-btn-success {
    background-color: #10b981; /* Excel Green */
    color: white;
    width: 100%;
}

.w2e-btn-success:hover {
    background-color: #059669;
    color: white;
}

/* Download Area */
.w2e-download-area {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 480px) {
    .w2e-container {
        padding: 20px;
    }
    .w2e-actions {
        flex-direction: column;
    }
    .w2e-btn {
        width: 100%;
    }
}