@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Custom styles */
.mobile-container {
    max-width: 448px;
    margin: 0 auto;
    min-height: 100vh;
    background: white;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 448px;
    background: white;
    border-top: 1px solid #e5e7eb;
    z-index: 50;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    text-decoration: none;
    color: #6b7280;
    transition: color 0.2s;
}

.nav-item.active {
    color: #2563eb;
}

.nav-item:hover {
    color: #2563eb;
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0.25rem;
}

.nav-label {
    font-size: 0.75rem;
    line-height: 1rem;
}

/* Form styles */
.form-container {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
}

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

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

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

/* Card styles */
.card {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Loading states */
.htmx-request {
    opacity: 0.5;
    pointer-events: none;
}

/* Status indicators */
.status-available {
    color: #059669;
}

.status-away {
    color: #dc2626;
}

.status-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-dot.available {
    background-color: #10b981;
}

.status-dot.away {
    background-color: #ef4444;
}

/* Calendar styles */
.calendar-grid {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
}

.calendar-day {
    min-height: 5rem;
    transition: all 0.2s;
}

.calendar-day:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-indicator {
    font-size: 0.65rem;
    padding: 0.125rem 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-day-empty {
    min-height: 5rem;
}

/* Grid layout for calendar */
.grid-cols-7 {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.gap-1 {
    gap: 0.25rem;
}
