
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #F0F4F8; /* Light Gray Blue */
            color: #1F2937; /* Dark Gray */
        }

        .main-bg { background-color: #6B46C1; } /* Deep Purple */
        .main-text { color: #6B46C1; }
        .main-border { border-color: #6B46C1; }

        .card-shadow { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
        .emergency-button {
            background-color: #DC2626; /* Red */
            color: white;
            transition: transform 0.2s;
        }
        .emergency-button:hover { transform: scale(1.05); }

        /* Custom scrollbar for chat */
        .chat-container::-webkit-scrollbar { width: 8px; }
        .chat-container::-webkit-scrollbar-track { background: #E5E7EB; }
        .chat-container::-webkit-scrollbar-thumb {
            background-color: #6B46C1;
            border-radius: 4px;
            border: 2px solid #F0F4F8;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, minmax(0, 1fr));
            gap: 0.5rem;
        }

        .calendar-day {
            width: 4rem;
            height: 4rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 0.5rem;
            transition: all 0.2s ease-in-out;
        }
        .calendar-day.clickable:hover {
            background-color: #6B46C1;
            color: white;
            transform: translateY(-2px);
            cursor: pointer;
        }
        .calendar-day.selected {
            background-color: #6B46C1 !important;
            color: white !important;
            font-weight: 600;
            border: 2px solid #6B46C1;
        }

        .checked-in-day {
            background-color: #4CAF50; /* Green color for checked-in days */
            color: white;
            font-weight: bold;
        }

        .message-modal-bg {
            background-color: rgba(0, 0, 0, 0.5);
        }

        /* --- NEW CHAT ANIMATION STYLES --- */
        .chat-entry-animation {
            animation: slideIn 0.3s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* --------------------------------- */

        /* Styles for the test pages */
        .question-card {
            background-color: #fff;
            padding: 1.5rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            margin-bottom: 1rem;
        }
        .option-label {
            display: block;
            padding: 0.75rem;
            margin-top: 0.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid #E5E7EB;
        }
        .option-label:hover {
            background-color: #F3F4F6;
            border-color: #6B46C1;
        }
        input[type="radio"]:checked + .option-label {
            background-color: #F0F4F8; /* Light Gray Blue */
            border-color: #6B46C1;
            box-shadow: 0 0 0 2px #6B46C1;
            font-weight: 500;
        }
        .option-label input[type="radio"] {
            margin-right: 0.5rem;
            accent-color: #6B46C1;
        }


        @media (max-width: 768px) {
            .flex-col-mobile {
                flex-direction: column;
            }
            .w-64-mobile {
                width: 100%;
                height: auto;
            }
            .p-8-mobile {
                padding: 2rem;
            }
        }
        * peer card layout with image */
body{
    font-family: Arial, sans-serif;
    background: #f4f7f8;
}

/* Heading */
.peer-heading{
    text-align:center;
    font-size:40px;
    margin:30px 0;
    color: #6B46C1;
    letter-spacing:0.5px;
}

/* Card */
.peer-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:25px;
    margin:20px;
    background:white;
    border-radius:15px;

    /* Attractive border */
    border:1px solid #e3e3e3;

    /* Shadow */
    box-shadow:0 8px 20px rgba(0,0,0,0.08);

    transition:0.3s;
}

/* Hover effect */
.peer-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

/* Profile image */
.peer-card img{
    width:70px;
    height:70px;
    border-radius:50%;
    border:3px solid #4CAF50;
}

/* Buttons */
button{
    border:none;
    padding:8px 16px;
    margin-left:10px;
    border-radius:8px;
    color:white;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

/* Button colors */
.call-btn{
    background:#4CAF50;
}

.whatsapp-btn{
    background:#25D366;
}

.video-btn{
    background:#6A5ACD;
}

/* Button hover */
button:hover{
    opacity:0.8;
    transform:scale(1.05);
}
.call-btn{
    background:#4CAF50;
    color:white;
}

.whatsapp-btn{
    background:#25D366;
    color:white;
}

.video-btn{
    background:#6A5ACD;
    color:white;
}
button{
    border:none;
    padding:8px 16px;
    border-radius:8px;
    cursor:pointer;
}
:root {
    --purple: #6c47ff;
    --light-purple: #f3f0ff;
    --white: #ffffff;
    --bg: #f8f9fd;
    --text: #333;
}

body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); margin: 0; }
.container { max-width: 800px; margin: 40px auto; padding: 20px; }

/* Header & Tabs */
.main-header { text-align: center; margin-bottom: 30px; }
.tab-system { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.tab-btn { background: white; border: 1px solid var(--purple); color: var(--purple); padding: 10px 20px; border-radius: 25px; cursor: pointer; transition: 0.3s; }
.tab-btn.active { background: var(--purple); color: white; }

/* PA Cards (Posts & Contacts) */
.pa-card, .support-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Post Composer */
textarea { width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 12px; height: 80px; resize: none; margin: 10px 0; }
.composer-footer { display: flex; justify-content: space-between; align-items: center; }
.btn-primary { background: var(--purple); color: white; border: none; padding: 10px 25px; border-radius: 8px; cursor: pointer; }

/* Support Cards (Contacts) */
.support-info { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar { border-radius: 50%; width: 50px; height: 50px; }
.contact-actions { display: flex; gap: 10px; }
.c-btn { flex: 1; text-align: center; padding: 8px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; font-weight: bold; }
.call { background: #e7f3ff; color: #007bff; }
.wa { background: #e8f9ee; color: #28a745; }
.video { background: #f3f0ff; color: var(--purple); border: none; cursor: pointer; }

.tab-content { display: none; }
.tab-content.active { display: block; }
    .muskan{
        color:#6B46C1;
        text-align:center;}


.page.hidden {
    display: none !important;
}

.supporter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}
/* --- NEW ADDITIONS START HERE --- */

/* 1. This is the 'Master Switch' that makes the JavaScript work */
/* It forces the Peer Supporters to disappear on the Home and Admin pages */
.page.hidden {
    display: none !important;
}

/* 2. This organizes your 5 cards (Rahul, Priya, etc.) into a neat grid */
/* This stops them from being one giant, messy vertical list */
.supporter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* 3. This makes the headers (Community Feed / Peer Supporters) look clean */
.main-text {
    color: #6B46C1; /* Matches your brand purple */
}
/* --- Mindful Breathing --- */
#breathing-circle {
    /* Smooth transition over 4 seconds to match the JS timer */
    transition: transform 4000ms ease-in-out, background-color 4000ms ease-in-out !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.3);
}

/* The Inhale state */
#breathing-circle.grow {
    transform: scale(1.5) !important;
    background-color: #a78bfa !important; /* Lighter purple */
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
}

/* --- Hydration Tracker --- */
#water-progress {
    /* Smooth slide when adding a glass */
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-height: 100%;
}

/* Card hover effect */
.bg-white.p-6.rounded-xl {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-white.p-6.rounded-xl:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
