.qr-generator-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.qr-generator-container h3 {
    text-align: center;
    color: #2c3338;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
}

.qr-input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.qr-content-input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.qr-content-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.qr-generate-btn,
.qr-download-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.qr-generate-btn {
    background: #007cba;
    color: white;
}

.qr-generate-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.qr-generate-btn:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
    transform: none;
}

.qr-download-btn {
    background: #28a745;
    color: white;
}

.qr-download-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.qr-result-section {
    text-align: center;
}

.qr-code-container {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-code-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.qr-code-caption {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.qr-error-message {
    color: #d63638;
    background: #fcf0f1;
    padding: 12px 15px;
    border: 1px solid #d63638;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 500;
}

.qr-loading {
    color: #007cba;
    font-weight: 500;
    padding: 15px;
    background: #f0f6fc;
    border: 1px solid #007cba;
    border-radius: 8px;
    margin: 15px 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .qr-input-section {
        flex-direction: row;
        align-items: center;
    }
    
    .qr-content-input {
        flex: 1;
    }
    
    .qr-generate-btn,
    .qr-download-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .qr-generator-container {
        margin: 10px;
        padding: 20px;
    }
    
    .qr-generator-container h3 {
        font-size: 20px;
    }
}