/* MASTER CSS - MAXIMUM SPECIFICITY TO OVERRIDE ALL SCOPED STYLES */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #110034, #1a0052, #2d0070) !important;
    background-attachment: fixed !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Additional background consistency for all page containers */
.page, 
.page[class],
div.page,
div.page[class],
*[class*="page"] {
    background: linear-gradient(135deg, #110034, #1a0052, #2d0070) !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}

/* Fix Bootstrap overrides and ensure consistent styling */
.card, .card-body, .bg-light, .bg-secondary, .bg-white {
    background-color: transparent !important;
    background: transparent !important;
}

/* NETWORK ARTICLE - ABSOLUTE PRIORITY - OVERRIDE ALL SCOPED CSS */
.network-article,
.network-article[class],
div.network-article,
div.network-article[class],
*[class*="network-article"],
/* BLAZOR SCOPED CSS OVERRIDES - MAXIMUM SPECIFICITY */
.network-article[b-sir5mbkwuj],
div.network-article[b-sir5mbkwuj],
*[class*="network-article"][b-sir5mbkwuj],
/* CATCH-ALL FOR ANY BLAZOR SCOPE */
.network-article[class*="b-"],
div.network-article[class*="b-"],
*[class*="network-article"][class*="b-"] {
    background-color: rgba(96, 0, 160, 0.15) !important;
    color: #e5e5e5 !important;
    margin: 0 0 1.5em 0 !important;
    padding: 1.5em !important;
    border: 1px solid rgba(160, 160, 160, 0.3) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(5px) !important;
    transition: none !important;
    /* High specificity overrides */
    background-image: none !important;
    background-attachment: initial !important;
    background-origin: initial !important;
    background-clip: initial !important;
    background-size: initial !important;
    background-repeat: initial !important;
    background-position: initial !important;
}

.network-article h3,
.network-article[class] h3,
div.network-article h3,
div.network-article[class] h3,
*[class*="network-article"] h3,
/* BLAZOR SCOPED CSS OVERRIDES FOR H3 */
.network-article[b-sir5mbkwuj] h3,
div.network-article[b-sir5mbkwuj] h3,
*[class*="network-article"][b-sir5mbkwuj] h3,
.network-article[class*="b-"] h3,
div.network-article[class*="b-"] h3,
*[class*="network-article"][class*="b-"] h3 {
    color: #f7de24 !important;
    margin-top: 0 !important;
    margin-bottom: 1em !important;
    border-bottom: 1px solid rgba(247, 222, 36, 0.3) !important;
    padding-bottom: 0.5em !important;
}

.network-article p,
.network-article[class] p,
div.network-article p,
div.network-article[class] p,
*[class*="network-article"] p,
/* BLAZOR SCOPED CSS OVERRIDES FOR P */
.network-article[b-sir5mbkwuj] p,
div.network-article[b-sir5mbkwuj] p,
*[class*="network-article"][b-sir5mbkwuj] p,
.network-article[class*="b-"] p,
div.network-article[class*="b-"] p,
*[class*="network-article"][class*="b-"] p {
    margin-bottom: 1em !important;
    line-height: 1.6 !important;
    color: #d7d7d7 !important;
}

.network-article a,
.network-article[class] a,
div.network-article a,
div.network-article[class] a,
*[class*="network-article"] a,
/* BLAZOR SCOPED CSS OVERRIDES FOR A */
.network-article[b-sir5mbkwuj] a,
div.network-article[b-sir5mbkwuj] a,
*[class*="network-article"][b-sir5mbkwuj] a,
.network-article[class*="b-"] a,
div.network-article[class*="b-"] a,
*[class*="network-article"][class*="b-"] a {
    color: #f7de24 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.network-article a:hover,
.network-article[class] a:hover,
div.network-article a:hover,
div.network-article[class] a:hover,
*[class*="network-article"] a:hover,
/* BLAZOR SCOPED CSS OVERRIDES FOR A:HOVER */
.network-article[b-sir5mbkwuj] a:hover,
div.network-article[b-sir5mbkwuj] a:hover,
*[class*="network-article"][b-sir5mbkwuj] a:hover,
.network-article[class*="b-"] a:hover,
div.network-article[class*="b-"] a:hover,
*[class*="network-article"][class*="b-"] a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Ensure consistent glassmorphism for other sections */
.section, .account-container .section {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(247, 222, 36, 0.3) !important;
    border-radius: 8px !important;
}

/* Global Button Styles - Centralized for consistency */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    min-width: 44px;
    height: 36px;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    min-width: 40px;
    height: 32px;
}

.btn-primary {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
    border-color: transparent !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #29b6f6, #0288d1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.4);
    text-decoration: none;
    color: white !important;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* BOOTSTRAP ICONS - MAXIMUM SPECIFICITY FOR ALL CONTEXTS */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

.bi,
[class*="bi-"],
.btn .bi,
.btn [class*="bi-"],
.user-actions .bi,
.user-actions [class*="bi-"],
button .bi,
button [class*="bi-"],
a .bi,
a [class*="bi-"] {
    display: inline-block !important;
    vertical-align: -0.125em !important;
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-size: inherit !important;
}

/* CRITICAL ICON DEFINITIONS - OVERRIDE ALL SCOPED CSS */
.bi-gear::before,
.bi-gear[class]::before,
[class*="bi-gear"]::before,
.btn .bi-gear::before,
.btn [class*="bi-gear"]::before {
    content: "\f3e5" !important;
    font-family: "bootstrap-icons" !important;
}

.bi-box-arrow-right::before,
.bi-box-arrow-right[class]::before,
[class*="bi-box-arrow-right"]::before,
.btn .bi-box-arrow-right::before,
.btn [class*="bi-box-arrow-right"]::before {
    content: "\f1f6" !important;
    font-family: "bootstrap-icons" !important;
}

.bi-person-circle::before,
.bi-person-circle[class]::before,
[class*="bi-person-circle"]::before {
    content: "\f4da" !important;
    font-family: "bootstrap-icons" !important;
}

.bi-discord::before,
.bi-discord[class]::before,
[class*="bi-discord"]::before {
    content: "\f3ad" !important;
    font-family: "bootstrap-icons" !important;
}

.bi-check-circle::before,
.bi-check-circle[class]::before,
[class*="bi-check-circle"]::before {
    content: "\f26b" !important;
    font-family: "bootstrap-icons" !important;
}

/* Button icon sizing */
.btn .bi {
    font-size: 1rem !important;
}

.btn-sm .bi {
    font-size: 0.9rem !important;
}

/* Additional button styles for account pages */
.btn-outline-primary {
    background: transparent !important;
    color: #4fc3f7 !important;
    border: 2px solid #4fc3f7 !important;
}

.btn-outline-primary:hover:not(:disabled) {
    background: #4fc3f7 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(79, 195, 247, 0.3);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* USER STATUS COMPONENT - MAXIMUM SPECIFICITY */
.user-info,
.user-info[class],
div.user-info,
div.user-info[class] {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(247, 222, 36, 0.3) !important;
}

.profile-picture,
.profile-picture[class],
img.profile-picture,
img.profile-picture[class] {
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 50% !important;
    border: 2px solid #f7de24 !important;
}

.profile-icon,
.profile-icon[class],
div.profile-icon,
div.profile-icon[class] {
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(247, 222, 36, 0.2) !important;
    border-radius: 50% !important;
    border: 2px solid #f7de24 !important;
    color: #f7de24 !important;
    font-size: 2rem !important;
}

.username,
.username[class],
span.username,
span.username[class] {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.user-role,
.user-role[class],
span.user-role,
span.user-role[class] {
    color: #4fc3f7 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    opacity: 0.9 !important;
}

/* Responsive overrides */
@media (max-width: 768px) {
    .profile-picture,
    .profile-picture[class],
    img.profile-picture,
    img.profile-picture[class],
    .profile-icon,
    .profile-icon[class],
    div.profile-icon,
    div.profile-icon[class] {
        width: 32px !important;
        height: 32px !important;
    }
}

/* Responsive button styling */
@media (max-width: 768px) {
    .btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
        min-width: 36px;
        height: 32px;
    }
    
    .btn-sm {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        min-width: 32px;
        height: 28px;
    }
}

a, .btn-link {
    color: #4fc3f7;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpb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I2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}
