/* Shared site styles to keep visual appearance consistent across pages */
:root {
    --primary: #10b981; /* emerald-500 */
    --primary-dark: #059669; /* emerald-600 */
    --accent: #f59e0b; /* yellow-500 */
    --text: #1f2937; /* gray-800 */
}

html, body {
    height: 100%;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Keep a custom helper class without overriding Tailwind's built-in .container utility */
.site-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Small helpers to align buttons and links across templates */
.btn-emerald {
    background-color: var(--primary);
    color: white;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
}
.btn-emerald:hover { background-color: var(--primary-dark); }

/* Ensure images don't overflow their containers */
img { max-width: 100%; height: auto; }

/* Improve accessibility for focus outlines when using keyboard */
:focus {
    outline: 2px solid rgba(16,185,129,0.25);
    outline-offset: 2px;
}

/* Keep consistent link appearance without overriding Tailwind text utilities */
a:not([class]) {
    color: var(--primary);
    text-decoration: none;
}
a:not([class]):hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.profile-panel {
    background: linear-gradient(135deg, rgba(16,185,129,0.07), rgba(255,255,255,1));
}

.profile-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
    outline: none;
}
.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 12px 30px rgba(18, 140, 126, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(18, 140, 126, 0.4);
    color: white;
}

.whatsapp-float svg {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.75rem;
    }
}