/* Custom CSS for Chatwoot Branding */

/* Override login page title - hide original text */
.auth-layout h1,
.login-page h1,
[class*="text-4xl"],
[class*="text-3xl"] {
    visibility: hidden !important;
    position: relative !important;
}

/* Show custom title */
.auth-layout h1:after,
.login-page h1:after,
[class*="text-4xl"]:after,
[class*="text-3xl"]:after {
    content: "Login en Richet Zapata" !important;
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 1.875rem !important;
    font-weight: 600 !important;
    color: inherit !important;
}

/* Logo size fixes */
.size-4 {
    width: fit-content !important;
    height: 2rem !important;
}

img, video {
    max-width: fit-content !important;
    height: auto !important;
}

/* Override logo and branding */
.logo img {
    /* Replace with your custom logo */
    content: url('/assets/logo.png');
    max-height: 40px;
    width: auto;
}

/* Custom color scheme */
:root {
    --primary-color: rgb(72, 44, 191); /* Your primary brand color */
    --secondary-color: rgb(244, 137, 0); /* Your secondary brand color */
    --accent-color: #10b981; /* Your accent color */
    --text-color: #374151; /* Your text color */
    --background-color: #f9fafb; /* Your background color */
}

/* Header customizations */
.header {
    background-color: var(--primary-color);
}

/* Button customizations */
.button--primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.button--primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Sidebar customizations */
.sidebar {
    background-color: var(--background-color);
}

/* Custom chat widget colors */
.chat-bubble--incoming {
    background-color: var(--background-color);
    color: var(--text-color);
}

.chat-bubble--outgoing {
    background-color: var(--primary-color);
    color: white;
}

/* Login page customizations */
.login-page {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Favicon override (handled by Docker) */
/* Your favicon.ico should be placed in customizations/assets/ */

/* Additional custom styles */
/* Add your own styles below this line */