.jpg-to-png-converter {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.converter-header {
    text-align: center;
    margin-bottom: 40px;
}

.converter-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.converter-header .description {
    color: #7f8c8d;
    font-size: 1.1em;
    line-height: 1.6;
}

.converter-container {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e8ed;
}

.upload-section {
    margin-bottom: 30px;
}

.upload-area {
    border: 3px dashed #bdc3c7;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafafa;
}

.upload-area:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.upload-area.dragover {
    border-color: #2ecc71;
    background: #e8f6f3;
}

.upload-area.file-selected {
    border-color: #2ecc71;
    background: #e8f6f3;
}

.upload-content .upload-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
}

.upload-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.upload-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.browse-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.browse-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.file-info {
    background: #e8f4fd;
    border: 1px solid #3498db;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.file-info p {
    margin: 5px 0;
    color: #2c3e50;
}

.conversion-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.conversion-info h4 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.conversion-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conversion-info li {
    padding: 8px 0;
    color: #856404;
    font-size: 0.95em;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-primary {
    background: #2ecc71;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #27ae60;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #e74c3c;
    color: white;
}

.btn-secondary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-success {
    background: #2ecc71;
    color: white;
}

.btn-success:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.result-section {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.download-area h3 {
    color: #155724;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.download-area p {
    color: #155724;
    margin-bottom: 25px;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #3498db;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jpg-to-png-converter {
        padding: 15px;
    }
    
    .converter-container {
        padding: 20px;
    }
    
    .converter-header h2 {
        font-size: 2em;
    }
    
    .upload-area {
        padding: 40px 15px;
    }
    
    .upload-content .upload-icon {
        font-size: 3em;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        min-width: auto;
        width: 100%;
    }
}