/* Custom styles for Gemini App Prototype */

/* General App Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* iOS Status Bar */
.status-bar {
    font-size: 12px;
    padding: 4px 16px;
    background-color: #000;
    color: #fff;
    height: 28px;
}

/* iOS Bottom Navigation */
.ios-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0);
    height: 60px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Remove scrollbar in certain areas */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Message Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Bubble Styling */
.chat-bubble {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Typing Animation Delay */
.animate-pulse.delay-75 {
    animation-delay: 0.1s;
}

.animate-pulse.delay-150 {
    animation-delay: 0.2s;
}

/* Voice animation specific styles */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

.pulse-animation {
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Line clamp for truncating text */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Focus states for accessibility */
button:focus, a:focus, input:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* Improve tap target sizes for mobile */
button, a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}