﻿:root {
    --primary: #2D4558;
    --text: #444444;
    --secondary: #A18F7A;
    --light: #869FAE;
    --info: #959595;
    --bg-secondary: #F7F7F7;
    --border-color: #EAEAEA;
}

/*  3.5px   7px   14px   21px   42px    */
@media screen and (min-width:1200px) and (max-width:1400px) {
    .container {
        max-width: 1080px;
    }
}

html,
body {
    font-size: 14px;
    color: var(--text);
    scroll-behavior: smooth;
}
/* Common CSS */
a {
    text-decoration: none;
}

li {
    list-style: none;
}

.button {
    display: inline-flex;
    line-height: 40px;
    padding: 0px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    font-weight: 500;
    opacity: 0.9;
    cursor: pointer;
    transition: opacity 0.5s;
    outline: none;
    border: none;
}

.ngancach {
    width: 100%;
    height: 70px;
    background-color: var(--border-color);
}

.button:hover {
    opacity: 1;
}

.button-dark {
    color: #FFF;
    background: var(--primary);
}

.button-light {
    color: #FFF;
    background: var(--secondary);
}
/* CSS Footer */
.footer {
    background: var(--light);
    min-height: 50px;
    display: flex; /* dùng flexbox */
    justify-content: center; /* căn giữa ngang */
    align-items: center; /* căn giữa dọc */
    width: 100%;
}

a[href="http://somee.com"] {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1px;
    color: #999;
}

div[style*="position: fixed"][style*="z-index: 2147483647"] {
    display: none !important;
}

#offcanvasWithBothOptions {
    width: 70%; /* chiếm 70% màn hình trên mobile */
    max-width: 300px; /* nhưng không vượt quá 300px */
}

/* Avatar tròn, có viền */
#avatar img {
    width: 30px;
    height: 30px;
    border-radius: 30px;
}

/* Tên hiển thị */
#fullname {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Nút profile */
.btn-profile {
    padding: 6px 12px;
    border-radius: 8px;
    background-color: lightgray;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
    .btn-profile i {
        display: block;
        padding: 5px;
        color: #FFF;
        border-radius: 50%;
        background-color: var(--text);
    }


    /* Hiệu ứng hover */
    .btn-profile:hover {
        background-color: darkgray;
    }

/* Căn chỉnh flex */
.d-inline-flex {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
