.image-downloader-frontend {
    max-width: 700px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.id-form-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.id-form-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 24px;
}

.id-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.id-info-box {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 25px;
    color: #004085;
    font-size: 14px;
}

.id-info-box strong {
    font-weight: 600;
}

.id-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.id-message.id-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.id-message.id-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.id-message strong {
    font-weight: 600;
}

.id-message a {
    color: inherit;
    text-decoration: underline;
}

.id-form-group {
    margin-bottom: 20px;
}

.id-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.id-form-group input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.id-form-group input[type="url"]:focus {
    outline: none;
    border-color: #667eea;
}

.id-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.id-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.id-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.id-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.id-btn-loading {
    display: inline-block;
}

@media (max-width: 768px) {
    .image-downloader-frontend {
        margin: 20px 15px;
    }
    
    .id-form-container {
        padding: 20px;
    }
    
    .id-form-container h3 {
        font-size: 20px;
    }
}
