/* Font Imports */
@font-face {
    font-family: 'MinhaFonte';
    src: url("../fonts/Coolvetica-Regular.woff2") format('woff2'),
    url('../fonts/Coolvetica-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'minecraft';
    src: url('../fonts/Minecraft.woff2') format('woff2'),
    url('../fonts/Minecraft.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'daydream';
    src: url("../fonts/Daydream.woff2") format('woff2'),
    url("../fonts/Daydream.woff") format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Utility Classes - Font Families */
.font-coolvetica {
    font-family: 'MinhaFonte', Arial, sans-serif;
}

.font-minecraft {
    font-family: 'minecraft', Arial, sans-serif;
}

.font-daydream {
    font-family: 'daydream', Arial, sans-serif;
}

/* Utility Classes - Navigation Links */
.nav-link-perso-blue, .nav-link-perso-yellow {
    text-decoration: none;
    margin: auto 0;
    font-size: .7rem;
}

.nav-link-perso-blue {
    color: #2470ff !important;
}

.nav-link-perso-yellow {
    color: #f1af09 !important;
}

/* Utility Classes - Background Colors */
.bgcolor-gray {
    background-color: #d8d8d8 !important;
}

.bgcolor-gray:hover {
    background-color: #bcbcbc !important;
}

.bg-color-primary {
    background-color: #2470ff !important;
}

.bg-color-secondary {
    background-color: #f1af09 !important;
}

/* Utility Classes - Text Colors */
.color-primary {
    color: #2470ff !important;
}

.color-secondary {
    color: #f1af09 !important;
}

/* Utility Classes - Font Sizes */
.main-font-size {
    font-size: 14vw;
}

@media (min-width: 799px) {
    .main-font-size {
        font-size: 7rem;
    }
}

/* Container and Form Styles */
.container-app {
    flex: 1;
    background: linear-gradient(to right, #eaf0ff, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'MinhaFonte', Arial, sans-serif;
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}

.form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 100%;
    border-left: 8px solid #2470ff;
}

.form-wrapper h2 {
    color: #2470ff;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.form-label {
    font-weight: 500;
    color: #333;
}

.form-control {
    border-radius: 12px;
    border: 1px solid #ccc;
}

.form-control:focus {
    border-color: #2470ff;
    box-shadow: 0 0 0 0.2rem rgba(36, 112, 255, 0.2);
}

/* Button Styles */
.btn-custom {
    background-color: #2470ff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-custom:hover {
    background-color: #1f5ee0;
    color: white;
}

.btn-show-qr, .btn-padrao {
    background-color: #e3e3e3;
    border-radius: 5px;
    color: black;
    cursor: pointer;
}

.btn-show-qr:hover, .btn-padrao:hover {
    background-color: #cacaca;
}

/* Input Group Styles */
.icon-span {
    width: 48px;
    /* Tamanho fixo para todos os spans com ícones */
    text-align: center;
    justify-content: center;
    /* Garante que o ícone fique centralizado */
    display: flex;
    align-items: center;
}

.input-group-text {
    background-color: #d8d8d8;
    border: none;
    border-radius: 12px 0 0 12px;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:first-child {
    border-radius: 0 12px 12px 0;
}

/* Mention Component Styles */
.mention-container {
    position: relative;
    flex-wrap: wrap;
}

.b-radius-right {
    border-bottom-right-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.mention-suggestions {
    position: absolute;
    bottom: 100%;
    left: 40px;
    /* Ajuste conforme o tamanho do seu ícone */
    width: calc(100% - 40px);
    background: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mention-suggestions li {
    padding: 8px 12px;
    cursor: pointer;
    list-style: none;
}

.mention-suggestions li:hover {
    background-color: #f8f9fa;
}

.mention-chip {
    background-color: #ffde92;
    border-radius: 16px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mention-chip .remove-chip {
    cursor: pointer;
    color: #6c757d;
}

.mention-chip .remove-chip:hover {
    color: #dc3545;
}

#mentioned-chips {
    border-radius: 0.8rem;
    box-shadow: inset 0 1px 5px gray;
    min-height: 38px;
}

#users_mentioned {
    min-width: 150px;
    flex-grow: 1;
}

/* Other Utility Classes */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.pix-warning {
    font-size: .8rem;
}

.copy-code {
    cursor: pointer;
    background-color: #e3e3e3;
    color: black;
    border-radius: 5px;
}

.copy-code:hover {
    background-color: #cacaca;
}

/* Toast/Notification Styles */
.div-toast {
    border-radius: 20px;
    position: sticky;
    bottom: 9rem;
    box-shadow: 2px 2px 3px;
    width: fit-content;
    left: 0;
    right: 0;
    margin: auto;
}

.bgSuccess {
    background-color: #9effb3 !important;
}

.bgError {
    background-color: #fdcece !important;
}

.bgWarning {
    background-color: #fdf3c1 !important;
}

.bgOrange {
    background-color: #fde4ce !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s;
}

.fade-out {
    animation: fadeOut 1.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.div-ctrl-btns {
    padding: 0 .5rem;
    background-color: #f8f8f8;
    border: 1px solid #cdcdcd;
    border-radius: 10px;
}

.check-payments {
    border-radius: 10px;
    background-color: #f8f8f8;
    border: 1px solid #cacaca;
}

.check-payments:hover {
    background-color: #ebebeb;
}

.card-body .row:nth-child(even) {
    /*background-color: #f8f8f8;*/
    border-bottom: 1px solid #cacaca;
    border-top: 1px solid #cacaca;
}
