/* ============================================
   Britive Connect Branding
   Replaces all Guacamole references
   ============================================ */

/* Replace login page logo with Britive logo */
.login-ui .logo {
    background-image: url('/images/logo-light.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 200px !important;
    height: 60px !important;
}

/* Dark mode logo */
@media (prefers-color-scheme: dark) {
    .login-ui .logo {
        background-image: url('/images/logo-dark.svg') !important;
    }
}

/* Britive brand colors */
:root {
    --britive-primary: #6366f1;
    --britive-secondary: #4f46e5;
    --britive-dark: #1e1b4b;
    --britive-accent: #8b5cf6;
}

/* Style login button with Britive colors */
.login-ui .login-form button[type="submit"],
.login-ui .login-form .button {
    background: var(--britive-primary) !important;
    border-color: var(--britive-secondary) !important;
    border-radius: 6px !important;
}

.login-ui .login-form button[type="submit"]:hover,
.login-ui .login-form .button:hover {
    background: var(--britive-secondary) !important;
}

/* Header styling */
.header {
    background: var(--britive-dark) !important;
}

/* Hide any remaining Guacamole text/branding */
.login-ui .welcome {
    display: none !important;
}

/* Hide "Apache Guacamole" text if present */
.login-ui .logo-text,
.version-info,
.guacamole-version {
    display: none !important;
}

/* Custom footer text */
.login-ui::after {
    content: "Britive Connect - Secure Session Access";
    display: block;
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-top: 20px;
}

/* Connection tiles styling */
.connection-group .caption {
    color: var(--britive-dark) !important;
}

/* Scrollbar styling */
::-webkit-scrollbar-thumb {
    background: var(--britive-primary) !important;
}

/* Link colors */
a {
    color: var(--britive-primary) !important;
}

a:hover {
    color: var(--britive-secondary) !important;
}
