/* Mobile Native App Styles */

/* Header styling */
.header-native {
    background-color: #4f46e5;
    color: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-native h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.header-native p {
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
    opacity: 0.9;
}

/* Card styling */
.card-native {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    color: #6b7280;
    font-size: 0.75rem;
    text-decoration: none;
}

.bottom-nav-item.active {
    color: #4f46e5;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    appearance: none;
    background-color: white;
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    outline: 2px solid #4f46e5;
    border-color: #4f46e5;
}

/* Buttons */
.btn-primary {
    background-color: #4f46e5;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

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

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Mobile responsive adjustments */
@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

/* Hide scrollbar but allow scrolling */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Floating action button */
.fab {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    background-color: #4f46e5;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40;
}

.fab i {
    font-size: 1.5rem;
}
