/* Authentication Logo Styles */
.auth-logo {
    max-width: 240px;
    height: auto;
    filter: brightness(0) invert(1); /* Make logo white on primary background */
    transition: all 0.3s ease;
}

.auth-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Responsive logo sizing */
@media (max-width: 576px) {
    .auth-logo {
        max-width: 200px;
        height: auto;
    }
}

@media (max-width: 400px) {
    .auth-logo {
        max-width: 180px;
        height: auto;
    }
}

/* Dark mode adjustments */
html[data-theme="dark"] .auth-logo {
    filter: none; /* Remove invert filter for dark mode */
}

/* Additional branding enhancements */
.card-header.bg-primary {
    padding: 1.5rem 1rem;
}

.card-header.bg-primary .auth-logo {
    display: block;
    margin: 0 auto;
}

/* Powered By Attribution Styles */
.auth-attribution {
    margin-top: 2rem;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-attribution p {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

.auth-attribution a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.auth-attribution a:hover {
    color: #3730a3;
    text-decoration: underline;
}

.auth-attribution .powered-by-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.auth-attribution a:hover .powered-by-icon {
    opacity: 1;
}

/* Dark mode adjustments for attribution */
html[data-theme="dark"] .auth-attribution {
    border-top-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .auth-attribution p {
    color: #9ca3af;
}

html[data-theme="dark"] .auth-attribution a {
    color: #60a5fa;
}

html[data-theme="dark"] .auth-attribution a:hover {
    color: #93c5fd;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-attribution {
        margin-top: 1.5rem;
        padding: 0.75rem 0;
    }

    .auth-attribution p {
        font-size: 0.8125rem;
        padding: 0 1rem;
    }
}

@media (max-width: 400px) {
    .auth-attribution p {
        font-size: 0.75rem;
    }
}
