.image-converter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.converter-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.converter-header h2 {
    color: #333;
    margin: 0 0 10px 0;
}

.converter-form .form-group {
    margin-bottom: 20px;
}

.converter-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.converter-form select,
.converter-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.converter-form select:focus,
.converter-form input[type="file"]:focus {
    border-color: #0073aa;
    outline: none;
}

.converter-form button[type="submit"] {
    position: relative;
    padding: 12px 24px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.converter-form button[type="submit"]:hover {
    background: #005a87;
}

.converter-form button[type="submit"] .spinner {
    display: none;
    float: none;
    margin: 0;
    vertical-align: middle;
}

.converter-form button[type="submit"].converting .button-text {
    display: none;
}

.converter-form button[type="submit"].converting .spinner {
    display: inline-block;
}

.file-info {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.result-container {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #28a745;
}

.result-message {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.result-message.success {
    color: #28a745;
}

.result-message.error {
    color: #dc3545;
}

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.download-link {
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
}

.download-link:hover {
    background: #218838;
    color: white;
}

.convert-another {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.convert-another:hover {
    background: #5a6268;
}

.converter-info {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-box {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.info-box h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
    color: #555;
}

/* Admin styles */
.settings-container {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.server-info {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.server-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.server-info li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.server-info li:last-child {
    border-bottom: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .image-converter-container {
        padding: 15px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .converter-info {
        grid-template-columns: 1fr;
    }
}