.docx2pptx-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.docx2pptx-container h2 {
    color: #23282d;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.docx2pptx-form-group {
    margin-bottom: 15px;
}

.docx2pptx-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #23282d;
}

.docx2pptx-form-group input[type="file"],
.docx2pptx-form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.docx2pptx-form-group input[type="file"]:focus,
.docx2pptx-form-group select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

#docx2pptx-submit {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

#docx2pptx-submit:hover:not(:disabled) {
    background-color: #005177;
}

#docx2pptx-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.docx2pptx-loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0073aa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: docx2pptx-spin 2s linear infinite;
    margin: 0 auto 15px;
}

@keyframes docx2pptx-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#docx2pptx-status {
    text-align: center;
    padding: 20px;
    background-color: #e8f5e9;
    border-radius: 4px;
    margin: 15px 0;
}

.docx2pptx-download-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.docx2pptx-download-button:hover {
    background-color: #45a049;
    color: white;
    text-decoration: none;
}

#docx2pptx-error {
    color: #d32f2f;
    font-weight: bold;
}

.docx2pptx-api-error {
    background-color: #ffebee;
    border-left: 4px solid #d32f2f;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.docx2pptx-api-warning {
    background-color: #fff8e1;
    border-left: 4px solid #ffa000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.docx2pptx-api-success {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.docx2pptx-api-error p,
.docx2pptx-api-warning p,
.docx2pptx-api-success p {
    margin: 5px 0;
}

#docx2pptx-result {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
}

#docx2pptx-error-details {
    margin-top: 15px;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
}

#docx2pptx-error-technical {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    white-space: pre-wrap;
    font-size: 12px;
    margin: 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.docx2pptx-download-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
    word-break: break-all;
}

/* Progress bar styles */
.progress {
    height: 25px;
    margin-bottom: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    font-size: 12px;
    line-height: 25px;
    color: #fff;
    text-align: center;
    background-color: #0073aa;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    transition: width .6s ease;
}

.progress-bar-striped {
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 40px 40px;
}

.progress-bar-animated {
    animation: progress-bar-stripes 2s linear infinite;
}

@keyframes progress-bar-stripes {
    from { background-position: 40px 0; }
    to { background-position: 0 0; }
}

#docx2pptx-progress {
    margin: 15px 0;
}

#docx2pptx-progress-text {
    margin-top: 8px;
    font-weight: bold;
    text-align: center;
    color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
    .docx2pptx-container {
        margin: 0 10px;
        padding: 15px;
    }
    
    .docx2pptx-container h2 {
        font-size: 1.3em;
    }
    
    #docx2pptx-submit,
    .docx2pptx-download-button {
        padding: 14px 20px;
        font-size: 16px;
    }
} 