/*
 * File: css/word-to-pdf.css
 * Description: Golden Standard Styles for Word Converter
 */

.full-width-container {
    max-width: 1400px;
}

/* Layout */
.converter-workspace {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px;
    min-height: 500px;
}

/* Panels */
.panel {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    height: 100%;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* File List */
.file-list-container {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease;
}

.file-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #2b579a; /* Word Blue */
}

.file-info { flex: 1; }
.file-name { font-weight: 600; font-size: 0.9rem; color: #333; }
.file-meta { font-size: 0.75rem; color: #666; }

.remove-file {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.remove-file:hover { background: rgba(255, 71, 87, 0.1); }

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.setting-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #666;
}

select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

/* Actions */
.action-area {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.progress-bar-container { margin-bottom: 15px; text-align: center; }
.progress-bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.progress-fill { height: 100%; width: 0; background: var(--primary-color); transition: width 0.3s; }
.progress-text { font-size: 0.8rem; color: #666; }

/* Status Badge */
.status-badge {
    background: #eee;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
}

/* Notification Override (Golden Standard) */
#notification {
    top: 30px !important;
    bottom: auto !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 12px !important;
    padding: 15px 30px !important;
    font-size: 1rem !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 300px !important;
    z-index: 99999 !important;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 40px;
}
.empty-state span { font-size: 40px; display: block; margin-bottom: 10px; opacity: 0.3; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .converter-workspace { grid-template-columns: 1fr; }
}