﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* ===== Contact Box ===== */
.contact-box-bottom {
    position: fixed;
    bottom: 120px;
    right: 10px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.contact-box-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-box-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.contact-icon-box {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    min-height: 50px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50%;
    border: none !important;
}

.contact-icon-box i,
.contact-icon-box svg {
    display: block;
    pointer-events: none;
}

/* YouTube */
.nut-chat-youtube .contact-icon-box {
    background: #FF0000;
}
.nut-chat-youtube .contact-icon-box i {
    font-size: 22px;
    color: #fff;
}

/* TikTok */
.nut-chat-tiktok .contact-icon-box {
    background: #010101;
}
.nut-chat-tiktok .contact-icon-box svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Facebook Messenger */
.nut-chat-facebook .contact-icon-box {
    background: linear-gradient(45deg, #09f, #a033ff, #ff5280, #ff7061);
}
.nut-chat-facebook .contact-icon-box svg {
    width: 28px;
    height: 28px;
}

/* Zalo */
.nut-chat-zalo .contact-icon-box {
    background: #fff;
}
.nut-chat-zalo .contact-icon-box svg {
    width: 36px;
    height: 36px;
}

/* Hotline */
.nut-goi-hotline .contact-icon-box {
    background: #00cd78;
}
.nut-goi-hotline .contact-icon-box i {
    font-size: 22px;
    color: #fff;
}
