@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap');

.card-file-custom {
        height: 2.2em;
    font-size: 2em;
}

.card-custom-btn {

    position: absolute;
    top: -9px;
    right: 4px;

}

.dropstart .dropdown-toggle::before {
    
    content: none!important;
}

.element-label:hover {
    box-shadow: 0px 2px 8px 5px rgb(210 215 234);
    transition-duration: 0.3s;
    color: var(--bs-gray) !important;
}

.element-label {
    transition-duration: 0.9s;
    cursor:pointer;
}

#full-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
    z-index: 99999;
    display: none;
    padding: 32px;
    overflow-y: auto;
    color: #fff;
    animation-name: fadeInAnimation;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

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


#full-modal .close-btn {
    position: fixed;
    top: 25px;
    right: 35px;
    background: #ffdd2d;
    color: #000;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    z-index: 100000;
}

/* Контейнер под карточки (опционально, для сетки) */
.issues-container {

}

/* Базовая карточка issue */
.issue-card {
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.03);
    font-size: 13px;
}

/* Шапка карточки */
.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-weight: 600;
}

.issue-title {
    font-size: 13px;
}

.issue-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(0,0,0,0.08);
}

/* Текст комментария */
.issue-comment {
    font-size: 12px;
    margin-bottom: 4px;
}

/* Сниппет */
.issue-snippet {
    font-size: 11px;
    font-family: var(--font-mono, monospace);
    opacity: 0.8;
    background: rgba(0,0,0,0.03);
    padding: 4px 6px;
    border-radius: 6px;
}

/* Метка "оригинал / внешний" */
.issue-original-flag {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Градиент по уровням от зелёного к красному */

.issue-level-1 {
    border-left: 4px solid #2ecc71;
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.20), transparent);
}

.issue-level-2 {
    border-left: 4px solid #8bc34a;
    background: linear-gradient(90deg, rgba(139, 195, 74, 0.20), transparent);
}

.issue-level-3 {
    border-left: 4px solid #ffc107;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.20), transparent);
}

.issue-level-4 {
    border-left: 4px solid #ff9800;
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.20), transparent);
}

.issue-level-5 {
    border-left: 4px solid #f44336;
    background: linear-gradient(90deg, rgba(244, 67, 54, 0.20), transparent);
}
.page,
body {
    background: #fbfbfd;
    color: #121418;
    font-family: "Sora", "DM Sans", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

body {
    min-height: 100vh;
}

.container {
    max-width: 1120px;
}

h1, h2, h3, h4, h5 {
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 0.75rem;
}

.glass,
.card-float {
    background: #ffffff;
    border: 1px solid #eceff4;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.08),
        0 2px 8px rgba(16, 24, 40, 0.04);
}

.glass {
    padding: 28px;
}

.card-float {
    padding: 32px;
}

.btn-main {
    background: #111318;
    color: #ffffff;
    border: 1px solid #111318;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
}

.btn-main:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-outline-light,
.btn-outline-dark {
    border-radius: 999px;
}

.btn-outline-light {
    color: #111318;
    border-color: #cfd4dc;
}

.btn-outline-light:hover {
    background: #111318;
    color: #ffffff;
    border-color: #111318;
}

.form-control,
.input-group-text {
    border-radius: 12px;
    border-color: #e3e7ee;
}

.form-control:focus {
    border-color: #c1c7d4;
    box-shadow: 0 0 0 3px rgba(17, 19, 24, 0.08);
}

.text-muted,
.opacity-75 {
    color: #5f6674 !important;
}

.auth-card {
    width: 440px;
    max-width: 100%;
    margin: 64px auto;
}

/* Embed widget */
#bigdit-widget .bdt-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    background: #111318;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.18);
}

#bigdit-widget .bdt-modal {
    position: fixed;
    inset: 0;
    z-index: 9991;
    display: none;
}

#bigdit-widget .bdt-modal.is-open {
    display: block;
}

#bigdit-widget .bdt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, 0.35);
}

#bigdit-widget .bdt-card {
    position: absolute;
    right: 24px;
    bottom: 80px;
    width: min(960px, calc(100vw - 48px));
    height: min(720px, calc(100vh - 120px));
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#bigdit-widget .bdt-auth-card {
    padding: 24px;
    width: min(420px, calc(100vw - 48px));
    height: auto;
    bottom: 50%;
    transform: translateY(50%);
}

#bigdit-widget .bdt-close {
    align-self: flex-end;
    margin: 12px 16px 0 0;
    border: none;
    background: #f0f2f6;
    padding: 8px 14px;
    border-radius: 999px;
}

#bigdit-widget .bdt-frame {
    border: none;
    width: 100%;
    height: 100%;
}

#bigdit-widget .bdt-auth {
    position: fixed;
    inset: 0;
    z-index: 9991;
    display: grid;
    place-items: center;
    background: rgba(251, 251, 253, 0.9);
}

#bigdit-widget .bdt-title {
    font-weight: 600;
    margin-bottom: 12px;
}

#bigdit-widget .bdt-input {
    width: 100%;
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

#bigdit-widget .bdt-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px 12px;
    background: #111318;
    color: #fff;
    font-weight: 600;
}

#bigdit-widget .bdt-error {
    color: #b42318;
    font-size: 14px;
    margin-bottom: 10px;
}
