
h1 {
    font: bold;
    outline: none;
    color: white;
    text-shadow: initial;
}

    h1:focus {
        outline: none;
    }

a {
    color: #34d399;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    a:hover {
        color: #6ee7b7;
        text-decoration: underline;
    }

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.header-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: bold;
}

.get-pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #d32f2f, #c2185b);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

    .get-pdf-button:hover {
        background: linear-gradient(to right, #b71c1c, #880e4f);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    .get-pdf-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .get-pdf-button svg {
        width: 1rem;
        height: 1rem;
        fill: currentColor;
    }

.sast-copy {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #34d399;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .sast-copy:hover {
        color: #6ee7b7;
        text-decoration: underline;
    }

body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
}

.text-container {
    margin: 0 auto;
    padding: 2rem;
}

.main-container {
    margin: 0 auto;
    padding: 2rem;
}

.sast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.sast-card {
    word-break: break-word;
    overflow-wrap: anywhere;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease-in-out;
}

    .sast-card:hover {
        box-shadow: 0 8px 16px rgba(255, 255, 255, 0.05);
    }

.sast-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.sast-filename {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f1f1;
    word-break: break-all;
}

.sast-meta {
    font-size: 0.875rem;
    color: #a3a3a3;
    margin-bottom: 1rem;
}

.sast-description {
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d4d4d4;
    margin-bottom: 1rem;
}

.sast-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1d5db;
    word-wrap: break-word;
}

    .sast-description h1,
    .sast-description h2,
    .sast-description h3,
    .sast-description h4,
    .sast-description h5,
    .sast-description h6 {
        color: #ffffff;
        margin-top: 1.2em;
        margin-bottom: 0.5em;
        font-weight: 600;
    }

    .sast-description ul,
    .sast-description ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .sast-description li {
        margin-bottom: 0.25rem;
    }

    .sast-description a {
        color: #34d399;
        text-decoration: none;
        transition: color 0.2s ease-in-out;
    }

        .sast-description a:hover {
            color: #6ee7b7;
            text-decoration: underline;
        }

    .sast-description code {
        font-family: Consolas, Monaco, 'Courier New', monospace;
        font-size: 0.875rem;
        background-color: #212b21;
        padding: 0.2rem 0.4rem;
        border-radius: 0.25rem;
        color: #e5e7eb;
    }

    .sast-description pre {
        background-color: #121212;
        color: #d1d5db;
        padding: 1rem;
        border-radius: 0.5rem;
        overflow-x: auto;
        font-size: 0.875rem;
        line-height: 1.5;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

        .sast-description pre code {
            background: none;
            padding: 0;
            color: inherit;
        }

    .sast-description blockquote {
        border-left: 4px solid #4b5563;
        padding-left: 1rem;
        margin: 1rem 0;
        color: #9ca3af;
        font-style: italic;
    }

    .sast-description table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .sast-description th,
    .sast-description td {
        border: 1px solid #4b5563;
        padding: 0.5rem 0.75rem;
        text-align: left;
    }

    .sast-description thead {
        background-color: #1f2937;
        color: #ffffff;
    }


.severity-high {
    color: #f87171;
    font-weight: 600;
}

.severity-medium {
    color: #facc15;
    font-weight: 600;
}

.severity-low {
    color: #4ade80;
    font-weight: 600;
}

.sast-identifiers {
    list-style: disc;
    word-break: break-word;
    overflow-wrap: anywhere;
    margin-left: 1.5rem;
    font-size: 0.875rem;
}

    .sast-identifiers a {
        color: #34d399;
        text-decoration: none;
    }

        .sast-identifiers a:hover {
            color: #6ee7b7;
            text-decoration: underline;
        }

.validation-message {
    color: #f87171;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #4ade80;
}

.invalid {
    outline: 1px solid #f87171;
}

.blazor-error-boundary {
    background-color: #7f1d1d;
    color: white;
    padding: 1rem;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.drop-zone {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border: 2px dashed #444;
    border-radius: 12px;
    background-color: #181818;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}

    .drop-zone:hover {
        background-color: #2a2a2a;
        border-color: #34d399;
    }

.drop-zone-label {
    font-size: 1.1rem;
    color: #ccc;
    z-index: 1;
    pointer-events: none;
}
