a {
    color: #FFEB3B;
}
md-card a {
    color: #333333;
}

.md-toolbar-tools {
    color: white;
}

md-card .md-toolbar-tools {
    color: #333;
}

md-toolbar md-icon.material-icons {
    color: white;
}

.logo-cases-bg {
    display: none;
}

.md-white-card {
    background: white;
    color: #555555;
}

.md-main-content {
    background-color: #212121; }

md-list-item p {
    font-weight: normal; }

md-list-item.active, md-list-item.active md-icon {
    color: #FFEB3B; /* #006FBA; */
}

md-progress-linear.green .md-container {
    background: #FBFFDA;
}
md-progress-linear.green .md-bar {
    background: #4CAF50;
}

md-progress-linear.blue .md-container {
    background: #DEF2FF;
}
md-progress-linear.orange .md-container {
    background: #FFE0B2;
}
md-progress-linear.orange .md-bar {
    background: #FFBC1C;
}

md-progress-linear.red .md-container {
    background: #FFCDD2;
}
md-progress-linear.red .md-bar {
    background: #FD661F;
}


.md-html-table td, .md-html-table th {
    border: 1px solid #DDDDDD;
    padding: 8px;
}

.md-html-table td[disabled] {
    background: #CCCCCC;
}

.md-html-table tbody tr {
    transition: 0.25s background-color;
}
.md-html-table tbody tr:nth-child(even) {
    background-color: rgba(1, 1, 1, 0.02);
}
.md-html-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.07);
}

.anr-kb-mgmt md-checkbox .md-icon {
    border-color: rgba(50, 50, 50, 0.7)
}

.md-checkbox-enabled.md-default-theme:not(.md-checked) .md-icon,
.md-checkbox-enabled:not(.md-checked) .md-icon{
    border-color: #DDDDDD; /* rgb(0,111,186); */
}

md-sidenav.md-sidenav-left{
    font-size: 1.2em;
}

#threatsChartTypeOptions{
  margin: 95px 0 0 0;
}

#vulnerabilitiesDisplayedTab{
  margin-left: 50px;
  width: 200px;
}

#vulnerabilitiesChartTypeOptions{
  margin-top: 95px;
  margin-right: 200px;
  width: 380px;
}

#riskTab{
  width: 180px;
}

.added-button{
  color: blue;
  background: none;
  border: none;
  font-size: 12px;
  transform: translateY(-25%);
}

/* RISMA Futuristic Auth Experience */
.risma-login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at top, rgba(80, 35, 220, 0.55), transparent 60%),
                radial-gradient(circle at bottom, rgba(0, 245, 212, 0.4), transparent 55%),
                #060912;
    overflow: hidden;
}

.risma-stars,
.risma-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.risma-stars {
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
    animation: rismaStarDrift 20s linear infinite;
}

.risma-gradient {
    background: linear-gradient(130deg, rgba(0, 178, 255, 0.25), rgba(178, 0, 255, 0.12));
    filter: blur(80px);
    transform: scale(1.2);
    opacity: 0.45;
    animation: rismaPulse 12s ease-in-out infinite;
}

.risma-auth-card {
    position: relative;
    z-index: 2;
    width: min(480px, 100%);
    padding: 3rem 3.5rem;
    border-radius: 24px;
    background: rgba(12, 16, 32, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(120, 140, 255, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.risma-brand {
    text-align: center;
}

.risma-logo {
    width: 110px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 0 12px rgba(0, 255, 209, 0.55));
}

.risma-title {
    font-size: 2.8rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #F9FBFF;
    font-weight: 700;
    margin: 0;
}

.risma-subtitle {
    margin: 0.4rem 0 0;
    color: rgba(225, 235, 255, 0.75);
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.risma-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.risma-field label {
    color: rgba(196, 210, 255, 0.75);
    font-size: 0.85rem;
    letter-spacing: 0.03rem;
    margin-bottom: 0.4rem;
    display: block;
    text-transform: uppercase;
}

.risma-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border-radius: 16px;
    background: rgba(20, 26, 54, 0.85);
    border: 1px solid rgba(120, 140, 255, 0.25);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.risma-input input {
    flex: 1;
    border: none;
    background: transparent;
    color: #F9FBFF;
    font-size: 1rem;
}

.risma-input md-icon {
    color: rgba(128, 216, 255, 0.85);
}

.risma-input:focus-within {
    border-color: rgba(0, 255, 209, 0.6);
    box-shadow: 0 0 0 4px rgba(0, 255, 209, 0.12);
}

.risma-captcha {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(10, 14, 28, 0.6);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(120, 140, 255, 0.2);
}

.risma-captcha img {
    align-self: center;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.risma-captcha md-button.md-icon-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    color: rgba(0, 255, 209, 0.8);
}

.risma-secret {
    color: rgba(210, 230, 255, 0.6);
    font-size: 0.9rem;
}

.risma-secret a {
    color: rgba(0, 255, 209, 0.85);
}

.risma-qrcode {
    width: 160px;
    margin: 1rem auto;
    border-radius: 12px;
    padding: 0.7rem;
    background: rgba(12, 18, 38, 0.9);
    box-shadow: inset 0 0 12px rgba(0, 255, 209, 0.15);
}

.risma-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.risma-actions a {
    color: rgba(128, 216, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
}

.risma-action-buttons {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.risma-primary {
    background: linear-gradient(120deg, rgba(0, 255, 209, 0.25), rgba(0, 132, 255, 0.65));
    border-radius: 14px;
    padding: 0.75rem 1.6rem;
    color: #F9FBFF !important;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 148, 255, 0.35);
}

.risma-primary md-icon {
    color: #F9FBFF;
}

.risma-footer {
    display: flex;
    justify-content: space-between;
    color: rgba(180, 200, 240, 0.55);
    font-size: 0.8rem;
    border-top: 1px solid rgba(120, 140, 255, 0.15);
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .risma-auth-card {
        padding: 2.5rem 2rem;
        border-radius: 18px;
        margin: 1.5rem 0;
    }

    .risma-title {
        font-size: 2.2rem;
    }

    .risma-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@keyframes rismaStarDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-40px, 60px, 0); }
}

@keyframes rismaPulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.68; }
}

/* RISMA layout & dashboard */
.risma-shell {
    background: linear-gradient(135deg, #050913 0%, #0f1b33 45%, #090d1f 100%);
    color: #e6eeff;
}

.risma-sidenav {
    width: 320px;
    max-width: 100vw;
    background: rgba(10, 15, 28, 0.96);
    backdrop-filter: blur(16px);
    border-right: 1px solid rgba(120, 140, 255, 0.12);
    color: #cfe5ff;
}

.risma-sidenav-header {
    padding: 24px 24px 12px;
    border-bottom: 1px solid rgba(120, 140, 255, 0.1);
}

.risma-sidenav-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 20%, rgba(0, 255, 209, 0.5), transparent 60%),
                rgba(8, 18, 38, 0.85);
    padding: 8px;
    box-shadow: 0 0 22px rgba(0, 255, 209, 0.28);
}

.risma-sidenav-title {
    font-size: 1.2rem;
    letter-spacing: 0.18rem;
    margin-top: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.risma-sidenav-subtitle {
    font-size: 0.8rem;
    color: rgba(148, 184, 255, 0.65);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.risma-sidenav md-list {
    padding: 16px 12px;
}

.risma-sidenav md-list-item {
    border-radius: 16px;
    margin: 4px 0;
    padding: 8px 12px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.risma-sidenav md-list-item.active,
.risma-sidenav md-list-item:hover {
    background: linear-gradient(135deg, rgba(0, 255, 209, 0.18), rgba(0, 144, 255, 0.15));
    color: #f0f7ff;
    transform: translateX(4px);
}

.risma-sidenav md-icon {
    color: rgba(128, 216, 255, 0.85);
}

.risma-sidenav .md-caption {
    color: rgba(150, 175, 220, 0.55);
    padding: 0 24px;
}

.risma-main {
    position: relative;
    background: radial-gradient(circle at top left, rgba(100, 150, 255, 0.08), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 255, 209, 0.08), transparent 60%),
                rgba(5, 10, 20, 0.95);
    overflow: hidden;
}

.risma-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/bg-cases.png') center/cover;
    opacity: 0.05;
    pointer-events: none;
}

.risma-topbar {
    background: rgba(9, 18, 36, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(120, 140, 255, 0.14);
}

.risma-toolbar-tools {
    padding: 0 12px;
}

.risma-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #eaf2ff;
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    font-weight: 600;
}

.risma-topbar-logo {
    width: 42px;
    border-radius: 12px;
}

.risma-breadcrumb {
    font-size: 0.9rem;
    color: rgba(180, 210, 255, 0.65);
}

.risma-content {
    position: relative;
    flex: 1;
    padding: 16px;
    overflow: hidden;
}

.risma-content-inner {
    position: relative;
    background: rgba(10, 18, 32, 0.78);
    border: 1px solid rgba(120, 140, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.32);
    padding: 18px;
    min-height: calc(100vh - 120px);
    overflow: auto;
    overscroll-behavior: contain;
}

.risma-content-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(0, 255, 209, 0.08), rgba(70, 110, 255, 0.08));
    opacity: 0.7;
    pointer-events: none;
}

.risma-content-inner > * {
    position: relative;
    z-index: 1;
}

.risma-card,
.md-card {
    border-radius: 22px;
    background: rgba(13, 22, 38, 0.92);
    border: 1px solid rgba(110, 140, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    color: #e7f1ff;
}

.risma-card md-toolbar,
.md-card md-toolbar {
    border-radius: 22px 22px 0 0;
    background: linear-gradient(120deg, rgba(0, 255, 209, 0.35), rgba(70, 110, 255, 0.35));
}

.risma-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(130deg, rgba(0, 132, 255, 0.25), rgba(0, 255, 209, 0.18));
    color: #f0fbff;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
}

.risma-badge-alert {
    background: linear-gradient(130deg, rgba(255, 82, 82, 0.25), rgba(255, 140, 0, 0.25));
    color: #ffdfdf;
}

.risma-badge-success {
    background: linear-gradient(130deg, rgba(0, 230, 118, 0.35), rgba(0, 191, 165, 0.35));
    color: #e6fffa;
}

.risma-table-wrapper {
    display: block;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.risma-table {
    min-width: 100%;
}

.risma-table md-table-container,
.risma-table table {
    min-width: 960px;
    background: transparent !important;
    color: #dbe8ff;
}

.risma-table md-table-container {
    border-radius: 16px;
    border: 1px solid rgba(120, 140, 255, 0.12);
}

.risma-table thead {
    background: rgba(20, 32, 52, 0.85);
}

.risma-table th,
.risma-table td {
    white-space: nowrap;
}

.risma-table th {
    color: rgba(200, 220, 255, 0.82);
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}


.risma-table tbody tr:nth-child(even) {
    background: rgba(40, 56, 88, 0.35);
}

.risma-table tbody tr:hover {
    background: rgba(0, 132, 255, 0.12);
}

.risma-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.risma-stat-card {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(12, 20, 42, 0.92), rgba(18, 26, 54, 0.92));
    border: 1px solid rgba(90, 120, 220, 0.18);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.risma-stat-card::before {
    content: '';
    position: absolute;
    inset: -40% 60% 40% -20%;
    background: radial-gradient(circle, rgba(0, 255, 209, 0.4), transparent 50%);
    opacity: 0.6;
}

.risma-stat-card h3 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(210, 230, 255, 0.75);
}

.risma-stat-card .value {
    margin-top: 12px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fbff;
    letter-spacing: 0.08rem;
}

.risma-stat-card .trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    color: rgba(172, 220, 255, 0.8);
}

.risma-timeline {
    border-left: 2px solid rgba(120, 140, 255, 0.25);
    padding-left: 24px;
}

.risma-timeline-item {
    position: relative;
    margin-bottom: 18px;
}

.risma-timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 209, 0.85), rgba(0, 132, 255, 0.55));
    box-shadow: 0 0 18px rgba(0, 255, 209, 0.5);
}

.risma-divider {
    border-color: rgba(120, 140, 255, 0.12);
}

.risma-tabs md-tabs-wrapper {
    border-bottom: 1px solid rgba(120, 140, 255, 0.18);
}

.risma-tabs md-tab-item {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.12rem;
}

.risma-tabs md-ink-bar {
    background: linear-gradient(120deg, rgba(0, 255, 209, 0.8), rgba(0, 132, 255, 0.8));
    height: 3px;
}

.risma-chip {
    border-radius: 12px;
    background: rgba(20, 32, 52, 0.9);
    border: 1px solid rgba(120, 140, 255, 0.2);
    color: rgba(220, 235, 255, 0.8);
}

.risma-badge {
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.risma-glow-button {
    position: relative;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(0, 255, 209, 0.2), rgba(0, 132, 255, 0.2));
    color: #ecf5ff !important;
    overflow: hidden;
}

.risma-glow-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(0, 255, 209, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.risma-glow-button:hover::before {
    opacity: 1;
}

.risma-glass {
    background: rgba(9, 16, 32, 0.78);
    border: 1px solid rgba(120, 140, 255, 0.18);
    box-shadow: 0 26px 45px rgba(0, 0, 0, 0.35);
    border-radius: 22px;
}

.risma-alert {
    border-left: 4px solid rgba(255, 214, 102, 0.85);
    background: rgba(255, 214, 102, 0.12);
    color: #fff3d0;
}

.risma-alert.risma-critical {
    border-left-color: rgba(255, 82, 82, 0.85);
    background: rgba(255, 82, 82, 0.12);
    color: #ffdada;
}

@media (max-width: 1024px) {
    .risma-sidenav {
        width: 280px;
    }

    .risma-content {
        padding: 16px;
    }

    .risma-content-inner {
        padding: 18px;
        border-radius: 22px;
    }
}

@media (max-width: 768px) {
    .risma-shell {
        flex-direction: column;
    }

    .risma-sidenav {
        max-width: 86vw;
    }

    .risma-toolbar-tools {
        padding: 0 6px;
    }

    .risma-content {
        padding: 12px;
    }

    .risma-content-inner {
        padding: 16px;
        min-height: calc(100vh - 130px);
    }

    .risma-stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .risma-sidenav {
        width: calc(100vw - 32px);
    }

    .risma-content {
        padding: 8px;
    }

    .risma-content-inner {
        padding: 14px;
    }

    .risma-topbar-brand span {
        font-size: 0.85rem;
        letter-spacing: 0.12rem;
    }

    .risma-sidenav-title {
        font-size: 1rem;
    }
}
