/*
 * File: css/excel-to-pdf.css
 * Description: Enterprise Styles for Excel Converter - PREMIUM EDITION
 * Dependencies: tools.css
 */

.full-width-container {
    max-width: 1400px;
}

/* Workspace Layout */
.converter-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 30px;
}

/* 🟢 GLASSMORPHISM UPGRADE */
.panel {
    /* Global glass variables for consistency */
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-height: 500px;
}

.panel:hover {
    transform: translateY(-2px);
    /* Subtle green glow mixed with standard glass shadow */
    box-shadow: 0 15px 50px rgba(33, 115, 70, 0.15); 
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    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 (Left Panel) */
.upload-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(33, 115, 70, 0.3); /* Green tinted dashed border */
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    padding: 20px;
}

.upload-area:hover, .upload-area.dragover {
    background: rgba(33, 115, 70, 0.05);
    border-color: #217346;
}

.upload-icon {
    font-size: 4rem;
    color: #217346;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.upload-subtext {
    color: #666;
    margin-bottom: 20px;
}

.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 rgba(0,0,0,0.1);
}

.divider span {
    padding: 0 10px;
}

/* Cloud Buttons */
.cloud-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cloud-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    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: #217346;
    color: #217346;
    background: white;
}

/* Control Panel (Right Panel) */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0,0,0,0.05);
    color: #666;
}

.status-badge.active {
    background: rgba(33, 115, 70, 0.1);
    color: #15803d;
}

/* Empty State */
.empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* File Card */
.file-details-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: auto;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.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);
}

/* Process Actions */
.process-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-wrapper {
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: #217346;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #217346 0%, #1e6b40 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e6b40 0%, #1a5c37 100%);
    box-shadow: 0 8px 20px rgba(33, 115, 70, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.privacy-note {
    text-align: center;
    color: #666;
    margin-top: 30px;
    background: rgba(33, 115, 70, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(33, 115, 70, 0.1);
}

@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;
    }
}