/**
 * Puwer Phone Branding Styles
 * 
 * Logo usage rules and brand theming for the dashboard
 */

/* ============================================
   LOGO USAGE RULES
   ============================================ */

/* Base logo styles - DO NOT MODIFY */
.puwer-logo {
    /* Logo must be used as-is */
    /* DO NOT add: filters, shadows, gradients, transforms */
    display: block;
    object-fit: contain;
    image-rendering: auto;
    -webkit-user-select: none;
    user-select: none;
}

/* Logo link wrapper */
.puwer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.puwer-logo-link:hover {
    opacity: 0.8;
}

.puwer-logo-link:active {
    opacity: 0.7;
}

/* Logo size variants */
.puwer-logo--login {
    width: 200px;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
}

.puwer-logo--sidebar {
    width: 150px;
    max-width: 180px;
    height: auto;
}

.puwer-logo--sidebarCollapsed {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
}

.puwer-logo--header {
    width: 120px;
    max-width: 150px;
    height: auto;
}

/* ============================================
   BACKGROUND GUIDELINES
   ============================================ */

/* Logo works best on these backgrounds */
.logo-bg-white {
    background-color: #ffffff;
}

.logo-bg-light {
    background-color: #f5f5f5;
}

.logo-bg-light-gray {
    background-color: #e8e8e8;
}

/* Avoid dark or noisy backgrounds behind logo */
.logo-container {
    background-color: #ffffff;
    padding: 1rem;
}

.logo-container--light {
    background-color: #f5f5f5;
}

/* ============================================
   BRAND COLORS
   ============================================ */

/* Accent color derived from logo blue (adjust as needed) */
:root {
    --puwer-primary: #2563eb; /* Example blue - adjust based on actual logo */
    --puwer-primary-light: #3b82f6;
    --puwer-primary-dark: #1e40af;
    --puwer-text: #1f2937;
    --puwer-text-light: #6b7280;
    --puwer-bg: #ffffff;
    --puwer-bg-light: #f5f5f5;
    --puwer-bg-gray: #e8e8e8;
    --puwer-border: #e5e7eb;
}

/* ============================================
   BRAND TYPOGRAPHY
   ============================================ */

.brand-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--puwer-text);
    font-weight: 500;
}

.brand-text--light {
    color: var(--puwer-text-light);
    font-weight: 400;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--puwer-text);
    margin: 0;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: var(--puwer-text-light);
    margin: 0.25rem 0 0 0;
}

/* ============================================
   RESPONSIVE LOGO BEHAVIOR
   ============================================ */

@media (max-width: 768px) {
    .puwer-logo--login {
        width: 150px;
        max-width: 180px;
    }
    
    .puwer-logo--sidebar {
        width: 120px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .puwer-logo--login {
        width: 120px;
        max-width: 150px;
    }
}

/* ============================================
   LOGO CONTAINER UTILITIES
   ============================================ */

.logo-container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-container-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

