.praticotheme-bg-accent1 {
    background-color: rgb(0, 112, 192) !important;
}

.praticotheme-accent1 {
    color: rgb(0, 112, 192) !important;
}

.praticotheme-btn-accent1 {
    background-color: rgb(0, 112, 192) !important;
    color: rgb(90, 90, 90) !important;
}

.praticotheme-btn-accent1:hover {
    background-color: rgb(20, 132, 212) !important;
    color: rgb(40, 40, 40) !important;
}




.praticotheme-bg-accent2 {
    background-color: rgb(236, 204, 77) !important;
}

.praticotheme-accent2 {
    color: rgb(236, 204, 77) !important;
}

.praticotheme-btn-accent2 {
    background-color: rgb(236, 204, 77) !important;
    color: rgb(90, 90, 90) !important;
}

.praticotheme-btn-accent2:hover {
    background-color: rgb(255, 224, 97) !important;
    color: rgb(40, 40, 40) !important;
}



.praticotheme-bg-accent3 {
    background-color: rgb(192, 112, 0) !important;
}

.praticotheme-accent3 {
    color: rgb(192, 112, 0) !important;
}

.praticotheme-btn-accent3 {
    background-color: rgb(192, 112, 0) !important;
    color: rgb(90, 90, 90) !important;
}

.praticotheme-btn-accent3:hover {
    background-color: rgb(212, 132, 20) !important;
    color: rgb(40, 40, 40) !important;
}

/* Custom Bootstrap-style color classes */

/* Indigo - For premium/special actions */
.bg-indigo { 
    background-color: #6610f2 !important; 
}
.text-indigo { 
    color: #6610f2 !important; 
}
.badge.bg-indigo { 
    color: white; 
}
.btn-indigo { 
    background-color: #6610f2 !important; 
    border-color: #6610f2 !important;
    color: white !important; 
}
.btn-indigo:hover {
    background-color: #520dc2 !important;
    border-color: #520dc2 !important;
}
.btn-outline-indigo { 
    color: #6610f2 !important; 
    border-color: #6610f2 !important; 
}
.btn-outline-indigo:hover {
    background-color: #6610f2 !important;
    color: white !important;
}

/* Purple - For group/administrator tokens */
.bg-purple { 
    background-color: #6f42c1 !important; 
}
.text-purple { 
    color: #6f42c1 !important; 
}
.badge.bg-purple { 
    color: white; 
}
.btn-purple { 
    background-color: #6f42c1 !important; 
    border-color: #6f42c1 !important;
    color: white !important; 
}
.btn-purple:hover {
    background-color: #59339d !important;
    border-color: #59339d !important;
}
.btn-outline-purple { 
    color: #6f42c1 !important; 
    border-color: #6f42c1 !important; 
}
.btn-outline-purple:hover {
    background-color: #6f42c1 !important;
    color: white !important;
}

/* Teal - For validated/completed status */
.bg-teal { 
    background-color: #20c997 !important; 
}
.text-teal { 
    color: #20c997 !important; 
}
.badge.bg-teal { 
    color: white; 
}
.btn-teal { 
    background-color: #20c997 !important; 
    border-color: #20c997 !important;
    color: white !important; 
}
.btn-teal:hover {
    background-color: #1aa179 !important;
    border-color: #1aa179 !important;
}
.btn-outline-teal { 
    color: #20c997 !important; 
    border-color: #20c997 !important; 
}
.btn-outline-teal:hover {
    background-color: #20c997 !important;
    color: white !important;
}

/* Pink - For promotions/special offers */
.bg-pink { 
    background-color: #d63384 !important; 
}
.text-pink { 
    color: #d63384 !important; 
}
.badge.bg-pink { 
    color: white; 
}
.btn-pink { 
    background-color: #d63384 !important; 
    border-color: #d63384 !important;
    color: white !important; 
}
.btn-pink:hover {
    background-color: #c42f76 !important;
    border-color: #c42f76 !important;
}
.btn-outline-pink { 
    color: #d63384 !important; 
    border-color: #d63384 !important; 
}
.btn-outline-pink:hover {
    background-color: #d63384 !important;
    color: white !important;
}

/* Orange - For important alerts */
.bg-orange { 
    background-color: #fd7e14 !important; 
}
.text-orange { 
    color: #fd7e14 !important; 
}
.badge.bg-orange { 
    color: white; 
}
.btn-orange { 
    background-color: #fd7e14 !important; 
    border-color: #fd7e14 !important;
    color: white !important; 
}
.btn-orange:hover {
    background-color: #e96d09 !important;
    border-color: #e96d09 !important;
}
.btn-outline-orange { 
    color: #fd7e14 !important; 
    border-color: #fd7e14 !important; 
}
.btn-outline-orange:hover {
    background-color: #fd7e14 !important;
    color: white !important;
}

/* Light variations for softer backgrounds */
.bg-success-light { 
    background-color: #d1f2eb !important; 
}
.bg-warning-light { 
    background-color: #fff3cd !important; 
}
.bg-danger-light { 
    background-color: #f8d7da !important; 
}
.bg-info-light { 
    background-color: #d1ecf1 !important; 
}

/* Dark text variations */
.text-success-dark { 
    color: #0f5132 !important; 
}
.text-warning-dark { 
    color: #664d03 !important; 
}
.text-danger-dark { 
    color: #842029 !important; 
}
.text-info-dark { 
    color: #055160 !important; 
}





.praticotheme-text-dark {
    color: rgb(90, 90, 90) !important;
}


.validation-up {
    margin-top: -10px;
}

/* Landing Carousel */

[data-nav-special]::before {
    background-color: white !important;
}

[data-nav-special]::after {
    border-color: white !important;
}

/* Blazor FocusOnNavigate adds tabindex="-1" and focuses page headings after navigation.
   Hide the browser focus outline on headings only to avoid visible frames on landing/admin pages. */
h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus,
h3[tabindex="-1"]:focus,
h4[tabindex="-1"]:focus,
h5[tabindex="-1"]:focus,
h6[tabindex="-1"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Blazor reconnection modal */
#components-reconnect-modal {
    display: none;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#components-reconnect-modal .reconnect-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#components-reconnect-modal .reconnect-content {
    position: relative;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

#components-reconnect-modal .reconnect-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

#components-reconnect-modal .reconnect-attempt {
    font-size: 0.9rem;
    color: #666;
}

#components-reconnect-modal .reconnect-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background-color: rgb(0, 112, 192);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#components-reconnect-modal .reconnect-btn:hover {
    background-color: rgb(20, 132, 212);
}

/* Show/hide sub-messages based on modal state */
#components-reconnect-modal .reconnect-show-message,
#components-reconnect-modal .reconnect-failed-message,
#components-reconnect-modal .reconnect-rejected-message {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .reconnect-show-message {
    display: block;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-failed-message {
    display: block;
}

#components-reconnect-modal.components-reconnect-rejected .reconnect-rejected-message {
    display: block;
}

/* Spinner animation */
#components-reconnect-modal .reconnect-spinner {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 1rem;
    border: 3px solid #e0e0e0;
    border-top-color: rgb(0, 112, 192);
    border-radius: 50%;
    animation: reconnect-spin 0.8s linear infinite;
}

@keyframes reconnect-spin {
    to { transform: rotate(360deg); }
}

/* Desktop: show full name truncated at 20ch, hide initials */
.account-dropdown .account-display-name {
    display: inline-block;
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.account-dropdown .account-display-initials {
    display: none;
}

/* Mobile: hide full name, show initials */
@media (max-width: 767.98px) {
    .account-dropdown .account-display-name {
        display: none;
    }

    .account-dropdown .account-display-initials {
        display: inline;
    }
}
