/* PDF to JPG Tool Specific Styles */

.image-preview-item {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.preview-header span {
    font-weight: 600;
    color: var(--text-primary);
}

.download-single {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.download-single:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.image-preview-item img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.download-buttons .download-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.download-buttons .download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* How to Use Section */
.how-to-use {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.how-to-use h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.how-to-use ol {
    padding-left: 1.5rem;
}

.how-to-use li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.how-to-use strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Why Choose Section */
.why-choose {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.why-choose h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-choose .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-choose .feature {
    text-align: center;
    padding: 1rem;
}

.why-choose .feature h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.why-choose .feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.faq h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
    }
    
    .download-buttons .download-button {
        width: 100%;
    }
    
    .preview-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .why-choose .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .how-to-use,
    .why-choose,
    .faq {
        padding: 1.5rem;
    }
    
    .image-preview-item img {
        max-height: 300px;
    }
} 

.tool-container {
    background: #fff;
    border: 2px solid #e53935;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tool-header h1 {
    color: var(--primary-color);
}

.tool-button {
    background: var(--primary-color);
    color: #fff;
}

.tool-button:hover:not(:disabled) {
    background: #b71c1c;
} 

@media (max-width: 768px) {
  .mobile-footer {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
    z-index: 100;
    padding: 0.7em 0;
    text-align: center;
  }
  .mobile-footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
  }
}
@media (min-width: 769px) {
  .mobile-footer {
    display: none !important;
  }
} 