body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #f3f4f6;
}

.navbar {
    background-color: #1f2937;
    padding: 0.75rem 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #14b8a6;
}

.container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

.card {
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.75rem;
}

.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    width: 150px;
}

.qr-card img {
    max-width: 90px;
    height: auto;
    margin-bottom: 0.25rem;
}

.qr-card p {
    margin: 0.25rem 0;
    color: #4b5563;
    font-size: 0.75rem;
}

.input-field {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.btn {
    padding: 0.375rem 0.5rem; /* Reduced to fit tile */
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.75rem;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: #14b8a6;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0d9488;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
    border: none;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.flex {
    display: flex;
    flex-wrap: wrap; /* Prevent overflow */
}

.justify-between {
    justify-content: space-between;
}

.text-sm {
    font-size: 0.75rem;
}

.text-gray-600 {
    color: #4b5563;
}

.text-teal-600 {
    color: #14b8a6;
}

.text-green-500 {
    color: #22c55e;
}

.text-red-500 {
    color: #ef4444;
}

.text-center {
    text-align: center;
}

.mb-6 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 0.5rem;
}

.space-x-4 > * + * {
    margin-left: 1rem; /* Increased from 0.5rem for more white space */
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.py-12 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.qr-card form {
    width: 100%;
    max-width: 180px;
    margin-top: 0.5rem;
    display: block;
    background: #f9fafb;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.qr-card form .input-field {
    width: 100%;
}

.qr-card form .btn {
    width: 100%;
}