/* jpg-to-pdf-converter.css */
.converter-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.converter-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.converter-container h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 600;
}

.converter-container .subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.converter-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    border: 2px dashed #e9ecef;
    transition: all 0.3s ease;
}

.converter-card:hover {
    border-color: #3498db;
    background: #fff;
}

.converter-card.dragover {
    border-color: #3498db;
    background: #e3f2fd;
    transform: translateY(-2px);
}

.file-upload-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-placeholder {
    text-align: center;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-placeholder:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

.file-upload-placeholder i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 15px;
    display: block;
}

.file-upload-placeholder p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.file-upload-placeholder strong {
    color: #3498db;
    font-weight: 600;
}

.file-info {
    margin-top: 15px;
    padding: 12px;
    background: #e8f4fc;
    border-radius: 6px;
    display: none;
}

.file-info.show {
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: none;
}

.message.show {
    display: block;
}

.message.error {
    background: #fadbd8;
    border: 1px solid #e74c3c;
    color: #c0392b;
}

.message.success {
    background: #d5f5e3;
    border: 1px solid #27ae60;
    color: #27ae60;
}

.result-container {
    text-align: center;
    margin-top: 30px;
    display: none;
}

.result-container.show {
    display: block;
}

.download-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.download-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.loading.show {
    display: block;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 32px;
    color: #3498db;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.feature-item p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
}

.converter-description {
    margin-bottom: 30px;
	border-top: 1px solid #eee;
    line-height: 1.6;
    color: #555;
}

.converter-description h2 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1.8rem;
    font-weight: 600;
}

.converter-description h3 {
    color: #3498db;
    margin: 20px 0 10px;
    font-size: 1.4rem;
}

.converter-description p {
    margin-bottom: 15px;
}

.competitive-advantages ul {
    list-style-type: none;
    padding-left: 0;
}

.competitive-advantages li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}

.competitive-advantages li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.faq-section {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.faq-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #2c3e50;
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.faq-item p {
    margin: 0;
    color: #7f8c8d;
}

.social-proof {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
}

.social-proof .count {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 10px;
}

.social-proof .testimonial {
    color: #7f8c8d;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.social-proof .author {
    margin-top: 10px;
    font-weight: bold;
}

.related-tools {
    margin-top: 40px;
}

.related-tools h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.related-tools ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.related-tools li {
    flex: 1;
    min-width: 200px;
}

.related-tools a {
    color: #3498db;
    text-decoration: none;
    display: block;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.2s;
}

.related-tools a:hover {
    background: #f0f8ff;
    border-color: #3498db;
}

.privacy-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
    font-style: italic;
}

@media (max-width: 768px) {
    .converter-container {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .converter-card {
        padding: 20px;
    }
    
    .file-upload-placeholder {
        padding: 30px 15px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
    
    .converter-description h2 {
        font-size: 1.5rem;
    }
    
    .converter-description h3 {
        font-size: 1.2rem;
    }
}