pre {
            /* styles for the <pre> that is directly followed by a <code> */
            border: 2px solid var(--color-light);
        }

        code {

            display: block;
            white-space: pre;
            font-family: monospace;
        }

        .is-invalid {
            border: 1px solid var(--color-danger);
            background-color: var(--color-danger-lightest);
            color: var(--color-dark);
        }

        .is-valid {
            border-bottom: 1px solid var(--color-success);

        }

        input,
        select,
        textarea {
            background-color: var(--color-dark);
            color: var(--color-light);
        }

        .form-group.row>label:first-child {
            width: 160px;
        }


        .resume-profile form {
            color: var(--color-light);
            cursor: pointer;
        }

        .resume-profile label {
            cursor: pointer;
        }

        .resume-profile.editing label {
            cursor: default;
        }


        .list>.item {
            transition: all 0.5s ease;
            cursor: pointer;
            background-color: #FFFFFF05;

        }

        .list>.item:hover {
            border-color: var(--color-info);
            background-color: #CCCCFF10;
        }

        .list>.empty-item:only-child {
            display: flex;
        }

        .list>.empty-item:not(only-child) {
            display: none;
        }

        section>.title {
            display: flex;
            font-size: 18px;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 4px;
        }

        section>form {
            background-color: #FFFFFF05;
            border-radius: 4px;
            transition: all 0.5s ease;
            color: var(--txt-light);
        }

        section>form:hover {
            border-color: var(--color-info);
            background-color: #CCCCFF10;
        }

        section>form.editing {
            cursor: default;
            background-color: var(--color-darkest);
            border-color: var(--color-info);
        }

        section>form .editor-input,
        section>form input,
        section>form select,
        section>form textarea {
            display: none;
        }


        section>form .editor-display {
            display: inline-block;
            padding-bottom: 12px;

        }

        section>form.editing .editor-input {
            display: inline-block;
        }

        section>form.editing .editor-display {
            display: none;
        }

        .help-btn {
            background-color: transparent;
            border: none;
            color: var(--color-light);
            font-size: 20px;
            align-self: end;
            cursor: pointer;
            transition: color 1s ease;
        }

        .help-btn:hover {
            color: var(--color-info);
        }

        .resume-profile .form-group>label:first-of-type {
            color: var(--color-info-lightest);
        }

        .texture-noise {
            background-image: url('images/overlays/pixelated.png');
            background-repeat: repeat;
            background-size: auto;
            background-blend-mode: multiply;
        }

        .popup-bg {
            position: fixed;

            left: 0;
            top: 0;
            width: 100%;
            max-width: 100%;
            height: 100%;
            max-height: 100%;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #00000080;
            z-index: 9998;
            backdrop-filter: blur(3px);
        }


        /* Base transition for all popovers */
        [popover] {
            opacity: 0;
            transform: translate(-50%, -55%) scale(0.95);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        /* Shown state */
        [popover]:popover-open {
            opacity: 1;
            transform: translate(-50%, -60%) scale(1);
        }

        /* Optional: backdrop for all popovers */
        [popover]::backdrop {
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(3px);
            transition: background 0.2s ease;
        }

        [popover]:not(:popover-open) {
            pointer-events: none !important;
        }