/* Excel to PDF Specific Styles (Similar to previous tool) */

.file-display-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px 25px;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.file-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.file-info span {
    font-size: 1rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-file-btn {
    background: none;
    border: none;
    color: var(--text-color-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.remove-file-btn:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}

.tool-action .btn-large {
    min-width: 300px;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 13, 26, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    border-radius: 16px;
}

.loading-overlay p {
    color: var(--text-color-light);
    margin-top: 1.5rem;
}

.spinner {
    border: 4px solid var(--card-border);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}