/* Import Google Fonts - Required for Google branding compliance */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

/* Hippo-themed CSS with hippopotamus branding */
:root {
    --hippo-primary: #8B4A9B;
    --hippo-secondary: #D4A5D8;
    --hippo-accent: #FF6B9D;
    --hippo-dark: #2C1810;
    --hippo-light: #F8F6F4;
    --hippo-gray: #A0A0A0;
    --hippo-success: #4CAF50;
    --hippo-warning: #FF9800;
    --hippo-error: #F44336;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--hippo-light) 0%, var(--hippo-secondary) 100%);
    color: var(--hippo-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--hippo-secondary);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--hippo-primary);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-brand .hippo-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--hippo-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover {
    color: var(--hippo-primary);
    background: var(--hippo-secondary);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3rem;
    color: var(--hippo-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero .hippo-logo {
    width: 80px;
    height: 80px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--hippo-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--hippo-primary), var(--hippo-accent));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 74, 155, 0.3);
}

.btn-secondary {
    background: var(--hippo-secondary);
    color: var(--hippo-dark);
}

.btn-secondary:hover {
    background: var(--hippo-primary);
    color: white;
}

.btn-warning {
    background: var(--hippo-warning);
    color: white;
}

.btn-warning:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

/* Status actions for integration cards */
.status-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.status-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Forms */
.form-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--hippo-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--hippo-secondary);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    outline: none;
    border-color: var(--hippo-primary);
    box-shadow: 0 0 0 3px rgba(139, 74, 155, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

/* Chat Interface */
.chat-container {
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, var(--hippo-primary), var(--hippo-accent));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--hippo-light);
}

.message {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.message.user {
    flex-direction: row-reverse;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message.user .message-content {
    background: var(--hippo-primary);
    color: white;
}

.message.hippo .message-content {
    background: var(--hippo-secondary);
}

/* Markdown styles for chat messages */
.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4,
.message-content h5,
.message-content h6 {
    margin: 0.5rem 0 0.25rem 0;
    color: var(--hippo-dark);
    font-weight: 600;
}

.message-content h1 { font-size: 1.3em; }
.message-content h2 { font-size: 1.2em; }
.message-content h3 { font-size: 1.1em; }
.message-content h4 { font-size: 1em; }

.message-content ul,
.message-content ol {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.message-content li {
    margin: 0.2rem 0;
}

.message-content p {
    margin: 0.5rem 0;
}

.message-content blockquote {
    border-left: 3px solid var(--hippo-primary);
    margin: 0.5rem 0;
    padding: 0.5rem 0 0.5rem 1rem;
    background: rgba(139, 74, 155, 0.1);
    border-radius: 0 5px 5px 0;
}

.message-content code {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.message-content pre {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 1rem;
    margin: 0.5rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.message-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.message-content a {
    color: var(--hippo-primary);
    text-decoration: none;
    font-weight: 500;
}

.message-content a:hover {
    text-decoration: underline;
}

.message-content strong {
    font-weight: 600;
    color: var(--hippo-dark);
}

.message-content em {
    font-style: italic;
    color: var(--hippo-gray);
}

.message-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 0.5rem 0;
}

.message-content th,
.message-content td {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    text-align: left;
}

.message-content th {
    background: rgba(139, 74, 155, 0.1);
    font-weight: 600;
}

.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--hippo-secondary);
    background: white;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--hippo-secondary);
    border-radius: 25px;
    margin-right: 0.5rem;
}

.chat-input button {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: var(--hippo-primary);
    color: white;
    cursor: pointer;
    font-weight: 600;
}

/* Website Generation */
.website-section {
    background: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: var(--hippo-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--hippo-secondary);
    padding-bottom: 0.5rem;
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.entry-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--hippo-accent);
    position: relative;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.entry-actions {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.entry-card:hover .entry-actions {
    opacity: 1;
}

.btn-icon {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--hippo-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--hippo-light);
    color: var(--hippo-primary);
}

.btn-icon.delete-entry:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.entry-title {
    font-size: 1.3rem;
    color: var(--hippo-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.entry-details {
    display: grid;
    gap: 0.5rem;
}

.entry-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--hippo-light);
}

.detail-key {
    font-weight: 600;
    color: var(--hippo-dark);
}

.detail-value {
    color: var(--hippo-gray);
    text-align: right;
}

/* Progressive Loading Styles */
.entry-grid-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    color: var(--hippo-gray);
}

.loading-message {
    text-align: center;
}

.loading-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--hippo-primary);
    animation: loading-spin 2s linear infinite;
}

.loading-message p {
    margin: 0;
    font-style: italic;
}

.entry-details-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    color: var(--hippo-gray);
    background: var(--hippo-light);
    border-radius: 8px;
    margin-top: 1rem;
}

.loading-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.loading-indicator i {
    font-size: 1rem;
    color: var(--hippo-primary);
    animation: loading-spin 1s linear infinite;
}

@keyframes loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Entry card animations for progressive loading */
.entry-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.entry-card.loading {
    opacity: 0.7;
}

.entry-card.loaded .entry-details-loading {
    display: none;
}

.entry-card.loaded .entry-content,
.entry-card.loaded .entry-details {
    display: block;
}

/* Flash Messages */
.flash-messages {
    max-width: 800px;
    margin: 1rem auto;
}

.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.flash-success {
    background: var(--hippo-success);
    color: white;
}

.flash-error {
    background: var(--hippo-error);
    color: white;
}

.flash-warning {
    background: var(--hippo-warning);
    color: white;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .hero .hippo-logo {
        width: 60px;
        height: 60px;
    }
    
    .container {
        padding: 1rem;
    }
    
    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .entry-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-messages {
        height: 400px;
    }
    
    .message-content {
        max-width: 85%;
    }
}

/* Hippo Personality Elements */
.hippo-quote {
    background: var(--hippo-secondary);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--hippo-primary);
    margin: 1rem 0;
    font-style: italic;
}

.hippo-emoji {
    font-size: 1.2em;
}

/* Dashboard Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card h3 {
    color: var(--hippo-primary);
    margin-bottom: 1rem;
}

.dashboard-card p {
    color: var(--hippo-gray);
    margin-bottom: 1.5rem;
}

/* Integration Info Cards */
.integration-info-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.integration-info-card i {
    color: #3498db;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.integration-info-card p {
    margin: 0;
    color: var(--hippo-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Collapsible Sections */
.category-overview, .calendar-overview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-summary, .calendar-summary {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 2px solid var(--hippo-light);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-summary:hover, .calendar-summary:hover {
    border-color: var(--hippo-secondary);
    box-shadow: 0 4px 12px rgba(139, 74, 155, 0.15);
}

.category-summary[open], .calendar-summary[open] {
    border-color: var(--hippo-primary);
    box-shadow: 0 4px 16px rgba(139, 74, 155, 0.2);
}

.category-header, .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: rgba(139, 74, 155, 0.05);
    border-bottom: 1px solid var(--hippo-light);
    list-style: none;
    transition: background-color 0.3s ease;
}

.category-header:hover, .calendar-header:hover {
    background: rgba(139, 74, 155, 0.1);
}

.category-header:focus, .calendar-header:focus {
    outline: 2px solid var(--hippo-primary);
    outline-offset: -2px;
    background: rgba(139, 74, 155, 0.1);
}

/* Hide the native disclosure triangle */
.category-header::-webkit-details-marker,
.calendar-header::-webkit-details-marker {
    display: none;
}

.category-header::marker,
.calendar-header::marker {
    display: none;
    content: '';
}

.category-info, .calendar-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon, .calendar-icon {
    font-size: 1.5rem;
    color: var(--hippo-primary);
}

.category-name, .calendar-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--hippo-primary);
}

.category-count, .calendar-count {
    background: var(--hippo-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.category-header::after {
    content: '\f282'; /* chevron-down bootstrap icon */
    font-family: 'bootstrap-icons';
    font-size: 1.2rem;
    color: var(--hippo-primary);
    transition: transform 0.3s ease;
    margin-left: auto;
}

.calendar-header::after {
    content: '\f282'; /* chevron-down bootstrap icon */
    font-family: 'bootstrap-icons';
    font-size: 1.2rem;
    color: var(--hippo-primary);
    transition: transform 0.3s ease;
    margin-left: auto;
}

.category-summary[open] .category-header::after,
.calendar-summary[open] .calendar-header::after {
    transform: rotate(180deg);
}

.category-content, .calendar-content {
    padding: 1.5rem;
    border-top: 1px solid var(--hippo-light);
    background: rgba(255, 255, 255, 0.95);
    animation: slideDown 0.3s ease;
}

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

.category-content .entry-grid, .calendar-content .entry-grid {
    gap: 1rem;
}

/* Tasks display styles */
.tasks-overview {
    margin-top: 1rem;
}

.task-list-summary {
    margin-bottom: 1rem;
    border: 1px solid var(--hippo-light);
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(139, 74, 155, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.task-list-summary:hover {
    box-shadow: 0 4px 16px rgba(139, 74, 155, 0.15);
    transform: translateY(-2px);
}

.task-list-header {
    cursor: pointer;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(139, 74, 155, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    width: 100%;
    text-align: left;
    transition: background 0.3s ease;
}

.task-list-header:hover {
    background: linear-gradient(135deg, rgba(139, 74, 155, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.task-list-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.task-list-icon {
    font-size: 1.5rem;
    color: var(--hippo-primary);
}

.task-list-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--hippo-primary);
}

.task-list-count {
    background: var(--hippo-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.expand-icon {
    font-size: 1.2rem;
    color: var(--hippo-primary);
    transition: transform 0.3s ease;
}

.task-list-summary[open] .expand-icon {
    transform: rotate(180deg);
}

.task-list-content {
    padding: 1.5rem;
    border-top: 1px solid var(--hippo-light);
    background: rgba(255, 255, 255, 0.95);
    animation: slideDown 0.3s ease;
}

.task-section {
    margin-bottom: 2rem;
}

.task-section:last-child {
    margin-bottom: 0;
}

.task-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hippo-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--hippo-light);
}

.tasks-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--hippo-light);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
    margin-left: 1.5rem;
}

.task-item:hover {
    border-color: var(--hippo-primary);
    box-shadow: 0 2px 8px rgba(139, 74, 155, 0.1);
}

.task-item.pending {
    border-left: 4px solid #28a745;
}

.task-item.completed {
    border-left: 4px solid var(--hippo-primary);
    background: rgba(139, 74, 155, 0.02);
}

.task-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.task-status {
    margin-top: 0.1rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.task-item.pending .task-status {
    color: #28a745;
}

.task-item.completed .task-status {
    color: var(--hippo-primary);
}

.task-title {
    font-weight: 600;
    color: var(--hippo-dark);
    flex-grow: 1;
    line-height: 1.4;
}

.task-item.completed .task-title {
    text-decoration: line-through;
    opacity: 0.7;
}

.task-due {
    font-size: 0.85rem;
    color: #dc3545;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.task-due.completed {
    color: var(--hippo-gray);
    opacity: 0.7;
}

.task-notes {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(139, 74, 155, 0.05);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--hippo-gray);
    border-left: 3px solid var(--hippo-primary);
    margin-left: 1.75rem;
}

/* Responsive design for collapsible sections */
@media (max-width: 768px) {
    .category-header, .calendar-header, .task-list-header {
        padding: 1rem;
    }
    
    .category-info, .calendar-info, .task-list-info {
        gap: 0.75rem;
    }
    
    .category-name, .calendar-name, .task-list-name {
        font-size: 1.1rem;
    }
    
    .category-icon, .calendar-icon, .task-list-icon {
        font-size: 1.25rem;
    }
    
    .category-content, .calendar-content, .task-list-content {
        padding: 1rem;
    }
    
    .task-item {
        margin-left: 1rem;
        padding: 0.75rem;
    }
    
    .task-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .task-due {
        margin-top: 0.25rem;
    }
    
    .task-notes {
        margin-left: 0;
    }
}

/* Weather Display Styles */
.weather-overview {
    margin-top: 1.5rem;
}

.weather-summary {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--hippo-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.weather-summary:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.weather-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--hippo-light);
    cursor: pointer;
    transition: background 0.3s ease;
}

.weather-header:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.weather-icon {
    font-size: 1.5rem;
    color: var(--hippo-primary);
}

.weather-location {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--hippo-primary);
}

.weather-temp {
    background: var(--hippo-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

.weather-conditions {
    color: var(--hippo-gray);
    font-size: 0.9rem;
    font-style: italic;
}

.weather-content {
    padding: 0 1.5rem 1.5rem;
}

.weather-current {
    margin-bottom: 2rem;
}

.weather-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hippo-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--hippo-light);
}

.weather-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.weather-detail {
    background: rgba(52, 152, 219, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--hippo-primary);
}

.weather-detail-key {
    font-weight: 600;
    color: var(--hippo-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.weather-detail-value {
    color: var(--hippo-gray);
    font-size: 0.9rem;
}

.weather-forecast {
    margin-top: 1.5rem;
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.forecast-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--hippo-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.forecast-item:hover {
    border-color: var(--hippo-primary);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.forecast-day {
    font-weight: 600;
    color: var(--hippo-primary);
    margin-bottom: 0.5rem;
}

.forecast-date {
    font-size: 0.8rem;
    color: var(--hippo-gray);
    margin-bottom: 0.5rem;
}

.forecast-temp {
    font-weight: 500;
    color: var(--hippo-dark);
    margin-bottom: 0.5rem;
}

.forecast-conditions {
    font-size: 0.85rem;
    color: var(--hippo-gray);
    font-style: italic;
}

/* Responsive design for weather sections */
@media (max-width: 768px) {
    .weather-header {
        padding: 1rem;
    }
    
    .weather-info {
        gap: 0.75rem;
    }
    
    .weather-location {
        font-size: 1.1rem;
    }
    
    .weather-icon {
        font-size: 1.25rem;
    }
    
    .weather-content {
        padding: 1rem;
    }
    
    .weather-details-grid {
        grid-template-columns: 1fr;
    }
    
    .forecast-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .forecast-item {
        padding: 0.75rem;
    }
}

/* Google Sign-In Button Styles - Compliant with Google Branding Guidelines */
.google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #747775;
    border-radius: 24px;
    background-color: #FFFFFF;
    color: #1F1F1F;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-btn:hover {
    background-color: #F8F9FA;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #1F1F1F;
}

.google-btn:active {
    background-color: #F1F3F4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-btn:focus {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}

/* Google G logo styling */
.google-btn .google-logo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Dark theme variant */
.google-btn.google-btn-dark {
    background-color: #131314;
    border: 1px solid #8E918F;
    color: #E3E3E3;
}

.google-btn.google-btn-dark:hover {
    background-color: #1F1F1F;
}

/* Neutral theme variant */
.google-btn.google-btn-neutral {
    background-color: #F2F2F2;
    border: none;
    color: #1F1F1F;
}

.google-btn.google-btn-neutral:hover {
    background-color: #E8E8E8;
}

/* Override any conflicting button styles for Google buttons */
.google-btn.btn {
    border-radius: 24px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
}
