.tool-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.tool-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
}

.tool-container h1 i {
    color: #6366f1;
    margin-right: 0.5rem;
}

.qr-box {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.input-group textarea {
    width: 100%;
    height: 120px;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    resize: vertical;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.option-group select,
.option-group input[type="color"] {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.generate-btn {
    padding: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.generate-btn:hover {
    transform: scale(1.02);
}

.output-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.qr-output {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn {
    padding: 0.8rem 1.5rem;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.download-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.download-btn:not(:disabled):hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .qr-box {
        grid-template-columns: 1fr;
    }
    
    .output-section {
        order: -1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 