/* Accessibility First */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    font-size: 22px; /* Large base font */
    margin: 0;
    line-height: 1.5;
}

header {
    background-color: #004a99;
    color: white;
    padding: 2rem;
    text-align: center;
    border-bottom: 5px solid #ffcc00;
}

main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Large, easy-to-tap cards */
.card {
    background-color: #f0f0f0;
    border: 4px solid #004a99;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card h2 {
    margin-top: 0;
    font-size: 28px;
    color: #004a99;
}

.card:active {
    background-color: #ffcc00; /* Visual feedback when pressed */
}

.emergency-btn {
    width: 100%;
    padding: 20px;
    background-color: #cc0000;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border: none;
    position: fixed;
    bottom: 0;
}

/* Add these to your existing style.css */

.back-btn {
    background-color: #ffcc00;
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.lesson-content {
    padding: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.step-number {
    background-color: #004a99;
    color: white;
    font-size: 32px;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 50%;
}

.pro-tip {
    background-color: #e8f4fd;
    border-left: 10px solid #004a99;
    padding: 20px;
    margin-top: 40px;
    border-radius: 0 10px 10px 0;
}

/* Modern Senior Theme */
:root {
    --primary-blue: #0056b3;
    --security-red: #d93025;
    --ui-gray: #f8f9fa;
}

.interactive-card {
    background: var(--ui-gray);
    border: 3px solid var(--primary-blue);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.action-btn {
    background: var(--primary-blue);
    color: white;
    font-size: 24px;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Floating Chat Bubble Style */
#openclaw-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

#bubble-trigger {
    width: 70px;
    height: 70px;
    background: #2e7d32; /* Green for help */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

#chat-window {
    width: 300px;
    height: 400px;
    background: white;
    border: 2px solid #ccc;
    border-radius: 15px;
    position: absolute;
    bottom: 80px;
    right: 0;
    overflow: hidden;
}

.tap-hint {
    display: inline-block;
    margin-top: 15px;
    color: #0056b3;
    font-weight: bold;
    text-decoration: underline;
}

.card:hover {
    border-color: #ffcc00; /* Changes color when they hover/touch */
    background-color: #fafafa;
}