/* Tool Pages Styles */

/* Tool Hero Section */
.tool-hero {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.tool-info h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-color);
}

.tool-info p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Tool Container */
.tool-container {
    padding: 60px 0;
}

.converter-box {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 50px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--medium-gray);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 108, 247, 0.03);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background-color: rgba(74, 108, 247, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-area h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.upload-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    margin: 15px 0;
    cursor: pointer;
    transition: var(--transition);
}

.upload-btn:hover {
    background-color: #3a5ce5;
    transform: translateY(-2px);
}

.file-limit {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Conversion Progress */
.conversion-progress {
    text-align: center;
    padding: 30px 0;
}

.progress-bar-container {
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    transition: width 0.3s ease;
}

#progressStatus {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Conversion Result */
.conversion-result {
    text-align: center;
    padding: 30px 0;
}

.result-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.result-icon.success {
    color: #28a745;
}

.result-icon.error {
    color: #dc3545;
}

.file-info {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 1rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.download-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    background-color: #3a5ce5;
    transform: translateY(-2px);
}

.new-conversion-btn {
    background-color: var(--white);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    border: 1px solid var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.new-conversion-btn:hover {
    background-color: var(--light-gray);
}

/* Tool Features */
.tool-features {
    margin-bottom: 50px;
}

.tool-features h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.tool-features ul {
    list-style: none;
}

.tool-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-features li i {
    color: #28a745;
}

/* How to Use */
.how-to-use h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.steps {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    display: flex;
    gap: 15px;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.step-content p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tool-hero {
        padding: 40px 0;
    }
    
    .tool-info h1 {
        font-size: 1.8rem;
    }
    
    .tool-info p {
        font-size: 1rem;
    }
    
    .converter-box {
        padding: 25px;
    }
    
    .steps {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .result-actions {
        flex-direction: column;
    }
    
    .tool-info h1 {
        font-size: 1.6rem;
    }
}