﻿td[valign="top"] {
    vertical-align: top;
}
td[valign="top"] {
    vertical-align: top;
}

td[valign="middle"] {
    vertical-align: middle;
}

td[valign="bottom"] {
    vertical-align: bottom;
}
td[align="left" i] {
    text-align: left;
}

td[align="center" i] {
    text-align: center;
}

td[align="right" i] {
    text-align: right;
}

td[align="justify" i] {
    text-align: justify;
}
td:has(> input[value="Previous"]) {
    text-align: left;
}
/* Target the Wizard sidebar table and its links */
table[id$="_SideBarList"] {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 8px; /* vertical gap between "buttons" */
}

    table[id$="_SideBarList"] td {
        padding: 0;
        font-weight: normal !important; /* the Wizard bolds the current td inline sometimes */
    }

    /* Base "button" look */
    table[id$="_SideBarList"] a.wiz-step {
        display: block;
        padding: 10px 12px;
        border: 1px solid #d0d7de;
        border-radius: 10px;
        background: #fff;
        color: #1f2328;
        text-decoration: none;
        line-height: 1.2;
        transition: transform .08s ease, box-shadow .08s ease, border-color .08s ease;
    }

        table[id$="_SideBarList"] a.wiz-step:hover {
            border-color: #afb8c1;
            box-shadow: 0 2px 10px rgba(0,0,0,.06);
            transform: translateY(-1px);
        }

        table[id$="_SideBarList"] a.wiz-step:active {
            transform: translateY(0);
            box-shadow: none;
        }

        /* Current step */
        table[id$="_SideBarList"] a.wiz-step.is-current {
            border-color: #0969da;
            box-shadow: 0 0 0 3px rgba(9,105,218,.15);
            font-weight: 700;
        }

        /* Completed step */
        table[id$="_SideBarList"] a.wiz-step.is-done {
            border-color: #2da44e;
        }

        /* Step has validation errors */
        table[id$="_SideBarList"] a.wiz-step.is-error {
            border-color: #cf222e;
            box-shadow: 0 0 0 3px rgba(207,34,46,.12);
        }

        /* Optional: disable future steps (if you choose to) */
        table[id$="_SideBarList"] a.wiz-step.is-disabled {
            opacity: .55;
            pointer-events: none;
        }
