/*
 * File: css/pdf-to-word.css
 * Description: Enterprise Styles for PDF to Word
 * Dependencies: tools.css
 */

.full-width-container {
    max-width: 1400px;
}

.converter-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 30px;
}

/* Glass Panels */
.panel {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    min-height: 500px;
    transition: all 0.3s ease;
}

.panel:hover {
    box-shadow: 0 15px 50px rgba(43, 87, 154, 0.1); /* Word Blue Shadow */
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    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, .upload-area.dragover {
    border-color: #2b579a;
    background: #eaf2ff;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #2b579a;
}

.divider {
    margin: 20px 0;
    display: flex;
    align-items: center;
    width: 100%;
    color: #999;
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 10px;
}

.cloud-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cloud-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.cloud-btn:hover {
    border-color: #2b579a;
    color: #2b579a;
}

/* File Card */
.file-details-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    animation: slideIn 0.3s ease;
}

.file-icon-large {
    font-size: 2.5rem;
}

.file-meta h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.file-meta p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.remove-file-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.remove-file-btn:hover {
    background: rgba(255, 71, 87, 0.1);
}

/* Settings */
.settings-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: auto;
}

.setting-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

select {
    width: 100%;
    padding: 10px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Status Badge */
.status-badge {
    background: #eee;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.status-badge.processing {
    background: #dbeafe;
    color: #2563eb;
}

/* Empty State */
.empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Action Area */
.process-actions {
    margin-top: auto;
}

.progress-wrapper {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: #2b579a;
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.privacy-note {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 0.9rem;
    background: rgba(43, 87, 154, 0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(43, 87, 154, 0.1);
}

/* Notification Override (Top Center) */
#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;
    animation: slideDownFade 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes slideDownFade {
    0% { opacity: 0; transform: translate(-50%, -20px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .converter-workspace {
        grid-template-columns: 1fr;
    }
    
    .panel {
        min-height: auto;
    }
}