:root {
    --black: #0f172a;
    --grey: #e5e7eb;
    --dark-grey: #636363;
    --light-grey: #f2f2f2;
    --theme-green: #1eae53;
    --primary-color: #16A249;
    --secondary-color: #2563eb;
    --text-gray: #6b7280;
    --red: #DC2626;
    --card-title: #5a5f6b;
    --bright-green: #21C45D;
    --light-blue: #EFF6FF;
    --dark-blue: #1E40AF;
    --dark-green: #437950;
    --dark-orange: #CC6032;
    --light-orange: #FFF7ED;
    --rz-primary: var(--bright-green);
    --rz-primary-light: var(--bright-green);
    --rz-primary-lighter: var(--bright-green);
    --rz-secondary: var(--bright-green);
    --rz-checkbox-checked-hover-border: var(--bright-green);
    --rz-input-hover-border: 1px solid var(--bright-green);
    --rz-input-focus-border: 1px solid var(--bright-green);
    --rz-input-focus-shadow: 0px 0px 0px 1px var(--rz-white), 0px 0px 0px 3px #43795035;
    --rz-dropdown-item-selected-hover-background-color: #eee;
    --rz-dropdown-item-selected-hover-color: inherit;
    --rz-dropdown-item-selected-background-color: #eee;
    --rz-dropdown-item-selected-color: inherit;
    --rz-dropdown-item-hover-background-color: #eee;
    --rz-dropdown-item-hover-color: inherit;
    --rz-pager-numeric-button-selected-color: #fff;
    --orange: #EA580C;
    /* Spacing (8px base grid) */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
    
    /* Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    
    /* Transitions */
    --transition: 0.2s ease;
}


* {
    box-sizing: border-box;
}

html {
    --primary-font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    --heading-fontsize: 2em;
    --default-fontsize: 14px;
}

body {
    font-family: var(--primary-font);
    font-size: var(--default-fontsize);
    background:#f4f4f4;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.text-description-gray {
    --tw-text-opacity: 1;
    color: var(--text-gray);
    font-weight: 400;
}

/* common used css class */
.mb-2rem {
    margin-bottom: 2rem;
}
.mb-05rem {
    margin-bottom: 0.5rem;
}
.mt-0 {
    margin-top: 0;
}
.mt-05rem{
    margin-top: 0.5rem;
}
.mr-05rem{
    margin-right: 0.5rem;
}
.a-cent{
    display: flex;
    align-items: center;
}
.a-cent-j-sb{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.a-cent-j-cent{
    display: flex;
    align-items: center;
    justify-content: center;
}
.fd-c{
    flex-direction: column;
}
.flex{
    display: flex;
}
.inline-flex{
    display: inline-flex;
    align-items: center;
}
.fw-500{
    font-weight: 500;
}
.bold{
    font-weight: bold;
}
.block{
    display: block;
}
.inline-block {
    display: inline-block;
}
.mb-10{
    margin-bottom: 10px;
}
.mt-05rem{
    margin-top: 0.5rem;
}
.mr-05rem{
    margin-right: 0.5rem;
}
.gap-05rem{
    gap: 0.5rem;
}
.gap-1rem{
    gap: 1rem;
}
.gap-2rem{
    gap: 2rem;
}
.margin-0{
    margin: 0 !important;
}
.t-center{
    text-align: center;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    background-color: #FAFAFA;
    margin: 0;
}

.site-container {
    flex: 1;
    margin: auto auto;
    width: 100%
}

.body-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f9fafb;
    color: #111827;
    margin: auto auto;
}

@media (min-width: 1400px) {
    .body-content {
        max-width: 1400px;
    }
}

/* ===== Header ===== */
.nav-container {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: sticky;
    padding: 10px;
    top: 0;
    z-index: 5;
}

@media (min-width: 1400px) {
    .nav-header {
        max-width: 1400px;
    }
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}



.brand-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-right: 13%; /* To center the nav links */
}

.nav-link {
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    color: #111827;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 14px;
}

    .nav-link.active {
        color: white;
        background-color: #21C45D;
    }

        .nav-link.active:hover {
            color: white;
            background-color: #17b957;
            transition: .3s;
        }

    .nav-link:hover {
        color: #27C662;
        background-color: #D3F3DF;
        transition: .3s;
    }


.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}



.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid rgb(33, 196, 93);
    border-radius: 6px;
    padding: 9px 16px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
    color: #16A34A;
    font-weight: bold;
    background-color: #FAFAFA;

}

    .user-btn:hover {
        background-color: #f3f4f6;
    }

.notification {
    position: relative;
}

    .notification .badge {
        position: absolute;
        top: -3px;
        right: -6px;
        background: #dc2626;
        color: #fff;
        font-size: 10px;
        border-radius: 9999px;
        padding: 1px 4px;
    }

    .notification i {
        font-size: 20px;
    }

.user-avatar {
    background: #21C45D;
    color: #fff;
    border-radius: 99px;
    width: 35px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}




.company-title {
    font-size: 20px;
    font-weight: 700;
    margin: 5px;

}

.subtitle {
    color: #6b7280;
    font-size: 12px;
    margin: 5px;
}



.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.page-header {
    margin-bottom: 1.5rem;
    display:flex;
    flex-direction:column;
    gap:.5rem;
}
    .page-header h1 {
        margin: 0;
    }

    .page-header p {
        margin: 0;
    }

.multi-tabs {
    background-color: var(--light-grey);
    padding: 0.25rem;
    color: var(--dark-grey);
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    row-gap: .25rem;
}

    .multi-tabs > div {
        flex-grow: 1;
        transition-property: all;
        transition-timing-function: cubic-bezier(.4, 0, .2, 1);
        transition-duration: .15s;
        font-weight: 500;
        font-size: .875rem;
        line-height: 1.25rem;
        padding: .375rem .75rem;
        border-radius: 4px;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        display: flex;
        cursor: pointer;
        white-space: nowrap;
    }

        .multi-tabs > div.active {
            background-color: #fff;
            color: var(--black);
            box-shadow: 0 1px 2px 0 #0000000d
        }

        .multi-tabs > div:hover {
            color: var(--black);
        }

    .multi-tabs .tab-add-button {
        flex-grow: 0;
        background-color: #ffffff;
        color: var(--dark-grey);
        height: -webkit-fill-available;
        margin: 0 0 0 .25rem;
    }

        .multi-tabs .tab-add-button:hover {
            color: var(--black);
            transform: scale(0.95);
            box-shadow: 0 1px 2px 0 #0000000d
        }


.save-view {
    position: relative;
}

.save-view .saving-overlay {
    position: fixed;            /* cover the viewport, not just the container */
    inset: 0;                   /* top:0; right:0; bottom:0; left:0 */
    display: flex;
    align-items: center;        /* vertical centering */
    justify-content: center;    /* horizontal centering */
    background-color: #4545451c;
    z-index: 2000;              /* above page content */
    pointer-events: all;        /* block clicks while saving */
    color: black;
}

.saving-overlay .saving-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

    .saving-overlay .saving-box i {
        color: var(--theme-green);
    }

.text-muted {
    color: #737373;
}

.permission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 1.5rem 0;
}
    .permission-header h2, .permission-header p {
        margin: 0;
    }

.card {
    box-shadow: 0 1px 2px 0 #0000000d;
    color: var(--black);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #fff;
    overflow:hidden;
}

.permission-card {
    
}

.permission-card h3 {
    display:flex;
    gap: 0.75rem;
}

    .permission-card p {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

.permission-card > :first-child {
    margin-bottom: 1rem;
}
    .permission-card > :first-child h3 {
        margin: 0 0 .125rem 0;
        font-size: 1.5rem;
    }
    .permission-card > :first-child p {
        margin: 0;
    }

.permission-card .permission-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.permission-card .permission-card-body .card {
    padding: .75rem;
}

.permission-label {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .5rem;
    position: relative;
    font-size: 0.875rem;
}

.permission-details {
    display:flex;
    flex-direction: column;
    gap: 0.5rem;
}

.permission-label .enabled-label {
    position: absolute;
    top: 0;
    right: 0;
    padding: .25rem .875rem;
    border-radius: 20px;
    background-color: var(--light-grey);
}
.permission-label .enabled-label.green {
    background-color: var(--theme-green);
    color: #fff;
}

.permission-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.375rem;
}

    .permission-tags .tag {
        flex-shrink: 0;
    }

.tag {
    display: inline-block;
    padding: .25rem .875rem;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid #e0e0e0;
    font-size: .875rem;
}


.card {
    margin: 0;
    border-radius: 8px;
    background: white;
    color: black;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e0e0e0;
}
.card-matrix {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 100%;
    gap: 20px;
    grid-auto-rows: auto; /* Each row adjusts to tallest card */
    margin-top: 20px
}

.petition-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    color: var(--card-title);
    font-size: 14px;
    font-weight: 500;
}

.petition-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.petition-info {
    font-size: var(--font-sm, 14px);
    line-height: 1.5;
}

.petition-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.petition-count {
    font-size: var(--font-md, 16px);
    color: #666;
    margin-bottom: 10px;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
}

.petition-icon {
    font-size: 32px;
    font-weight: 600;
}

    .petition-icon.blue {
        color: var(--secondary-color)
    }

    .petition-icon.red {
        color: var(--red);
    }

    .petition-icon.green {
        color: var(--theme-green);
    }

    .petition-icon.orange {
        color: var(--orange);
    }

.purple {
    color: #9333ea;
}


.count {
    font-weight: 600;
    font-size: 28px;
}
    .count.blue {
        color: var(--secondary-color);
    }

    .count.red {
        color: var(--red);
    }

    .count.green {
        color: var(--theme-green);
    }

    .count.orange {
        color: var(--orange);
    }


    /*Welcome Bannar */

.welcome-banner {
    border-radius: 10px;
    padding: 2rem 1rem;
    margin: 30px auto;
    text-align: center;
    background: linear-gradient(to right, #ecf2f9, #ebfff6);
}

.VAB-welcome-banner {
    border-radius: 10px;
    padding: 30px 20px;
    margin-top: 20px;
    text-align: left;
    background: linear-gradient(90deg, #b8e5ff47 0%, #faf6ff 100%);
}

    .VAB-welcome-banner h1 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 1px;
        margin-top: 0px;
    }

    .VAB-welcome-banner p {
        font-size: 16px;
        font-weight: 400;
        color: var(--text-grey);
        max-width: 800px;
        margin: 0;
        line-height: 1.6;
    }

    .welcome-banner h1 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 1px;
        margin-top: 0px;
    }

    .welcome-banner p {
        font-size: 16px;
        font-weight: 400;
        color: var(--text-grey);
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .flex-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }



/* ===== Petition Table Styling ===== */
.petition-table-section {
    background: #fff;
    border: 1.5px solid var(--grey);
    border-radius: 8px;
    overflow: hidden;
    margin: 30px auto;
    border: 1.5px solid #e0e0e0;
}

.petition-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    cursor: pointer;
}

    .petition-table thead {
        color: var(--rz-base-700);
    }

    .petition-table th,
    .petition-table td {
        padding: 14px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .petition-table th {
        font-weight: 600;
        color: var(--text-grey);
    }

    .petition-table tr:last-child td {
        border-bottom: none;
    }

.text-green {
    color: var(--theme-green);
    font-weight: 600;
}

/* ===== Status Tags ===== */
table .status {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.submitted {
    background-color: var(--bright-green);
    border: 1px solid var(--bright-green);
    color: var(--rz-white);
}
.status.white {
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
}
.status.blue {
    color: #fff;
    background-color: var(--secondary-color); 
}

.status.red {
    color: #fff;
    background-color: var(--red);
}

.status.grey {
    color: #fff;
    background-color: #4b5563;
}

.status.green {
    color: #fff;
    background-color: var(--theme-green);
}

/* ===== Payment Badges ===== */
.payment {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
}

    .payment.paid {
        background-color: var(--theme-green);
        color: #fff;
    }

    .payment.unpaid {
        background-color: var(--red);
        color: #fff;
    }


/* ===== Table Buttons ===== */
table .btn {
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    transition: background-color 0.2s ease;
    vertical-align: middle;
}

.btn-success {
    background-color: var(--bright-green);
    color: #fff;
}

    .btn-success:hover {
        background-color: var(--theme-green);
    }

.btn-danger {
    background-color: var(--red);
    color: #fff;
}

    .btn-danger:hover {
        background-color: #ef4444;
    }

/* ===== Icon alignment fix ===== */
table .btn i {
    font-size: 13px;
    line-height: 0; /* important for Font Awesome centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

/*SearchBox*/


.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: #aaa;
}

.search-box:focus-within {
    border-color: var(--theme-green);
    box-shadow: 0 0 0 1px var(--theme-green);
}

    .search-box i {
        margin-right: 8px;
        font-size: 16px;
    }


    .search-box:focus {
        border-color: white;
    }

    .search-box input[type="text"] {
        border: none;
        outline: none;
        padding: 5px;
        background: transparent;
        width: 100%;
        font-size: 16px;
    }

    /*Bulk Uploads Table */

.bulk-upload-section {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 20px 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    max-width: 100%;
    margin: 25px auto;
}

    .bulk-upload-section h2 {
        font-size: 18px;
        font-weight: 700;
        color: #1f2937;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 5px;
    }

    .bulk-upload-section .subtitle {
        color: #6b7280;
        font-size: 14px;
        margin-bottom: 18px;
    }

.bulk-upload-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .bulk-upload-table th,
    .bulk-upload-table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #f1f1f1;
    }

    .bulk-upload-table th {
        color: #6b7280;
        font-weight: 600;
    }

    .bulk-upload-table tr:last-child td {
        border-bottom: none;
    }

/* Success / Error count badges */
 table .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 13px;
}

    table .count.success {
        background-color: #dcfce7;
        color: var(--theme-green);
    }

    table .count.error {
        background-color: #fee2e2;
        color: var(--red);
    }

/* Status badge */
.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 13px;
}

    .status.completed {
        background-color: var(--theme-green);
        color: #fff;
    }

    .status.queued {
        background-color: #3b82f6;
        color: #fff;
    }

    .status.processing {
        background-color: #f59e0b;
        color: #fff;
    }

    .status.failed {
        background-color: #ef4444;
        color: #fff;
    }

    .status.cancelled {
        background-color: #6b7280;
        color: #fff;
    }

/* View button */
.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-view:hover {
        background-color: #fff;
    }

    .btn-view i {
        font-size: 13px;
    }


/* ===== Page Title Header ===== */

.page-title-header {
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.page-title-left h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.page-title-left p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0.25rem 0 0 0;
}

.page-title-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    
}

a.btn {
    text-decoration: none;
}

    /* Light Button (secondary action) */
.btn-light {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: var(--black);
    font-weight: 600;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

    .btn-light:hover {
        background-color: #f3f4f6;
    }

.btn-add {
    background-color: var(--bright-green);
    border: 1px solid var(--bright-green);
    color: var(--rz-white);
    font-weight: 600;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-add:hover {
    background-color: var(--primary-color);
}


.btn-white {
    background-color: #e5e7eb;
    color: var(--text-grey);
    font-weight: 600;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-white:hover {
    background-color: var(--light-grey);
}

.btn-delete {
    background-color: var(--red);
    border: 1px solid var(--red);
    color: var(--rz-white);
    font-weight: 600;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

    .btn-delete:hover {
    background-color: #ef4444;
}
    /*hearing page*/

.hearing-container {
    margin: 10px auto;
    display: flex;
    gap: 20px;
}

.main-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hearing-page-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.hearing-banner {
    background: var(--light-blue);
    border: 1px solid #CCE2FE;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark-blue)
}

    .hearing-banner p {
        margin: 0;
        font-weight: 600;
    }

    .hearing-banner a {
        color: var(--secondary-color);
        text-decoration: none;
        font-weight: 500;
    }

    .hearing-banner i {
        font-size: 20px;
        margin-right: 10px;
    }


.reminders-banner {
    background: var(--light-orange);
    border: 1px solid #FCE3C6;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: var(--dark-orange)
}

    .reminders-banner p {
        margin: 0;
        font-weight: 600;
    }

    .reminders-banner a {
        color: var(--dark-orange);
        text-decoration: none;
        font-weight: 500;
    }

    .reminders-banner i {
        font-size: 20px;
        margin-right: 10px;
    }

    .reminders-banner li {
        margin-top: 5px;
    }

.location-box {
    background-color: #edfff3;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.checklist ul {
    list-style: none;
    padding: 0;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist input {
    accent-color: var(--theme-green);
}

.checklist h3 {
    margin-bottom: 10px;
    margin-top: 30px;
}

.checklist h2 {
    margin-bottom: 5px;
}

.checklist-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .checklist-header i {
        margin-top: 12px;
        font-size: 22px;
        color: var(--black)
    }

.highlight {
    background-color: var(--theme-green);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sidebar-card p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.office-hours {
    margin-top: 1rem;
    font-size: 13px;
}

.hearing-container label {
    color: var(--card-title);
    font-weight: 600;
}

.hearing-details-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .hearing-details-header i {
        font-size: 22px;
        color: var(--black);
    }

.hearing-container hr {
    border-top: 1px solid var(--light-grey);
    margin: 40px auto;
}

.hearing-details {
    display: flex;
    gap: 36%;
}

.hearing-detail {
    margin-top: 20px;
}

.location-details-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .location-details-header h3 {
        margin: 0;
    }


.hearing-location-detials label {
    color: var(--dark-green);
    font-weight: bold;
}

.hearing-location-detail {
    margin-top: 20px;
    color: var(--theme-green);
}

    .hearing-location-detail:first-child {
        margin-top: 0px;
    }


.checklist p {
    margin: 0;
    padding: 0;
    color: var(--card-title);
}

/*Petition Page*/

.card-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

    .card-section-header h2,
    .card-section-header h3 {
        margin: 0;
        font-weight: 600;
        color: #2c3e50;
    }

.card-content {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.card-column {
    flex: 1;
}

    .card-column div {
        margin: 5px 0 20px;
    }



hearing-page-sidebar label {
    color: var(--card-title);
    font-weight: 600;
}

.highlight {
    color: #27ae60;
    font-weight: bold;
}

/* --- SIDEBAR CARDS --- */
.sidebar-card {
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #fff;
}

    .sidebar-card h2 {
        margin-bottom: 15px;
        font-size: 1.1rem;
        color: #2c3e50;
    }

.card-info {
    padding-bottom: 10px;
}

/* --- HORIZONTAL RULE STYLING --- */
.card hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0;
}


.red {
    color: var(--red);
}

.blue {
    color: var(--secondary-color);
    font-weight: 600;
}

/*VAB Dashboard */

/* Notifications Sent */
.notifications-sent {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.notifications-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

    .notifications-header h2 {
        font-size: 16px;
        font-weight: 600;
        color: #1e3a8a; /* navy blue */
        margin: 0;
    }

    .notifications-header p {
        font-size: 12px;
        color: #6b7280;
        margin: 2px 0 0 0;
    }

.header-icon {
    color: #2563eb;
    font-size: 18px;
}

/* Notification list container */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Each row */
.notification-row {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

    .notification-row:hover {
        background-color: #dbeafe;
    }

    /* Left side */
    .notification-row .left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

.icon-circle {
    background-color: #dbeafe;
    color: #2563eb;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.text h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}

.text p {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0 0 0;
}

/* Right side */
.notification-row .right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
}

.notification-row .count {
    font-size: 18px;
    font-weight: 700;
}

.notification-row .right p {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
}

.notification-row .fa-arrow-right {
    font-size: 12px;
    color: #2563eb;
}












/* Upcoming Deadlines */

.deadlines-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}


.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

    .header-icon.orange {
        color: var(--dark-orange);
    }

    .header-icon.blue {
        color: var(--secondary-color);
    }

.deadlines-subtitle {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.deadline-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deadline-card {
    background-color: var(--light-orange);
    border: 1px solid #FCE3C6;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

    .deadline-card:hover {
        background-color: #ffedd5;
    }

.deadline-info h3 {
    font-size: 14px;
    color: #78350f;
    font-weight: 500;
    margin: 0;
}

.deadline-info p {
    font-size: 12px;
    color: #b45309;
    margin: 2px 0 0 0;
}

.deadline-count {
    background-color: #fed7aa;
    color: #b45309;
    font-weight: 600;
    font-size: 13px;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}





/* ---------- Priority Tasks ---------- */
.priority-tasks {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Header */
.tasks-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}



    .tasks-header p {
        font-size: 12px;
        color: #6b7280;
        margin: 2px 0 0 0;
    }


/* Task list */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    max-height: 37vh;
    overflow-y: auto;
}

/* Individual Task Card */
.task-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    transition: background 0.2s ease;
}

    .task-card:hover {
        background-color: #f9fafb;
    }

.task-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Priority + PTN line */
.priority-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.priority-tag {
    text-transform: capitalize;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 8px;
    color: #fff;
}

    .priority-tag.high {
        background-color: #ef4444;
    }

    .priority-tag.medium {
        background-color: #f59e0b;
    }
    .priority-tag.low {
        background-color: var(--theme-green);
    }

a.admin-tile {
    background-color: #fff;
    padding: 1.5em;
    margin-right: 0.5em;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.07);
    text-decoration: none;
    color: #777;
    font-size: 1.2em;
}

    a.admin-tile .fas {
        color: #21c45d;
        margin-right: 1em;
    }

    a.admin-tile:hover {
        color: #000;
    }


.dialog-footer {
    display: flex;
    gap: .5rem;
    justify-content: right;
    margin-top: var(--rz-dialog-content-padding);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.125rem;
}

.card-header-title {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

    .card-header-title h3 {
        font-weight: 600;
        margin: 0;
    }

    .card-header small {
        font-size: .85rem;
    }

.form-row {
    display:flex;
    flex-direction:column;
    gap:.5rem;
}

    .form-row label {
        display: flex;
        gap: .5rem;
        font-weight: 500;
        align-items: center;
        opacity: 0.7;
    }

    .form-row label i {
        opacity:0.5;
    }

    .form-row input, .form-row select {
        border: 1px solid #ccc;
        border-radius: 7px;
        padding: 7px;
    }

form > .form-row {
    margin-bottom: 1.5rem;
}

form .form-row:last-child {
    margin-bottom: 0;
}

.profile-edit-status div.alert {
    margin-top: 1rem;
}

.profile-edit-status div.alert-success {
    color: #199547
}
.petition-id {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #babdc1;
}

/* Task text */
.task-body h3 {
    font-size: 13.5px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.task-body p {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0 0 0;
}

/* Arrow button */
.arrow-btn {
    background-color: #fff;
    border: 1px solid #babdc1;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .arrow-btn:hover {
        background-color: #f9fafb;
        color: #111827;
        border-color: #d1d5db;
    }

/* Footer link */
.view-all {
    text-align: center;
    margin-top: 10px;
    background-color: #F9FAFB;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: 100%;
    padding: 15px;
}

    .view-all a {
        text-decoration: none;
        color: var(--black);
        font-weight: 500;
    }



 /*Petition Search*/

.petition-search {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
}

    .petition-search h3 {
        font-size: 16px;
        font-weight: 700;
        color: var(--black);
        margin-bottom: 10px;
    }

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 20px;
}

    .search-grid input,
    .search-grid select {
        border: 1px solid #d1d5db;
        border-radius: 6px;
        padding: 10px 12px;
        font-size: 14px;
        width: 100%;
        background-color: #fff;
    }

        .search-grid input:focus,
        .search-grid select:focus {
            outline: none;
            border-color: var(--theme-green);
            box-shadow: 0 0 0 1px var(--theme-green);
        }

.search-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 10px;
}

.btn {
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .btn.clear {
        background: transparent;
        color: #374151;
        border: 1px solid #d1d5db;
        border-radius: 8px;
    }

        .btn.clear:hover {
            background-color: #e5e7eb;
        }


    .btn.search {
        background: var(--theme-green);
        color: #fff;
    }

        .btn.search:hover {
            background: #189646;
        }

.VAB-petition-table-section {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin: 30px auto;
}

.form-check-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}


.check-group {
    display: flex;
    align-items: center;
    gap: 5px;
}


input[type="checkbox"] {
    accent-color: #1ea951;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.petition-table a {
    text-decoration: none;
    color: var(--theme-green);
    font-weight: 600;
}

/* ===== Recent Petitions Section ===== */

.recent-petitions h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.recent-petition-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-petition-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

    .recent-petition-item:hover {
        background: #f9fafb;
    }

.recent-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.recent-petition-id {
    font-weight: 700;
    font-size: 14px;
    color: var(--black);
}

.recent-petition-address {
    font-weight: 600;
    color: var(--black);
    font-size: 14px;
}

.recent-status {
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    padding: 4px 10px;
}

    .recent-status.green {
        background: var(--theme-green);
        color: white;
    }

    .recent-status.grey {
        background: #6b7280;
        color: white;
    }

.recent-meta {
    font-size: 13px;
    color: var(--dark-grey);
}

.recent-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .recent-right .btn {
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .recent-right .btn.review {
            background: transparent;
            color: #374151;
            border: 1px solid #d1d5db;
            border-radius: 8px;
        }

            .recent-right .btn.review:hover {
                background-color: #e5e7eb;
            }

        .recent-right .btn.schedule {
            background-color: var(--theme-green);
            color: #fff;
        }

            .recent-right .btn.schedule:hover {
                background-color: #189646;
            }


/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 10px;
}

/* Tip Cards (uses existing .card structure) */
.tip-card {
    background-color: #edfff3;
    border-radius: 6px;
    color: #166534;
    font-size: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.tips-header {
    margin-bottom: 0px;
}


.row {
    /* display: grid; */
    /* grid-template-columns: auto 1fr; */
}

.nav-pills li {
    list-style-type: none;
    margin: 0px;
    display: block;
}

    .nav-pills li > a {
        display: block;
    }

.nav-pills {
    padding: 0px;
}

.alert-danger {
    background-color:#ffe8e8;
    color:#900;
    padding:1em;
    border-radius:8px;
    margin-bottom:1em;
}

ul.alert-danger {
    padding-left: 3em;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
#stepper-component {
    /* Colors */
    --color-primary: var(--primary-color, #16A249);
    --color-primary-hover: #22c55e;
    --color-secondary: var(--secondary-color, #2563eb);
    /* Grayscale */
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-700: #4b5563;
    --color-gray-900: #1f2937;
    --color-gray-950: #1a202c;
    /* Blue */
    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-200: #bfdbfe;
    --color-blue-700: #1e40af;
    /* Yellow */
    --color-yellow-50: #fef3c7;
    --color-yellow-400: #fbbf24;
    --color-yellow-600: #f59e0b;
    --color-yellow-900: #92400e;
    /* Green */
    --color-green-100: #d1fae5;
    --color-green-400: #6ee7b7;
    --color-green-600: #059669;
    --color-green-800: #047857;
    --color-green-900: #065f46;
    /* Other */
    --color-red: #ef4444;
    --color-white: #ffffff;
    /* Spacing (8px base grid) */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
    /* Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    /* Transitions */
    --transition: 0.2s ease;
}

/* ===== ROOT CONTAINER ===== */
#stepper-component {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    box-sizing: border-box;
}

    /* ===== HEADER ===== */
    #stepper-component .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-sm);
    }

    #stepper-component .header-step {
        color: var(--color-gray-900);
        font-weight: 600;
        font-size: var(--font-sm);
    }

    #stepper-component .header-percent {
        color: var(--color-gray-500);
        font-weight: 500;
        font-size: var(--font-sm);
    }

    /* ===== PROGRESS BAR ===== */
    #stepper-component .progress {
        width: 100%;
        background-color: var(--color-gray-200);
        border-radius: var(--radius-full);
        height: 0.375rem;
        margin-bottom: var(--space-2xl);
        overflow: hidden;
    }

    #stepper-component .progress-bar {
        background-color: var(--color-primary);
        height: 100%;
        border-radius: var(--radius-full);
        transition: width var(--transition);
    }

    /* ===== STEPPER ===== */
    #stepper-component .stepper {
        display: flex;
        justify-content: space-between;
        position: relative;
        gap: var(--space-md);
    }

    #stepper-component .stepper-item {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #stepper-component .stepper-line {
        position: absolute;
        left: -30%;
        right: 85%;
        top: 1.25rem;
        height: 2px;
        background-color: var(--color-gray-300);
        z-index: 1;
    }

    /* Stepper Circle */
    #stepper-component .stepper-circle {
        position: relative;
        z-index: 10;
        flex-shrink: 0;
        border-radius: 50%;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 var(--space-md);
        border: 2px solid;
        transition: all var(--transition);
    }

        #stepper-component .stepper-circle.active {
            background-color: var(--color-secondary);
            border-color: var(--color-gray-300);
        }

        #stepper-component .stepper-circle.completed {
            background-color: var(--color-primary);
            border-color: var(--color-primary);
        }

        #stepper-component .stepper-circle.inactive {
            background-color: var(--color-white);
            border-color: var(--color-gray-300);
        }

    #stepper-component .stepper-icon {
        font-size: var(--font-lg);
    }

        #stepper-component .stepper-icon.active {
            color: var(--color-white);
        }

        #stepper-component .stepper-icon.inactive {
            color: var(--color-gray-400);
        }

    #stepper-component .stepper-caption {
        margin-top: var(--space-sm);
        width: 100%;
    }

    #stepper-component .stepper-title {
        font-weight: 700;
        color: var(--color-gray-950);
        font-size: var(--font-base);
        line-height: 1.2;
        margin: 0 0 0.15rem 0;
    }

    #stepper-component .stepper-subtitle {
        font-size: 0.9rem;
        color: var(--color-gray-500);
        font-weight: 400;
        margin: 0;
    }

    /* ===== BUTTON SYSTEM ===== */
    #stepper-component .btn {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius-md);
        font-weight: 600;
        font-size: var(--font-sm);
        cursor: pointer;
        border: none;
        transition: all var(--transition);
    }

        #stepper-component .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

    /* Button Variants */
    #stepper-component .btn-primary {
        background-color: var(--color-primary);
        color: var(--color-white);
    }

        #stepper-component .btn-primary:hover:not(:disabled) {
            background-color: var(--color-primary-hover);
            box-shadow: 0 2px 8px rgba(34,197,94,0.15);
        }

    #stepper-component .btn-secondary {
        background-color: var(--color-gray-100);
        color: var(--color-gray-500);
    }

        #stepper-component .btn-secondary:hover:not(:disabled) {
            background-color: var(--color-gray-200);
        }

    #stepper-component .btn-outline {
        background-color: var(--color-white);
        color: var(--color-gray-900);
        border: 1px solid var(--color-gray-300);
    }

        #stepper-component .btn-outline:hover:not(:disabled) {
            background-color: var(--color-gray-100);
            border-color: var(--color-gray-400);
        }

    /* Button Sizes */
    #stepper-component .btn-sm {
        padding: 0.5rem 1rem;
    }

    #stepper-component .btn-lg {
        padding: 0.75rem 2rem;
    }

    /* ===== NAVIGATION ===== */
    #stepper-component .navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: var(--space-2xl);
    }

    /* ===== CONTENT CONTAINER ===== */
    #stepper-component .content {
        background-color: var(--color-white);
        border: 0.5px solid #ccc;
        border-radius: var(--radius-md);
        padding: var(--space-xl);
        margin: var(--space-xl) 0;
        box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    }

    /* ===== SECTION HEADERS ===== */
    #stepper-component .section-header {
        margin-bottom: var(--space-xl);
    }

    #stepper-component .section-icon {
        color: #2563eb;
        font-size: var(--font-2xl);
        margin-bottom: var(--space-sm);
    }

    #stepper-component .section-heading {
        font-size: var(--font-2xl);
        font-weight: 500;
        color: var(--color-gray-950);
        margin: var(--space-sm) 0;
    }

    #stepper-component .section-description {
        font-size: var(--font-base);
        margin: 0;
    }

    #stepper-component .section-title {
        font-size: var(--font-xl);
        font-weight: 600;
        color: var(--color-gray-900);
        margin: 0 0 var(--space-lg) 0;
    }

    /* ===== FORM SYSTEM ===== */
    #stepper-component .form-group {
        flex: 1;
        min-width: 0;
        margin-bottom: var(--space-lg);
    }

    #stepper-component .form-label {
        font-weight: 600;
        font-size: var(--font-sm);
        color: var(--color-gray-900);
        display: block;
        margin-bottom: var(--space-sm);
    }

    #stepper-component .required {
        color: var(--color-red);
    }

    /* Form Inputs */
    #stepper-component .form-input,
    #stepper-component .form-select,
    #stepper-component .form-textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1.5px solid lightgray;
        border-radius: var(--radius-md);
        font-size: var(--font-base);
        color: var(--color-gray-900);
        background-color: var(--color-white);
        transition: border-color var(--transition);
        box-sizing: border-box;
    }

        #stepper-component .form-input:focus,
        #stepper-component .form-select:focus,
        #stepper-component .form-textarea:focus {
            outline: none;
            border-color: var(--color-primary);
            border-width: 2.5px;
        }

        #stepper-component .form-input::placeholder,
        #stepper-component .form-textarea::placeholder {
            color: var(--color-gray-400);
        }

    #stepper-component .form-textarea {
        resize: vertical;
        font-family: inherit;
    }

    #stepper-component .form-row {
        display: flex;
        gap: var(--space-md);
        margin-bottom: var(--space-lg);
    }

    #stepper-component .form-actions {
        display: flex;
        justify-content: center;
        margin-top: var(--space-xl);
    }

    /* Radio Buttons */
    #stepper-component .radio-group {
        display: flex;
        gap: 0.75rem;
    }

    #stepper-component .radio-label {
        display: flex;
        align-items: center;
        font-weight: 400;
        color: var(--color-gray-900);
        cursor: pointer;
    }

        #stepper-component .radio-label input[type="radio"] {
            margin-right: var(--space-sm);
            cursor: pointer;
            width: 1.125rem;
            height: 1.125rem;
            accent-color: var(--color-primary);
        }

    /* Checkboxes */
    #stepper-component .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    #stepper-component .checkbox-label {
        display: flex;
        align-items: center;
        font-weight: 400;
        color: var(--color-gray-900);
        cursor: pointer;
    }

        #stepper-component .checkbox-label input[type="checkbox"] {
            margin-right: var(--space-sm);
            cursor: pointer;
            width: 1.125rem;
            height: 1.125rem;
            accent-color: var(--color-primary);
        }

    /* Custom Checkbox */
    #stepper-component .custom-checkbox {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        cursor: pointer;
    }

        #stepper-component .custom-checkbox input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        #stepper-component .custom-checkbox .checkmark {
            position: relative;
            flex-shrink: 0;
            width: 1.25rem;
            height: 1.25rem;
            border: 2px solid var(--color-primary);
            border-radius: var(--radius-sm);
            background-color: var(--color-white);
            transition: all var(--transition);
        }

        #stepper-component .custom-checkbox input:checked ~ .checkmark {
            background-color: var(--color-primary);
        }

        #stepper-component .custom-checkbox .checkmark::after {
            content: "";
            position: absolute;
            display: none;
            left: 0.375rem;
            top: 0.125rem;
            width: 0.375rem;
            height: 0.625rem;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        #stepper-component .custom-checkbox input:checked ~ .checkmark::after {
            display: block;
        }

        #stepper-component .custom-checkbox .checkbox-text {
            font-weight: 400;
            color: var(--color-gray-900);
            line-height: 1.5;
        }

    /* ===== INFO BOX SYSTEM ===== */
    #stepper-component .info-box {
        border-radius: var(--radius-md);
        padding: var(--space-lg);
        border: 1px solid;
        margin-top: var(--space-xl);
        margin-bottom: var(--space-xl);
    }

    #stepper-component .info-box-header {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        margin-bottom: 0.75rem;
    }

    #stepper-component .info-box-icon {
        font-size: var(--font-xl);
    }

    #stepper-component .info-box-title {
        font-weight: 600;
        font-size: var(--font-2xl);
        margin-bottom: var(--space-lg);
    }

    #stepper-component .info-box-subtitle {
        font-weight: 500;
        font-size: var(--font-lg);
        margin-bottom: var(--space-md);
        color: var(--color-blue-700);
    }

    #stepper-component .info-box-text {
        font-size: var(--font-sm);
        line-height: 1.5;
        margin: var(--space-sm) 0;
        color: var(--color-blue-700);
    }

    /* Info Box Variants */
    #stepper-component .info-box.warning {
        background-color: var(--color-yellow-50);
        border-color: var(--color-yellow-400);
    }

        #stepper-component .info-box.warning .info-box-icon {
            color: var(--color-yellow-600);
        }

        #stepper-component .info-box.warning .info-box-title,
        #stepper-component .info-box.warning .info-box-text {
            color: var(--color-yellow-900);
        }

    #stepper-component .info-box.info {
        background-color: var(--color-blue-50);
        border-color: var(--color-blue-200);
    }

        #stepper-component .info-box.info .info-box-icon,
        #stepper-component .info-box.info .info-box-title,
        #stepper-component .info-box.info .info-box-text {
            color: var(--color-blue-700);
        }

    #stepper-component .info-box.success {
        background-color: var(--color-green-100);
        border-color: var(--color-green-400);
    }

        #stepper-component .info-box.success .info-box-icon {
            color: var(--color-green-600);
        }

        #stepper-component .info-box.success .info-box-title {
            color: var(--color-green-900);
        }

        #stepper-component .info-box.success .info-box-text {
            color: var(--color-green-800);
        }

    #stepper-component .info-box.gradient {
        background: linear-gradient(135deg, var(--color-blue-50) 0%, var(--color-blue-100) 100%);
        border-color: var(--color-blue-200);
    }

        #stepper-component .info-box.gradient .info-box-title {
            color: var(--color-blue-700);
        }

    /* ===== CARD SYSTEM ===== */
    #stepper-component .card {
        background-color: var(--color-white);
        border: 1px solid var(--color-gray-200);
        border-radius: var(--radius-md);
        padding: var(--space-xl);
        margin-bottom: var(--space-xl);
    }

    #stepper-component .card-header {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }

    #stepper-component .card-title {
        font-size: var(--font-xl);
        font-weight: 600;
        color: var(--color-gray-900);
        margin-bottom: var(--space-md);
    }

    #stepper-component .subsection-title {
        border-bottom: 0.5px solid var(--color-gray-200);
        margin-top: var(--space-lg);
        padding-bottom: var(--space-sm);
    }

    #stepper-component .card-description {
        font-size: var(--font-sm);
        color: var(--color-gray-500);
        line-height: 1.5;
        margin: 0 0 var(--space-xl) 0;
    }

    #stepper-component .dr-card {
        background-color: var(--color-white);
        border: 1px solid var(--color-gray-200);
        border-radius: var(--radius-md);
        padding: var(--space-md);
    }

    /* ===== UPLOAD AREA ===== */
    #stepper-component .upload {
        border: 2px dashed var(--color-gray-300);
        border-radius: var(--radius-md);
        padding: 3rem 2rem;
        text-align: center;
        background-color: var(--color-gray-50);
        margin-bottom: var(--space-xl);
        transition: border-color var(--transition);
    }

        #stepper-component .upload:hover {
            border-color: var(--color-primary);
        }

    #stepper-component .upload-icon {
        font-size: 3rem;
        color: var(--color-gray-400);
        margin-bottom: var(--space-md);
    }

    #stepper-component .upload-title {
        font-size: var(--font-lg);
        font-weight: 600;
        color: var(--color-gray-900);
        margin: 0 0 var(--space-sm) 0;
    }

    #stepper-component .upload-description {
        font-size: var(--font-sm);
        color: var(--color-gray-500);
        margin: 0 0 var(--space-lg) 0;
    }

    #stepper-component .upload-formats {
        font-size: var(--font-xs);
        color: var(--color-gray-500);
        margin: var(--space-md) 0 0 0;
    }

    /* ===== TABLE SYSTEM ===== */
    #stepper-component .table-container {
        background-color: var(--color-white);
        border: 1px solid var(--color-gray-200);
        border-radius: var(--radius-md);
        margin-top: var(--space-xl);
        margin-bottom: var(--space-xl);
        overflow: hidden;
    }

    #stepper-component .table-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-md) var(--space-lg);
        background-color: var(--color-gray-50);
        border-bottom: 1px solid var(--color-gray-200);
    }

    #stepper-component .table-title {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        font-size: var(--font-base);
        font-weight: 600;
        color: var(--color-gray-900);
        margin: 0;
    }

    #stepper-component .table-actions {
        display: flex;
        gap: var(--space-sm);
    }

    #stepper-component .table-wrapper {
        overflow-x: auto;
    }

    #stepper-component .table {
        width: 100%;
        border-collapse: collapse;
    }

        #stepper-component .table thead {
            background-color: var(--color-primary);
            color: var(--color-white);
        }

        #stepper-component .table th {
            padding: 0.75rem 1rem;
            text-align: left;
            font-size: var(--font-sm);
            font-weight: 600;
            text-transform: uppercase;
            white-space: nowrap;
        }

        #stepper-component .table tbody tr {
            border-bottom: 1px solid var(--color-gray-200);
            transition: background-color var(--transition);
        }

            #stepper-component .table tbody tr:hover {
                background-color: var(--color-gray-50);
            }

        #stepper-component .table td {
            padding: var(--space-md);
            font-size: var(--font-sm);
            color: var(--color-gray-900);
        }

            #stepper-component .table td input[type="checkbox"] {
                width: 1.125rem;
                height: 1.125rem;
                cursor: pointer;
                accent-color: var(--color-primary);
            }

    #stepper-component .table-footer {
        padding: var(--space-md) var(--space-lg);
        background-color: var(--color-gray-50);
        border-top: 1px solid var(--color-gray-200);
    }

    /* ===== GRID SYSTEM ===== */
    #stepper-component .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    #stepper-component .grid-item {
        display: flex;
        flex-direction: column;
    }

    #stepper-component .grid-label {
        color: var(--color-gray-500);
        font-size: var(--font-sm);
        font-weight: 500;
        margin-bottom: 0.375rem;
    }

    #stepper-component .grid-value {
        color: var(--color-gray-900);
        font-size: var(--font-sm);
        margin: 0;
        line-height: 1.5;
    }

    #stepper-component .grid-value-empty {
        color: var(--color-gray-400);
        font-style: italic;
    }

    /* ===== PAYMENT OPTIONS ===== */
    #stepper-component .payment-methods {
        display: flex;
        gap: var(--space-md);
        margin-top: var(--space-sm);
    }

    #stepper-component .payment-option {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: var(--space-md);
        border: 2px solid var(--color-gray-200);
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: all var(--transition);
        background-color: var(--color-white);
    }

        #stepper-component .payment-option:hover {
            border-color: var(--color-primary);
            background-color: var(--color-gray-50);
        }

        #stepper-component .payment-option:has(input:checked) {
            border-color: var(--color-primary);
            background-color: var(--color-blue-50);
        }

        #stepper-component .payment-option input[type="radio"] {
            width: 1.25rem;
            height: 1.25rem;
            cursor: pointer;
            accent-color: var(--color-primary);
        }

        #stepper-component .payment-option input:checked ~ .payment-text {
            color: var(--color-primary);
            font-weight: 600;
        }

    #stepper-component .payment-icon {
        font-size: var(--font-2xl);
        color: var(--color-gray-500);
        transition: color var(--transition);
    }

    #stepper-component .payment-option:has(input:checked) .payment-icon {
        color: var(--color-primary);
    }

    #stepper-component .payment-text {
        font-size: var(--font-base);
        color: var(--color-gray-900);
        transition: all var(--transition);
    }

    /* ===== BADGE ===== */
    #stepper-component .badge {
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: 0.375rem 0.75rem;
        border-radius: 0.375rem;
        font-size: var(--font-xs);
        font-weight: 600;
        white-space: nowrap;
    }

    /* ===== LIST ===== */
    #stepper-component .list {
        margin: 0;
        padding-left: var(--space-lg);
        color: var(--color-gray-700);
    }

        #stepper-component .list li {
            font-size: var(--font-sm);
            line-height: 1.75;
            margin-bottom: var(--space-sm);
        }

    #stepper-component .list-unstyled {
        list-style: none;
        padding-left: 0;
    }

    #stepper-component .list-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    #stepper-component .list-icon {
        font-size: var(--font-lg);
        flex-shrink: 0;
        margin-top: 0.125rem;
    }

    /* ===== UTILITY CLASSES ===== */
    #stepper-component .text-center {
        text-align: center;
    }

    #stepper-component .flex {
        display: flex;
    }

    #stepper-component .flex-col {
        flex-direction: column;
    }

    #stepper-component .items-center {
        align-items: center;
    }

    #stepper-component .justify-between {
        justify-content: space-between;
    }

    #stepper-component .gap-sm {
        gap: var(--space-sm);
    }

    #stepper-component .gap-md {
        gap: var(--space-md);
    }

    #stepper-component .gap-lg {
        gap: var(--space-lg);
    }

    #stepper-component .mt-sm {
        margin-top: var(--space-sm);
    }

    #stepper-component .mt-md {
        margin-top: var(--space-md);
    }

    #stepper-component .mt-lg {
        margin-top: var(--space-lg);
    }

    #stepper-component .mb-sm {
        margin-bottom: var(--space-sm);
    }

    #stepper-component .mb-md {
        margin-bottom: var(--space-md);
    }

    #stepper-component .mb-lg {
        margin-bottom: var(--space-lg);
    }

    #stepper-component .search-bar {
        display: flex;
        align-items: center;
        gap: 2rem;
        padding: var(--space-md);
    }

.template-list-item {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 1em;
    margin-bottom:0.5em;
}

    .template-list-item > div > strong {
        display: block;
    }

    .template-list-item > div > span {
        font-size: 12px;
    }

.icon-checked{
    font-size: var(--font-lg);
    color: var(--theme-green);
}
.icon-crossed{
    font-size: var(--font-lg);
    color: var(--red);
}

/* Petition Assignment Styles */
.petition-assignment-container {
    padding: 20px;
}

.petition-assignment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
}

.petition-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.petition-column-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.petition-column-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.petition-column-title h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.petition-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.petition-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hearing-petition-id {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin: 2px 0
}

.petition-address {
    font-size: 14px;
    color: #111827;
    margin: 0;
}

.petition-owner {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.petition-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.petition-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
}

.petition-badge-gray {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #6b7280;
}

.petition-badge-red {
    background-color: #fee;
    border-color: #fcc;
    color: #ee4949;
}

.petition-hearing-assignment {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
    font-size: 13px;
    color: #2e7d32;
}

.petition-hearing-assignment strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.petition-hearing-details {
    line-height: 1.6;
}

.select-all-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}


.hearing-dialog-body .row {
    margin-top: 1em;
    font-size: 12px;
    color: #444;
}

.row.mb-3.hearing-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
}



/*Mgistrate hearing page */


.hs-calendar-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.hs-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.hs-calendar-title h3 {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.hs-calendar-title p {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.hs-calendar-toggle {
    display: flex;
    gap: 6px;
}

.hs-toggle-btn {
    padding: 6px 14px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}

    .hs-toggle-btn:hover {
        background: #f3f4f6;
    }

    .hs-toggle-btn.hs-active {
        background: var(--theme-green);
        color: white;
        border: none;
    }


.hs-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    padding: 8px 0;
}

.hs-calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 100px;
    border-top: none;
    gap: 5px;
}

.hs-calendar-cell {
    border: 1px solid #e5e7eb;
    /* border-top: none; */
    /* border-left: none; */
    padding: 6px 8px;
    font-size: 13px;
    color: #111827;
    background-color: #fafafa;
    border-radius: 10px;
}

    .hs-calendar-cell:nth-child(7n) {
        border-right: 1px solid #e5e7eb;
    }

    .hs-calendar-cell:nth-last-child(-n+7) {
        border-bottom: 1px solid #e5e7eb;
    }

.petition-header {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .petition-header h2 {
        margin-bottom: 0px;
    }


    .petition-header .filters {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .petition-header input[type="text"],
    .petition-header select {
        padding: 8px 12px;
        border: 1px solid #dcdde1;
        border-radius: 4px;
        flex: 1;
        min-width: 200px;
    }

    .petition-header button {
        background-color: var(--theme-green);
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        cursor: pointer;
    }

        .petition-header button:hover {
            background-color: #1a9b4a;
        }

    .petition-header .summary {
        margin-top: 10px;
        color: #636e72;
    }

/* ===== Petitions Section ===== */
.petition-sections {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.petition-card-container {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .petition-card-container h3 {
        margin-top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .petition-card-container h3 .select-all {
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
        }

.petition-card {
    border: 1px solid #dcdde1;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fdfdfd;
}

    .petition-card p {
        margin: 4px 0;
        font-size: 14px;
        width: fit-content;
    }

.hs-petition-id {
    font-weight: bold;
    color: #27ae60;
}

.petition-address {
    font-size: 13px;
    color: #636e72;
}

.petition-name {
    font-size: 14px;
    font-weight: 500;
}





.petition-action {
    text-align: right;
    margin-top: 10px;
}

    .petition-action button {
        background-color: #FAFAFA;
        border: 1px solid #E0E0E0;
        padding: 6px 12px;
        border-radius: 4px;
        cursor: pointer;
        transition: .3s;
    }

        .petition-action button:hover {
            background-color: #eee;
        }

.assigned-details {
    background-color: #E8F9EE;
    border-radius: 10px;
    padding: 6px 10px;
    margin-top: 8px;
    font-size: 13px;
    color: #130f40;
}

/* Checkbox style */
input[type="checkbox"] {
    transform: scale(1.1);
    margin-right: 5px;
    cursor: pointer;
}

.hs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hs-title {
    font-size: 22px;
    margin-bottom: 4px;
    margin-top: 20px;
}

.hs-subtitle {
    color: #6b7280;
    margin-top: 0;
}

/* Create Button */
.hs-btn-create {
    background-color: var(--theme-green);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

    .hs-btn-create:hover {
        background-color: #1a9b4a;
    }

/* Card */
.hs-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-top: 10px;
}

.hs-card-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.hs-card-subtitle {
    color: #6b7280;
    margin-top: 0px;
    margin-bottom: 20px;
}

/* Table Layout */
.hs-table {
    width: 100%;
    border-collapse: collapse;
}

.hs-table-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background-color: white;
}

.hs-table th {
    border-radius: 10px;
    text-align: left;
    color: #6b7280;
    font-weight: 600;
    padding: 10px;
    font-size: 0.9rem;
}

.hs-table td {
    padding: 16px 10px;
    border-top: 1px solid #e5e7eb;
    border-collapse: collapse;
}

/* Badges */
.hs-badge {
    display: inline-block;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 0.8rem;
    color: #374151;
    margin-right: 5px;
}

    .hs-badge.green {
        background-color: #16a34a;
        color: white;
    }

    .hs-badge.grey {
        border: 1px solid #d1d5db;
        color: #374151;
    }


    .hs-badge.dark-grey {
        background-color: #636e72;
        color: white;
    }

    .hs-badge.red {
        background-color: #d63031;
        color: white;
    }

.hs-text-muted {
    color: #6b7280;
    font-size: 0.85rem;
}

.hs-icon-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #374151;
}

/* Action Buttons */
.hs-actions {
    gap: 10px;
}

.hs-btn-icon {
    background-color: white;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .hs-btn-icon:hover {
        background-color: #f3f4f6
    }


/* ===== Calendar View Styles ===== */

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Custom calendar event styling - view-specific display */
.calendar-event-display {
    font-size: 11px;
    color: white;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    padding: 2px;
}

/* Default: show month view text, hide others */
.event-month-view {
    display: inline;
}

.event-week-view,
.event-day-view {
    display: none;
}

/* Month view: show month text */
.rz-month-view .event-month-view,
.rz-scheduler-month .event-month-view {
    display: inline;
}

.rz-month-view .event-week-view,
.rz-month-view .event-day-view,
.rz-scheduler-month .event-week-view,
.rz-scheduler-month .event-day-view {
    display: none;
}

/* Week view: show week text */
.rz-week-view .event-month-view,
.rz-week-view .event-day-view,
.rz-scheduler-week .event-month-view,
.rz-scheduler-week .event-day-view {
    display: none;
}

.rz-week-view .event-week-view,
.rz-scheduler-week .event-week-view {
    display: inline;
}

/* Day view: show day text */
.rz-day-view .event-month-view,
.rz-day-view .event-week-view,
.rz-scheduler-day .event-month-view,
.rz-scheduler-day .event-week-view {
    display: none;
}

.rz-day-view .event-day-view,
.rz-scheduler-day .event-day-view {
    display: inline;
}

/* Remove Radzen default blue color from scheduler view buttons */
.rz-scheduler .rz-button:not(.rz-state-active):not(:hover) {
    background-color: transparent !important;
    border-color: #d1d5db !important;
    color: #374151 !important;
}

.rz-scheduler .rz-button:not(.rz-state-active):hover {
    background-color: #f3f4f6 !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}

/* Keep green for active state */
.rz-scheduler .rz-button.rz-state-active,
.rz-scheduler .rz-button.rz-state-active:hover {
    background-color: #22c55e !important;
    border-color: #22c55e !important;
    color: white !important;
}

/* ===== Petition List Dialog Styles ===== */

.petition-list-dialog {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hearing-info-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.hearing-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hearing-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.petition-list-content {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.petition-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.petition-card-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.petition-card-item:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

.petition-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.petition-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.petition-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.petition-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}

.petition-detail-row i {
    width: 16px;
    color: #94a3b8;
    font-size: 12px;
}

.petition-card-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.view-details-link {
    color: #22c55e;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-details-link i {
    font-size: 11px;
}

.petition-badge-blue {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.dialog-actions {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 16px;
}

.loading-container p {
    color: #6b7280;
    font-size: 14px;
}



/*Dialog*/


.dialog-title {
    margin: 0px;
}


.flex-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-visibility-left {
    display: flex;
    gap: 10px;
}

/* ---- Main Page Titles ---- */
.step-title-main {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* ---- Card Container ---- */
.permissions-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 22px 24px;
}

.permissions-header {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: block;
}

/* ---- Each Permission Row ---- */
.permission-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e5e5;
    padding: 14px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
}

/* Left side */
.permission-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    /* Checkbox */
    .permission-left input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-bottom: 6px;
        border-radius: 4px;
        border: 2px solid var(--theme-green);
    }

        .permission-left input[type="checkbox"]:checked {
            background: var(--theme-green);
        }

/* Role titles */
.role-title {
    font-size: 14px;
    font-weight: 600;
    margin-left: 0;
}

.role-description {
    font-size: 12px;
    color: #666;
    margin-left: 0;
}

/* ---- Dropdown ---- */
.permission-right {
    display: flex;
    align-items: center;
}

.permission-select {
    padding: 8px 12px;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #d8d8d8;
    font-size: 14px;
    min-width: 120px;
}





/* Main section title */
.step-title-main {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-description {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 20px;
}

/* White card container */
.schedule-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 22px 24px;
}

/* Section groups inside the card */
.schedule-group {
    margin-bottom: 10px;
}

.schedule-label {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* Dropdown styling */
.schedule-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d8d8d8;
    background: #fafafa;
    font-size: 0.95rem;
}

/* Checkbox rows */
.schedule-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.95rem;
}

    /* Checkbox styling */
    .schedule-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        border-radius: 4px;
        border: 2px solid var(--theme-green);
        cursor: pointer;
    }

        .schedule-checkbox input[type="checkbox"]:checked {
            background: var(--theme-green);
        }







/* Main titles */
.step-title-main {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* Filter container blocks */
.filter-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

/* Card header with icon + text */
.filter-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-card-header-plain {
    margin-bottom: 14px;
    font-size: 1rem;
}

/* Title area with icon */
.filter-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.filter-icon {
    font-size: 18px;
}

/* Add Filter button */
.filter-add-btn {
    padding: 6px 14px;
    border-radius: 8px;
    background: #f7f7f7;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.15s ease;
}

    .filter-add-btn:hover {
        background: #eee;
    }

.plus-icon {
    font-weight: bold;
    margin-top: -2px;
}

/* Empty message */
.filter-empty {
    color: #777;
    font-size: 0.9rem;
}

/* Form layout */
.date-range-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 10px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fafafa;
}





.report-name-section {
    width: 50%;
}

.report-detials {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.data-source-section {
    width: 50%;
}

/* Scroll Container */
.data-source-list {
    max-height: 220px;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

/* Each Row */
.data-source-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .data-source-item:last-child {
        border-bottom: none;
    }

/* Checkbox */
.ds-checkbox {
    margin-top: 3px;
}

/* Icon */
.ds-icon {
    font-size: 18px;
    color: #555;
    margin-top: 2px;
}

/* Title + Subtitle Block */
.ds-text {
    display: flex;
    flex-direction: column;
}

.ds-title {
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.ds-subtitle {
    font-size: 12px;
    color: #666;
}


/* ============================================================
       DIALOG + PANEL
    ============================================================ */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.dialog-panel {
    background: #fff;
    width: fit-content;
    min-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* ============================================================
       WIZARD COMPACT LAYOUT
    ============================================================ */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 20px 0 30px 0;
}

/* Each step container */
.wizard-step-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Step clickable area */
.wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.45;
    transition: 0.18s ease;
}

    .wizard-step.active {
        opacity: 1;
    }

/* Circle number */
.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f7ee;
    color: var(--theme-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.wizard-step.active .step-circle {
    background: var(--theme-green);
    color: #fff;
}


.step-circle.active {
    background: var(--theme-green);
}


/* COMPLETED STEPS: stay green */
.wizard-step.completed .step-circle {
    background: var(--theme-green) !important;
    color: #fff !important;
}

/* Completed steps text full opacity */
.wizard-step.completed {
    opacity: 1 !important;
}

/* Active step: also green */
.wizard-step.active .step-circle {
    background: var(--theme-green) !important;
    color: #fff !important;
}



/* Step text */
.step-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.step-title {
    font-size: 13px;
    font-weight: 700;
}

.step-sub {
    font-size: 11px;
    color: #777;
}

/* ============================================================
       CONNECTOR LINES (Compact)
    ============================================================ */
.step-line {
    flex-grow: 1;
    height: 3px;
    background: #d5d5d5;
    border-radius: 2px;
    min-width: 40px;
    margin: 0 6px;
}

    .step-line.line-active {
        background-color: var(--theme-green) !important;
    }

/* ============================================================
       STEP CONTENT
    ============================================================ */
.step-content {
    margin-top: 15px;
}

.input-text,
.input-textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    background-color: #fafafa;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.input-textarea {
    height: 80px;
    resize: vertical;
}

/* ============================================================
       Visualization Cards (Step 2)
    ============================================================ */
.viz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.viz-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: 0.15s ease;
}

    .viz-card:hover {
        border-color: var(--theme-green);
        box-shadow: 0 1px 6px rgba(0,0,0,0.12);
    }

.viz-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.green {
    color: var(--theme-green);
}

.viz-card h4 {
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 700;
}

.viz-card p {
    font-size: 0.75rem;
    color: #666;
}

/* ============================================================
       BUTTONS
    ============================================================ */
.dialog-buttons {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
}

.dialog-btn {
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.18s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.dialog-btn-secondary {
    background: #f7f7f7;
    border: 1px solid #dcdcdc;
    transition: .3s
}

    .dialog-btn-secondary:hover:not(:disabled) {
        background: #e6e6e6;
    }

    .dialog-btn-secondary:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.dialog-btn-primary {
    background: var(--theme-green);
    color: #fff;
    transition: .3s;
}

    .dialog-btn-primary:hover {
        background: #25d365;
    }
