@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #007AFF;
    --color-primary-dark: #0051D5;
    --color-success: #34C759;
    --color-warning: #FF9500;
    --color-error: #FF3B30;
    --color-purple: #AF52DE;
    --color-pink: #FF2D55;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --bg-tertiary: #FAFAFA;
    
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-tertiary: #6E6E73;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    animation: fadeInDown 0.6s ease-out forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5856D6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-header {
    margin-bottom: 32px;
}

.card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.card-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.card-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0051D5 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-delete {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-delete:hover {
    background: rgba(255, 59, 48, 0.1);
    color: var(--color-error);
    transform: scale(1.1);
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    background: white;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    animation: modalIn 0.3s ease-out 0.1s forwards;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1.5px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-positive {
    border-color: rgba(52, 199, 89, 0.3);
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.05) 0%, rgba(52, 199, 89, 0.02) 100%);
}

.category-negative {
    border-color: rgba(255, 59, 48, 0.3);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.05) 0%, rgba(255, 59, 48, 0.02) 100%);
}

.category-improve {
    border-color: rgba(255, 149, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.05) 0%, rgba(255, 149, 0, 0.02) 100%);
}

.category-commitment {
    border-color: rgba(0, 122, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%);
}

.category-kudos {
    border-color: rgba(175, 82, 222, 0.3);
    background: linear-gradient(135deg, rgba(175, 82, 222, 0.05) 0%, rgba(175, 82, 222, 0.02) 100%);
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.item-card {
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.item-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-secondary);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-dots {
    display: flex;
    gap: 6px;
}

.loader-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer {
    padding: 24px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.4s forwards;
}

.countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 22px;
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-warning {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.15) 0%, rgba(255, 149, 0, 0.05) 100%);
    color: var(--color-warning);
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.badge-info {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 122, 255, 0.05) 100%);
    color: var(--color-primary);
    border: 1px solid rgba(0, 122, 255, 0.3);
}

/* Room page layout */
.room-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-self: flex-start;
}

.room-header-wrapper {
    margin-bottom: 24px;
}

.room-header-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.room-header-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.room-header-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.room-header-accent {
    flex: 1;
    height: 2px;
    min-width: 60px;
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
    opacity: 0.5;
    border-radius: 2px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--color-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.badge-warning i {
    font-size: 12px;
}

.room-header-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    word-break: break-word;
    line-height: 1.3;
}

.room-header-code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.room-header-code-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-header-code-pill {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.room-header-qr,
.room-header-share {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.room-header-timer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 200px;
}

/* Category buttons - responsive grid */
.category-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.btn-category {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    justify-content: center;
    white-space: nowrap;
}

.btn-category-positive {
    background: white;
    color: var(--color-success);
    border: 2px solid rgba(52, 199, 89, 0.5);
}

.btn-category-positive:hover {
    background: rgba(52, 199, 89, 0.08);
}

.btn-category-negative {
    background: white;
    color: var(--color-error);
    border: 2px solid rgba(255, 59, 48, 0.4);
}

.btn-category-negative:hover {
    background: rgba(255, 59, 48, 0.08);
}

.btn-category-improve {
    background: white;
    color: var(--color-warning);
    border: 2px solid rgba(255, 149, 0, 0.4);
}

.btn-category-improve:hover {
    background: rgba(255, 149, 0, 0.08);
}

.btn-category-commitment {
    background: white;
    color: var(--color-primary);
    border: 2px solid rgba(0, 122, 255, 0.4);
}

.btn-category-commitment:hover {
    background: rgba(0, 122, 255, 0.08);
}

.btn-category-kudos {
    background: white;
    color: var(--color-purple);
    border: 2px solid rgba(175, 82, 222, 0.4);
}

.btn-category-kudos:hover {
    background: rgba(175, 82, 222, 0.08);
}

/* Category grid - 5 columns on desktop, matches button order */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.category-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-label-positive { color: var(--color-success); }
.category-label-negative { color: var(--color-error); }
.category-label-improve { color: var(--color-warning); }
.category-label-commitment { color: var(--color-primary); }
.category-label-kudos { color: var(--color-purple); }

.category-items {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
}

.category-empty {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

.item-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.item-card-content {
    flex: 1;
    min-width: 0;
}

.item-add-button {
    padding: 16px 24px;
    font-size: 15px;
    border-radius: var(--radius-xl);
    justify-content: center;
}

.room-header-close-form {
    margin-top: 10px;
}

.btn-close-inputs {
    padding: 8px 16px;
    font-size: 13px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.scrollbar-custom::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollbar-custom::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.scrollbar-custom::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.fade-in-stagger > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.fade-in-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.fade-in-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.fade-in-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.fade-in-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.fade-in-stagger > *:nth-child(5) { animation-delay: 0.5s; }

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.bounce-enter {
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1024px) {
    .card {
        padding: 32px;
    }
}

@media (max-width: 1024px) {
    .category-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: 0 16px;
    }
    
    .main-content {
        padding: 24px 0;
    }
    
    .card {
        padding: 28px 24px;
    }
    
    .card-title {
        font-size: 26px;
    }
    
    .header {
        padding: 16px 0;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .tagline {
        display: none;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .modal {
        padding: 24px;
        width: 95%;
    }
    
    .room-header-card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }
    
    .room-header-title {
        font-size: 20px;
    }
    
    .room-header-timer {
        align-items: stretch !important;
        min-width: 0 !important;
        width: 100%;
    }
    
    .room-header-timer .badge {
        width: 100%;
        justify-content: center;
    }
    
    .room-header-timer .countdown {
        width: 100%;
        justify-content: center;
    }
    
    .room-header-code-row {
        width: 100%;
        justify-content: space-between;
    }
    
    .room-header-share {
        margin-left: auto;
    }
    
    .category-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }
    
    .btn-category {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 24px 20px;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .card-label {
        font-size: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .countdown {
        font-size: 15px;
        padding: 8px 16px;
    }
    
    .badge {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .category-card {
        padding: 16px;
    }
    
    .category-title {
        font-size: 13px;
    }
    
    .input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .modal {
        padding: 20px;
        margin: 16px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .room-header-wrapper {
        margin-bottom: 20px;
    }
    
    .room-header-card {
        padding: 16px !important;
    }
    
    .room-header-title {
        font-size: 18px;
    }
    
    .room-header-code-pill {
        font-size: 12px;
        letter-spacing: 0.15em;
    }
    
    .room-header-timer {
        width: 100%;
    }
    
    .room-header-timer .countdown {
        width: 100%;
        justify-content: center;
    }
    
    .category-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .btn-category {
        width: 100%;
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-items {
        max-height: 220px;
    }
}

input[type="datetime-local"],
input[type="date"],
input[type="time"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 18px;
}

textarea {
    font-family: inherit;
    resize: vertical;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23007AFF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}
