html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI9NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.panic-button-container {
    height: 80vh;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.panic-button {
    width: 200px;
    height: 200px;
    border-radius: 50% !important;
    font-size: 2rem !important;
    font-weight: bold !important;
}

.panic-container {
    background-color: transparent !important;
    color: white !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 90vh !important;
    box-shadow: none !important;
}

.panic-text {
    font-size: 2rem !important;
    font-weight: bold !important;
    animation: blink 1s infinite;
}

.cancel-button {
    margin-top: 30px !important;
    font-size: 1.2rem !important;
    padding: 15px 30px !important;
    border-radius: 10px !important;
}

@keyframes blink {
    50% {
        opacity: 0.35;
    }
}

.container {
    max-width: 95vw !important;
    margin: 0 auto;
    border-radius: 10px;
}

.mud-data-grid {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    width: 100% !important;
    box-shadow: 
        0 0 0 1px rgba(148, 163, 184, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -10px rgba(99, 102, 241, 0.08) !important;
    position: relative !important;
}

.mud-data-grid::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%) !important;
    z-index: 1000 !important;
}


.mud-data-grid .mud-table-container {
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    width: 100% !important;
}

.mud-data-grid .mud-table-container::-webkit-scrollbar {
    height: 10px !important;
}

.mud-data-grid .mud-table-container::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #f1f5f9, #e2e8f0) !important;
    border-radius: 5px !important;
    margin: 0 8px !important;
}

.mud-data-grid .mud-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #6366f1, #8b5cf6) !important;
    border-radius: 5px !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    transition: all 0.3s ease !important;
}

.mud-data-grid .mud-table-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #4f46e5, #7c3aed) !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4) !important;
}

.mud-data-grid .mud-table {
    min-width: 100% !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.mud-data-grid .mud-table-head {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    border-bottom: none !important;
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.1) !important;
}

.mud-data-grid .mud-table-head .mud-table-row {
    background: transparent !important;
}

.mud-data-grid .mud-table-head .mud-table-cell {
    background: transparent !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.813rem !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 18px 24px !important;
    border-bottom: none !important;
    position: relative !important;
}

.mud-data-grid .mud-table-head .mud-table-cell::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 24px !important;
    right: 24px !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.mud-data-grid .mud-table-head .mud-table-cell:hover::after {
    opacity: 1 !important;
}

.mud-data-grid .mud-table-head .mud-table-cell:last-child,
.mud-data-grid .mud-table-body .mud-table-cell:last-child {
    min-width: 180px !important;
    width: 180px !important;
}

.mud-data-grid .mud-table-head .filter-header-cell {
    background: #ffffff !important;
    padding: 12px 20px !important;
    border-top: 1px solid #f3f4f6 !important;
}

.mud-data-grid .mud-table-head .filter-header-cell .mud-input,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-control,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-outlined,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-underline {
    border: none !important;
    box-shadow: none !important;
}

.mud-data-grid .mud-table-head .filter-header-cell .mud-input-underline::before,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-underline::after {
    display: none !important;
    border: none !important;
}

.mud-data-grid .mud-table-head .filter-header-cell .mud-input input,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-root,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-slot {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    color: #111827 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.mud-data-grid .mud-table-head .filter-header-cell .mud-input-root-text,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-root-margin-dense {
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}

.mud-data-grid .mud-table-head .filter-header-cell .mud-input input:focus,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-root:focus,
.mud-data-grid .mud-table-head .filter-header-cell .mud-input-outlined:focus-within {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
    outline: none !important;
}

.mud-data-grid .mud-table-head .filter-header-cell .mud-input input::placeholder {
    color: #9ca3af !important;
}

.mud-data-grid .mud-table-head .mud-icon-button {
    color: #6b7280 !important;
    transition: all 0.2s ease !important;
}

.mud-data-grid .mud-table-head .mud-icon-button:hover {
    background: #f3f4f6 !important;
    color: #6366f1 !important;
}

.mud-data-grid .mud-table-body {
    background: #ffffff !important;
}

.mud-data-grid .mud-table-body .mud-table-row {
    border-bottom: 1px solid #f1f5f9 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    border-left: 4px solid transparent !important;
}

.mud-data-grid .mud-table-body .mud-table-row::before,
.mud-data-grid .mud-table-body .mud-table-row::after {
    display: none !important;
}

.mud-data-grid .mud-table-body .mud-table-row:hover {
    background: inherit !important;
    border-left-color: #6366f1 !important;
    box-shadow: 
        0 4px 12px -2px rgba(99, 102, 241, 0.08),
        inset 0 0 0 1px rgba(139, 92, 246, 0.1) !important;
}

.mud-data-grid .mud-table-body .mud-table-row:last-child {
    border-bottom: none !important;
}

.mud-data-grid .mud-table-body .mud-table-cell {
    padding: 18px 24px !important;
    color: #334155 !important;
    font-size: 0.938rem !important;
    font-weight: 500 !important;
    border: none !important;
    transition: color 0.3s ease !important;
}

.mud-data-grid .mud-table-body .mud-table-row:hover .mud-table-cell {
    color: #0f172a !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    margin: 0 3px !important;
    border: 1.5px solid transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.4s ease, height 0.4s ease !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:hover::before {
    width: 100% !important;
    height: 100% !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:hover {
    transform: translateY(-3px) scale(1.08) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3) {
    color: #6366f1 !important;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #ffffff !important;
    border-color: #4338ca !important;
    box-shadow: 
        0 8px 20px rgba(99, 102, 241, 0.35),
        0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2) {
    color: #8b5cf6 !important;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: #ffffff !important;
    border-color: #6d28d9 !important;
    box-shadow: 
        0 8px 20px rgba(139, 92, 246, 0.35),
        0 0 0 4px rgba(139, 92, 246, 0.1) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-data-grid .mud-table-body .mud-table-cell .mud-error-text {
    color: #f43f5e !important;
    background: linear-gradient(135deg, #fff1f2, #ffe4e6) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-data-grid .mud-table-body .mud-table-cell .mud-error-text:hover {
    background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
    color: #ffffff !important;
    border-color: #be123c !important;
    box-shadow: 
        0 8px 20px rgba(244, 63, 94, 0.35),
        0 0 0 4px rgba(244, 63, 94, 0.1) !important;
}

.mud-data-grid .mud-table-pagination,
.mud-data-grid .mud-table-pagination-toolbar {
    border: none !important;
    border-top: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mud-data-grid .mud-table-pagination .mud-icon-button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    color: #64748b !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    margin: 0 2px !important;
}

.mud-data-grid .mud-table-pagination .mud-icon-button:not(:disabled):hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 
        0 6px 16px rgba(99, 102, 241, 0.3),
        0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.mud-data-grid .mud-table-pagination .mud-icon-button:disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    background: #f1f5f9 !important;
}

.mud-data-grid .mud-table-pagination .mud-select,
.mud-data-grid .mud-table-pagination .mud-input-control {
    border: none !important;
    box-shadow: none !important;
}

.mud-data-grid .mud-table-pagination .mud-select .mud-input-root {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    transition: all 0.3s ease !important;
}

.mud-data-grid .mud-table-pagination .mud-select .mud-input-root:hover {
    border-color: #6366f1 !important;
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.08),
        0 4px 12px rgba(99, 102, 241, 0.12) !important;
}

.mud-data-grid .mud-table-pagination .mud-typography {
    color: #64748b !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    display: none !important;
}

.mud-data-grid .mud-table-toolbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1) !important;
    padding: 20px 24px !important;
    position: relative !important;
}

.mud-data-grid .mud-table-toolbar::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 24px !important;
    right: 24px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.2) 50%, transparent 100%) !important;
}

.mud-data-grid .mud-table-toolbar h6 {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    letter-spacing: -0.02em !important;
    position: relative !important;
    display: inline-block !important;
}

.mud-data-grid .mud-table-toolbar h6::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #6366f1, #8b5cf6) !important;
    border-radius: 3px !important;
}

.mud-data-grid .mud-table-toolbar .mud-button-filled {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 11px 24px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.02em !important;
    box-shadow: 
        0 4px 12px rgba(99, 102, 241, 0.25),
        0 0 0 1px rgba(99, 102, 241, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.mud-data-grid .mud-table-toolbar .mud-button-filled::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.mud-data-grid .mud-table-toolbar .mud-button-filled:hover::before {
    left: 100% !important;
}

.mud-data-grid .mud-table-toolbar .mud-button-filled:hover {
    box-shadow: 
        0 8px 24px rgba(99, 102, 241, 0.35),
        0 0 0 4px rgba(99, 102, 241, 0.1) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.mud-data-grid .mud-table-toolbar .mud-button-filled:active {
    transform: translateY(0) scale(0.98) !important;
}

.mud-data-grid.loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.mud-data-grid.loading .mud-table-body .mud-table-row {
    animation: shimmer 1.5s ease-in-out infinite !important;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.empty-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    text-align: center;
    max-width: 340px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 5rem !important;
    color: #93c5fd !important;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.empty-state-title {
    color: #475569 !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.empty-state-message {
    color: #64748b !important;
    max-width: 400px;
    margin-bottom: 1rem !important;
}

.mud-theme-dark .empty-state-icon {
    color: #60a5fa !important;
}

.mud-theme-dark .empty-state-title {
    color: #cbd5e1 !important;
}

.mud-theme-dark .empty-state-message {
    color: #94a3b8 !important;
}

.mud-toolbar .toolbar-title {
    color: white !important;
}

.mud-toolbar .mud-text {
    color: white !important;
}

.mud-theme-dark .mud-toolbar .toolbar-title {
    color: white !important;
}

@media (max-width: 768px) {
    .mud-data-grid .mud-table-head .mud-table-cell,
    .mud-data-grid .mud-table-body .mud-table-cell {
        padding: 14px 16px !important;
        font-size: 0.813rem !important;
    }
    
    .mud-data-grid .mud-table-toolbar {
        padding: 16px 20px !important;
    }
    
    .mud-data-grid .mud-table-toolbar h6 {
        font-size: 1.125rem !important;
    }
}

.mud-data-grid .mud-table-body .mud-table-cell {
    padding: 20px 24px !important;
    border: none !important;
    color: var(--mud-palette-text-primary) !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    vertical-align: middle !important;
    min-width: 120px !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    margin: 0 4px !important;
    transition: all 0.2s ease !important;
    background: rgba(37, 99, 235, 0.08) !important;
    color: var(--mud-palette-primary) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:hover {
    background: var(--mud-palette-primary) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button.mud-error {
    background: rgba(239, 68, 68, 0.08) !important;
    color: var(--mud-palette-error) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button.mud-error:hover {
    background: var(--mud-palette-error) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}

/* Dark Mode Action Buttons - View (1st child) */
.mud-theme-dark .apartments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .buildings-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .payments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .managers-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .issues-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .cost-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .invoice-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .serviceprovider-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .announcements-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3),
.mud-theme-dark .proposal-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3) {
    color: #60a5fa !important;
    background: rgba(96, 165, 250, 0.15) !important;
}

.mud-theme-dark .apartments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .buildings-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .payments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .managers-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .issues-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .cost-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .invoice-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .serviceprovider-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .announcements-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover,
.mud-theme-dark .proposal-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(3):hover {
    background: linear-gradient(135deg, #60a5fa, #3b82f6) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Dark Mode Action Buttons - Edit (2nd child) */
.mud-theme-dark .apartments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .buildings-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .payments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .managers-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .issues-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .cost-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .invoice-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .serviceprovider-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .announcements-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2),
.mud-theme-dark .proposal-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2) {
    color: #a78bfa !important;
    background: rgba(167, 139, 250, 0.15) !important;
}

.mud-theme-dark .apartments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .buildings-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .payments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .managers-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .issues-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .cost-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .invoice-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .serviceprovider-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .announcements-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover,
.mud-theme-dark .proposal-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(2):hover {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Dark Mode Action Buttons - Delete (3rd child) */
.mud-theme-dark .apartments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .buildings-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .payments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .managers-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .issues-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .cost-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .invoice-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .serviceprovider-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .announcements-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1),
.mud-theme-dark .proposal-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1){
    color: #f87171 !important;
    background: rgba(248, 113, 113, 0.15) !important;
}

.mud-theme-dark .apartments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .buildings-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .payments-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .managers-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .issues-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .cost-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .invoice-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .serviceprovider-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .announcements-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover,
.mud-theme-dark .proposal-listing .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button:nth-last-child(1):hover {
    background: linear-gradient(135deg, #f87171, #ef4444) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(248, 113, 113, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-data-grid .mud-table-body .mud-table-cell .mud-button {
    border-radius: 12px !important;
    padding: 8px 16px !important;
        font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    color: white !important;
    border: none !important;
    white-space: nowrap !important;
    }

.mud-data-grid .mud-table-body .mud-table-cell .mud-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3) !important;
    }

.mud-data-grid .mud-toolbar {
    background: var(--mud-palette-surface) !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1) !important;
    }

.mud-data-grid .mud-toolbar .add-btn-modal {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    color: white !important;
    border-radius: 16px !important;
    padding: 12px !important;
    width: 48px !important;
    height: 48px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

.mud-data-grid .mud-toolbar .add-btn-modal:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
}

.mud-data-grid {
    background: var(--mud-palette-surface) !important;
    border-radius: 0 0 24px 24px !important;
    padding: 20px 24px !important;
    border-top: 1px solid rgba(37, 99, 235, 0.1) !important;
}

.mud-data-grid .mud-table-pagination .mud-button {
    border-radius: 12px !important;
    margin: 0 4px !important;
    transition: all 0.2s ease !important;
    background: rgba(37, 99, 235, 0.08) !important;
    color: var(--mud-palette-primary) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.mud-data-grid .mud-table-pagination .mud-button:hover {
    background: var(--mud-palette-primary) !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

.mud-data-grid .mud-table-pagination .mud-button.mud-button-filled {
    background: var(--mud-palette-primary) !important;
    color: white !important;
}

.mud-data-grid .mud-progress-circular {
    color: var(--mud-palette-primary) !important;
}


.mud-nav-menu {
    background: var(--mud-palette-drawer-background) !important;
    padding: 1rem 0 !important;
}

.mud-nav-link {
    margin: 0.25rem 1rem !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    font-weight: 500 !important;
    color: var(--mud-palette-text-primary) !important;
    text-decoration: none !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    }

.mud-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    }

.mud-nav-link:hover {
    background: transparent !important;
    color: var(--mud-palette-primary) !important;
    transform: translateX(8px) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15) !important;
    }

.mud-nav-link:hover::before {
    opacity: 1;
    }

.mud-nav-link.mud-nav-link-active {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
        color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.25) !important;
    transform: translateX(4px) !important;
    }

.mud-nav-link.mud-nav-link-active::before {
    display: none;
    }

.mud-nav-link .mud-icon-root {
    font-size: 1.25rem !important;
    transition: transform 0.3s ease !important;
    }

.mud-nav-link:hover .mud-icon-root {
    transform: scale(1.1) !important;
    }

.mud-nav-link.mud-nav-link-active .mud-icon-root {
    color: white !important;
    }

.mud-theme-dark .mud-nav-menu {
    background: var(--mud-palette-drawer-background) !important;
    }

.mud-theme-dark .mud-nav-link {
    color: var(--mud-palette-text-primary) !important;
    }

.mud-theme-dark .mud-nav-link::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%);
    }

.mud-theme-dark .mud-nav-link:hover {
    color: var(--mud-palette-primary) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .mud-nav-link.mud-nav-link-active {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    color: white !important;
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.3) !important;
}

.button-same-size {
    width: 200px;
    padding: 4px;
    padding-left: 8px;
    height: 30px;
    margin: 4px;
}

.dashboard-container {
        padding: 0 !important;
        max-width: none !important;
    }

    .loading-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 60vh;
    }

    .hero-section {
        background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
        border-radius: 24px;
        margin-bottom: 2rem;
        color: red;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transform: translate(50%, -50%);
    }

    .hero-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .welcome-section {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .hero-icon {
        font-size: 3rem !important;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-title {
        color: white !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 500 !important;
    }

    .quick-actions {
        display: flex;
        gap: 1rem;
    }

    .action-btn {
        border-radius: 12px !important;
        padding: 0.75rem 1.5rem !important;
        font-weight: 600 !important;
        text-transform: none !important;
        transition: all 0.3s ease !important;
    }

    .action-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
    }

    .stats-grid {
        margin-bottom: 2rem;
    }

    .stat-card {
        border-radius: 20px !important;
        border: 1px solid rgba(37, 99, 235, 0.1) !important;
        transition: all 0.3s ease !important;
        cursor: pointer;
        background: var(--mud-palette-surface) !important;
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08) !important;
    }

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15) !important;
    }

    .stat-content {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem !important;
    }

    .stat-icon-container {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }


    .stat-icon {
        color: white !important;
        font-size: 1.5rem !important;
    }

    .stat-info {
        flex: 1;
    }

    .stat-number {
        color: #2563EB !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        color: var(--mud-palette-primary) !important;
        font-weight: 600 !important;
        margin-bottom: 0.25rem;
    }

    .stat-description {
        color: var(--mud-palette-text-primary) !important;
    }

    .content-grid {
        margin-bottom: 2rem;
    }

    .content-card {
        border-radius: 20px !important;
        border: 1px solid rgba(37, 99, 235, 0.1) !important;
        background: var(--mud-palette-surface) !important;
        height: 100%;
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08) !important;
        transition: all 0.3s ease !important;
    }

    .content-card:hover {
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12) !important;
    }

    .admin-dashboard-header {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
        border: 1px solid rgba(123, 58, 237, 0.1) !important;
        border-radius: 24px !important;
    }

    .admin-header-avatar {
        background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
        box-shadow: 0 4px 20px rgba(123, 58, 237, 0.3) !important;
    }

    .admin-header-title {
        color: #1e293b !important;
    }

    .admin-header-info {
        background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
        box-shadow: 0 4px 15px rgba(123, 58, 237, 0.2) !important;
    }

    .admin-stat-card {
        border-radius: 16px !important;
        border: 1px solid rgba(123, 58, 237, 0.1) !important;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        padding: 1.5rem !important;
        background: #ffffff !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .admin-stat-card::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 4px !important;
    }

    .admin-stat-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 24px rgba(123, 58, 237, 0.15) !important;
    }

    .buildings-admin-card::before {
        background: linear-gradient(90deg, #be185d 0%, #ec4899 100%) !important;
    }

    .managers-admin-card::before {
        background: linear-gradient(90deg, #0891b2 0%, #06b6d4 100%) !important;
    }

    .apartments-admin-card::before {
        background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%) !important;
    }

    .admin-stat-header {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }

    .admin-stat-icon {
        font-size: 2.5rem !important;
        color: #7c3aed !important;
    }

    .buildings-admin-card .admin-stat-icon {
        color: #ec4899 !important;
    }

    .managers-admin-card .admin-stat-icon {
        color: #06b6d4 !important;
    }

    .apartments-admin-card .admin-stat-icon {
        color: #2563eb !important;
    }

    .admin-stat-label {
        color: #64748b !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 0.5rem !important;
    }

    .admin-stat-value {
        color: #1e293b !important;
        font-weight: 800 !important;
    }

    .admin-stat-body {
        text-align: center;
    }

    .card-header {
        padding: 1.5rem 1.5rem 0 1.5rem !important;
        border-bottom: none !important;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dashboard-header-title {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .dashboard-header-icon {
        color: var(--mud-palette-primary) !important;
        font-size: 1.25rem !important;
    }

    .buildings-content {
        padding: 1rem 1.5rem 1.5rem 1.5rem !important;
    }

    .buildings-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .building-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(37, 99, 235, 0.1);
        transition: all 0.2s ease;
    }

    .building-item:hover {
        background: rgba(37, 99, 235, 0.05);
        border-color: rgba(37, 99, 235, 0.2);
        transform: translateX(4px);
    }

    .building-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: linear-gradient(135deg, #2563EB, #60A5FA);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .building-icon .mud-icon-root {
        color: white !important;
        font-size: 1.25rem !important;
    }

    .building-info {
        flex: 1;
    }

    .building-name {
        color: var(--mud-palette-text-primary) !important;
        font-weight: 600 !important;
        margin-bottom: 0.25rem;
    }

    .building-address, .building-city {
        color: var(--mud-palette-text-secondary) !important;
        line-height: 1.2;
    }

    .chevron-icon {
        color: var(--mud-palette-text-secondary) !important;
        transition: transform 0.2s ease;
    }

    .building-item:hover .chevron-icon {
        transform: translateX(4px);
    }

    .announcements-content {
        padding: 1rem 1.5rem 1.5rem 1.5rem !important;
    }

    .announcements-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .announcement-item {
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(37, 99, 235, 0.1);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .announcement-item:hover {
        background: rgba(37, 99, 235, 0.05);
        border-color: rgba(37, 99, 235, 0.2);
    }

    .announcement-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.5rem;
        gap: 0.5rem;
    }

    .announcement-title {
        color: var(--mud-palette-text-primary) !important;
        font-weight: 600 !important;
        flex: 1;
    }

    .announcement-date {
        color: var(--mud-palette-text-secondary) !important;
        flex-shrink: 0;
    }

    .announcement-text {
        color: var(--mud-palette-text-secondary) !important;
        line-height: 1.4;
    }

    .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        text-align: center;
    }

    .empty-icon {
        font-size: 3rem !important;
        color: var(--mud-palette-text-secondary) !important;
        margin-bottom: 1rem;
    }

.mud-theme-dark .hero-section { background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%); box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3); }

.mud-theme-dark .hero-section::before { background: rgba(255, 255, 255, 0.05); }

.mud-theme-dark .stat-card { background: var(--mud-palette-surface) !important; border: 1px solid rgba(37, 99, 235, 0.2) !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important; }

.mud-theme-dark .stat-card:hover { box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25) !important; border-color: rgba(37, 99, 235, 0.3) !important; }

.mud-theme-dark .content-card { background: var(--mud-palette-surface) !important; border: 1px solid rgba(37, 99, 235, 0.2) !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important; }

.mud-theme-dark .content-card:hover { box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2) !important; }

.mud-theme-dark .admin-dashboard-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
    border: 1px solid rgba(123, 58, 237, 0.2) !important;
}

.mud-theme-dark .admin-header-avatar {
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%) !important;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.4) !important;
}

.mud-theme-dark .admin-header-title {
    color: #f1f5f9 !important;
}

.mud-theme-dark .admin-header-info {
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%) !important;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3) !important;
}

.mud-theme-dark .admin-stat-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%) !important;
    border: 1px solid rgba(123, 58, 237, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.mud-theme-dark .admin-stat-card:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%) !important;
    box-shadow: 0 12px 30px rgba(123, 58, 237, 0.25) !important;
    border-color: rgba(123, 58, 237, 0.4) !important;
}

.mud-theme-dark .buildings-admin-card::before {
    background: linear-gradient(90deg, #ec4899 0%, #f472b6 100%) !important;
}

.mud-theme-dark .managers-admin-card::before {
    background: linear-gradient(90deg, #06b6d4 0%, #22d3ee 100%) !important;
}

.mud-theme-dark .apartments-admin-card::before {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%) !important;
}

.mud-theme-dark .admin-stat-icon {
    color: #a78bfa !important;
}

.mud-theme-dark .buildings-admin-card .admin-stat-icon {
    color: #f472b6 !important;
}

.mud-theme-dark .managers-admin-card .admin-stat-icon {
    color: #22d3ee !important;
}

.mud-theme-dark .apartments-admin-card .admin-stat-icon {
    color: #60a5fa !important;
}

.mud-theme-dark .admin-stat-label {
    color: #cbd5e1 !important;
}

.mud-theme-dark .admin-stat-value {
    color: #f1f5f9 !important;
}

.mud-theme-dark .building-item { background: var(--mud-palette-surface) !important; border: 1px solid rgba(37, 99, 235, 0.15) !important; }

.mud-theme-dark .building-item:hover { background: rgba(37, 99, 235, 0.1) !important; border-color: rgba(37, 99, 235, 0.3) !important; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important; }

.mud-theme-dark .announcement-item { background: var(--mud-palette-surface) !important; border: 1px solid rgba(37, 99, 235, 0.15) !important; }

.mud-theme-dark .announcement-item:hover { background: rgba(37, 99, 235, 0.1) !important; border-color: rgba(37, 99, 235, 0.3) !important; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important; }

.mud-theme-dark .loading-container { color: var(--mud-palette-text-primary) !important; }

.details-dialog {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 
        0 0 0 1px rgba(148, 163, 184, 0.1),
        0 20px 60px rgba(99, 102, 241, 0.15),
        0 8px 32px rgba(139, 92, 246, 0.1) !important;
    border: none !important;
    position: relative !important;
    max-width: 800px !important;
    width: 100% !important;
}

.details-dialog::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%) !important;
    z-index: 1000 !important;
}

.details-dialog .mud-dialog-content {
    padding: 0 !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
}

.details-dialog-container {
    min-width: 600px;
    max-width: 800px;
    width: 100%;
    background: transparent;
}

.details-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 32px 32px 24px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.details-dialog-header .header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.details-dialog-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
}

.details-dialog-icon {
    font-size: 2.6rem !important;
    color: #6366f1 !important;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    padding: 12px;
    border-radius: 14px;
    box-shadow: 
        0 4px 12px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.details-dialog-title {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 1.375rem !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
    position: relative !important;
}

.details-dialog-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #6366f1, #8b5cf6) !important;
    border-radius: 3px !important;
}

.details-close-icon-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
}

.details-close-icon-btn:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.mud-theme-dark .details-close-icon-btn {
    background: #1e3a5f !important;
    color: #B0BEC5 !important;
}

.mud-theme-dark .details-close-icon-btn:hover {
    background: #7f1d1d !important;
    color: #ef4444 !important;
}

.details-dialog-content {
    padding: 24px 32px 32px 32px;
    max-height: 500px;
    overflow-y: auto;
}

.details-dialog-content::-webkit-scrollbar {
    width: 10px;
}

.details-dialog-content::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #f1f5f9, #e2e8f0);
    border-radius: 5px;
    margin: 8px 0;
}

.details-dialog-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.details-dialog-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4f46e5, #7c3aed);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.details-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 20px 24px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.details-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.details-item:hover {
    background: linear-gradient(90deg, #faf5ff 0%, #f5f3ff 50%, #ffffff 100%);
    border-color: #c4b5fd;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(99, 102, 241, 0.12),
        0 0 0 4px rgba(99, 102, 241, 0.05);
}

.details-item:hover::before {
    opacity: 1;
}

.details-item:last-child {
    margin-bottom: 0;
}

.details-item-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-item-label .mud-typography {
    color: #6366f1 !important;
    font-weight: 700 !important;
    font-size: 0.813rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.details-item-value .mud-typography {
    color: #334155 !important;
    font-weight: 500 !important;
    font-size: 0.938rem !important;
    line-height: 1.6;
    word-break: break-word;
    text-align: left;
}

.details-dialog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    text-align: center;
    min-height: 300px;
}

.details-dialog-empty .empty-icon {
    font-size: 4rem !important;
    color: #94a3b8 !important;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 24px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.details-dialog-empty .empty-text {
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
}

@media (max-width: 768px) {
    .details-dialog-container {
        min-width: 100%;
    }
    
    .details-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .details-dialog-header,
    .details-dialog-content,
    .details-dialog-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Dark Mode Enhancements */
.mud-theme-dark .details-dialog {
    background: var(--mud-palette-surface) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

.mud-theme-dark .details-dialog-container {
    background: var(--mud-palette-surface) !important;
}

.mud-theme-dark .details-dialog-header {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%) !important;
}

.mud-theme-dark .details-dialog-content::-webkit-scrollbar-track {
    background: rgba(37, 99, 235, 0.1);
}

.mud-theme-dark .details-item {
    background: rgba(37, 99, 235, 0.05) !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
}

.mud-theme-dark .details-item:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .details-dialog-footer {
    /*background: var(--mud-palette-surface) !important;*/
    border-top: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .details-close-btn {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

.mud-theme-dark .details-close-btn:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .details-dialog-container {
        min-width: 300px;
        max-width: 90vw;
    }
    
    .details-dialog-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .details-dialog-content {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .details-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
}
    
    .details-item-label .mud-typography {
        font-size: 0.8rem !important;
    }
    
    .details-close-btn {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.875rem !important;
    }


@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-item {
    animation: slideInUp 0.3s ease-out;
}

.details-item:nth-last-child(3) { animation-delay: 0.1s; }
.details-item:nth-last-child(2) { animation-delay: 0.2s; }
.details-item:nth-last-child(1){ animation-delay: 0.3s; }

.confirm-delete-dialog {
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.1) !important;
}

.confirm-delete-dialog .mud-dialog-content {
    padding: 0 !important;
    background: var(--mud-palette-surface) !important;
}

.confirm-delete-container {
    min-width: 400px;
    max-width: 500px;
    background: var(--mud-palette-surface);
}

.confirm-delete-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2rem 1.5rem 2rem;
    background: var(--mud-palette-surface);
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
    position: relative;
}

.confirm-delete-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(239, 68, 68, 0.2) 50%, transparent 100%);
}

.warning-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    animation: pulse 2s infinite;
}

.warning-icon-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.1) 100%);
    z-index: -1;
}

.warning-icon {
    font-size: 2rem !important;
    color: var(--mud-palette-error) !important;
}

.header-content {
    flex: 1;
}

.confirm-title {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 700 !important;
    margin-bottom: 0.25rem !important;
}

.confirm-subtitle {
    color: var(--mud-palette-text-secondary) !important;
    font-weight: 500 !important;
    opacity: 0.8;
}

.confirm-delete-content {
    padding: 1.5rem 2rem;
    text-align: center;
}

.confirm-message {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 500 !important;
    line-height: 1.6;
    margin-bottom: 1rem !important;
}

.item-name {
    color: var(--mud-palette-primary) !important;
    font-weight: 700 !important;
    padding: 2px 8px;
    border-radius: 6px;
}

.warning-text {
    color: var(--mud-palette-text-secondary) !important;
    font-style: italic;
    background: rgba(239, 68, 68, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.1);
    display: inline-block;
}

.confirm-delete-actions {
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: var(--mud-palette-surface);
}

.cancel-btn {
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(37, 99, 235, 0.2) !important;
    color: var(--mud-palette-text-primary) !important;
    background: transparent !important;
}

.cancel-btn:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1) !important;
}

.delete-btn {
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, var(--mud-palette-error) 0%, #DC2626 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2) !important;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3) !important;
}

.confirm-btn {
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(var(--mud-palette-primary) 50%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2) !important;
}

    .confirm-btn:hover {
        background: linear-gradient(135deg, var(--mud-palette-primary) 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3) !important;
    }

/* Dark Mode Enhancements */
.mud-theme-dark .confirm-delete-dialog {
    background: var(--mud-palette-surface) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

.mud-theme-dark .confirm-delete-container {
    background: var(--mud-palette-surface) !important;
}

.mud-theme-dark .confirm-delete-header {
    background: var(--mud-palette-surface) !important;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.mud-theme-dark .warning-icon-container {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.25) 100%) !important;
}

.mud-theme-dark .warning-icon-container::before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%) !important;
}

.mud-theme-dark .item-name {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.mud-theme-dark .warning-text {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.mud-theme-dark .confirm-delete-actions {
    background: var(--mud-palette-surface) !important;
}

.mud-theme-dark .cancel-btn {
    border: 2px solid rgba(37, 99, 235, 0.3) !important;
    color: var(--mud-palette-text-primary) !important;
}

.mud-theme-dark .cancel-btn:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .delete-btn {
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}

.mud-theme-dark .delete-btn:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
}

@media (max-width: 768px) {
    .confirm-delete-container {
        min-width: 300px;
        max-width: 90vw;
    }
    
    .confirm-delete-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .warning-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .warning-icon {
        font-size: 1.5rem !important;
    }
    
    .confirm-delete-content {
        padding: 1rem 1.5rem;
    }
    
    .confirm-delete-actions {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cancel-btn,
    .delete-btn {
        width: 100%;
        padding: 0.875rem 1rem !important;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.delete-btn:active {
    animation: shake 0.5s ease-in-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirm-delete-container {
    animation: fadeInScale 0.3s ease-out;
}

.profile-container {
    padding: 2rem 1rem !important;
    max-width: 1200px !important;
}

.profile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    color: var(--mud-palette-text-primary);
}

.profile-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-header-card {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    border-radius: 24px !important;
    color: white !important;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2) !important;
}

.profile-header-content {
    padding: 2rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.avatar-icon {
    font-size: 2.5rem !important;
    color: white !important;
}

.profile-basic-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-name {
    color: white !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.profile-email {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
}

.role-chip {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.role-icon {
    color: white !important;
}

.profile-actions {
    display: flex;
    height: 50px;
    align-items: baseline;
}

.edit-toggle-btn {
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
    margin-right: 7px !important;
}

.edit-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

.profile-section-card {
    background: var(--mud-palette-surface) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(37, 99, 235, 0.1) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08) !important;
    transition: all 0.3s ease !important;
}

.profile-section-card:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12) !important;
}

.section-header {
    padding: 1.5rem 1.5rem 0 1.5rem !important;
    border-bottom: none !important;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    color: var(--mud-palette-primary) !important;
    font-size: 1.25rem !important;
}

.section-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem !important;
}

.section-actions {
    padding: 0 1.5rem 1.5rem 1.5rem !important;
    justify-content: flex-end !important;
}

.profile-form .profile-input {
    margin-bottom: 1rem !important;
}

.profile-input .mud-input-root {
    border-radius: 12px !important;
}

.disabled-input .mud-input-root {
    background: rgba(37, 99, 235, 0.05) !important;
}

.save-btn {
    border-radius: 12px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    background: linear-gradient(135deg, var(--mud-palette-success) 0%, #059669 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2) !important;
}

.save-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3) !important;
}

.profile-info-display {
    padding: 0.5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.info-label {
    color: var(--mud-palette-primary) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem !important;
}

.info-value {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateX(4px);
}

.detail-icon {
    color: var(--mud-palette-primary) !important;
    font-size: 1.25rem !important;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-label {
    color: var(--mud-palette-text-secondary) !important;
    font-weight: 500 !important;
    margin-bottom: 0.25rem !important;
}

.detail-value {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}


.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}


.mud-theme-dark .profile-header-card {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%) !important;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3) !important;
}

.mud-theme-dark .profile-section-card {
    background: var(--mud-palette-surface) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.mud-theme-dark .profile-section-card:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .info-item,
.mud-theme-dark .detail-item {
    background: rgba(37, 99, 235, 0.05) !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
}

.mud-theme-dark .info-item:hover,
.mud-theme-dark .detail-item:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}

.mud-theme-dark .disabled-input .mud-input-root {
    background: rgba(37, 99, 235, 0.1) !important;
}

@media (max-width: 768px) {
    .profile-container {
        padding: 1rem 0.5rem !important;
    }
    
    .profile-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-avatar-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-actions {
        width: 100%;
        justify-content: center;
    }
    
    .edit-toggle-btn {
        width: 100%;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section-card {
    animation: slideInUp 0.3s ease-out;
}

.profile-section-card:nth-last-child(3) { animation-delay: 0.1s; }
.profile-section-card:nth-last-child(2) { animation-delay: 0.2s; }
.profile-section-card:nth-last-child(1){ animation-delay: 0.3s; }

.proposal-dialog {
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15) !important;
    border: 1px solid rgba(37, 99, 235, 0.1) !important;
}

.proposal-dialog .mud-dialog-content {
    padding: 0 !important;
    background: var(--mud-palette-surface) !important;
    margin:0 !important;
}

.proposal-dialog-container {
    background: var(--mud-palette-surface);
}

.proposal-dialog-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2rem 1.5rem 2rem;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    color: white;
    position: relative;
}

.proposal-dialog-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.proposal-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.proposal-header-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
}

.proposal-header-icon .header-icon {
    font-size: 1.75rem !important;
    color: white !important;
}

.proposal-header-content {
    flex: 1;
}

.proposal-dialog-title {
    color: white !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2;
}

.proposal-dialog-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    opacity: 0.9;
}

.proposal-dialog-content {
    padding: 2rem;
    background: var(--mud-palette-surface);
}

.proposal-form {
    width: 100%;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.input-label .input-icon {
    color: var(--mud-palette-primary) !important;
    font-size: 4.25rem !important;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    padding: 20px;
    flex-shrink: 0;
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-label .label-text {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem !important;
}

.proposal-input .mud-input-root:hover,
.proposal-textarea .mud-input-root:hover {
    border-color: rgba(37, 99, 235, 0.2) !important;
    background: rgba(37, 99, 235, 0.05) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08) !important;
}

.proposal-input .mud-input-root.mud-input-root-focused,
.proposal-textarea .mud-input-root.mud-input-root-focused {
    border-color: var(--mud-palette-primary) !important;
    background: rgba(37, 99, 235, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.proposal-input .mud-input-root input,
.proposal-textarea .mud-input-root textarea {
    padding: 16px 20px !important;
    font-weight: 500 !important;
    color: var(--mud-palette-text-primary) !important;
}

.proposal-input .mud-input-root input::placeholder,
.proposal-textarea .mud-input-root textarea::placeholder {
    color: var(--mud-palette-text-secondary) !important;
    opacity: 0.7;
    font-style: italic;
}

.proposal-textarea .mud-input-root textarea {
    min-height: 120px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

.proposal-input .mud-input-helper-text,
.proposal-textarea .mud-input-helper-text {
    color: var(--mud-palette-text-secondary) !important;
    font-size: 0.75rem !important;
    margin-top: 0.5rem !important;
    padding-left: 0.5rem !important;
    font-style: italic;
}

.proposal-dialog-actions {
    padding: 1.5rem 2rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: var(--mud-palette-surface);
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.cancel-action-btn {
    border-radius: 12px !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(37, 99, 235, 0.2) !important;
    color: var(--mud-palette-text-primary) !important;
    background: transparent !important;
}

.cancel-action-btn:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1) !important;
}

.save-action-btn {
    border-radius: 12px !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
    min-width: 140px !important;
    position: relative;
    overflow: hidden;
}

.save-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.save-action-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
}

.save-action-btn:hover::before {
    left: 100%;
}

.save-action-btn:disabled {
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1) !important;
}

.loading-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.loading-spinner {
    color: white !important;
}

.loading-text {
    font-weight: 600 !important;
    color: white !important;
}

.mud-theme-dark .proposal-dialog {
    background: var(--mud-palette-surface) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

.mud-theme-dark .proposal-dialog-container {
    background: var(--mud-palette-surface) !important;
}

.mud-theme-dark .proposal-dialog-header {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%) !important;
}

.mud-theme-dark .proposal-header-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
}

.mud-theme-dark .proposal-header-icon::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
}

.mud-theme-dark .input-label .input-icon {
    background: rgba(37, 99, 235, 0.15) !important;
    border: 1px solid rgba(37, 99, 235, 0.3) !important;
}

.mud-theme-dark .proposal-input .mud-input-root,
.mud-theme-dark .proposal-textarea .mud-input-root {
    background: rgba(37, 99, 235, 0.05) !important;
    border: 2px solid rgba(37, 99, 235, 0.15) !important;
}

.mud-theme-dark .proposal-input .mud-input-root:hover,
.mud-theme-dark .proposal-textarea .mud-input-root:hover {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15) !important;
}

.mud-theme-dark .proposal-input .mud-input-root.mud-input-root-focused,
.mud-theme-dark .proposal-textarea .mud-input-root.mud-input-root-focused {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: var(--mud-palette-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.mud-theme-dark .proposal-dialog-actions {
    background: var(--mud-palette-surface) !important;
    border-top: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .cancel-action-btn {
    border: 2px solid rgba(37, 99, 235, 0.3) !important;
    color: var(--mud-palette-text-primary) !important;
}

.mud-theme-dark .cancel-action-btn:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .save-action-btn {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

.mud-theme-dark .save-action-btn:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
}

@media (max-width: 768px) {
    .proposal-dialog-container {
        min-width: 300px;
        max-width: 90vw;
    }
    
    .proposal-dialog-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .proposal-header-icon {
        width: 50px;
        height: 50px;
    }
    
    .proposal-header-icon .header-icon {
        font-size: 1.5rem !important;
    }
    
    .proposal-dialog-content {
        padding: 1.5rem;
    }
    
    .form-section {
        gap: 1.5rem;
    }
    
    .proposal-dialog-actions {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cancel-action-btn,
    .save-action-btn {
        width: 100%;
        padding: 1rem 1.5rem !important;
    }
    
    .input-label {
        gap: 0.5rem;
    }
    
    .input-label .input-icon {
        font-size: 3.25rem !important;
        padding: 18px;
        width: 88px;
        height: 88px;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.proposal-dialog-container {
    animation: fadeInScale 0.3s ease-out;
}

.input-group {
    animation: slideInUp 0.3s ease-out;
}

.input-group:nth-last-child(3) { animation-delay: 0.1s; }
.input-group:nth-last-child(2) { animation-delay: 0.2s; }

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.save-action-btn:disabled .loading-content {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

.issue-edit-container {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.issue-edit-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.issue-edit-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.header-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.header-icon {
    font-size: 2.5rem !important;
    color: white !important;
}

.header-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.header-title {
    color: white !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
}

.issue-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.issue-info-card,
.issue-details-card,
.status-management-card,
.proposals-section {
    background: var(--mud-palette-surface);
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.issue-info-card:hover,
.issue-details-card:hover,
.status-management-card:hover,
.proposals-section:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
}

.card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.card-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header-icon {
    color: var(--mud-palette-primary) !important;
    font-size: 4.5rem !important;
    background: rgba(37, 99, 235, 0.1);
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header-title {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.card-content {
    padding: 2rem;
}

.issue-title-section,
.issue-description-section {
    margin-bottom: 1.5rem;
}

.issue-description-section:last-child {
    margin-bottom: 0;
}

.field-label {
    color: var(--mud-palette-primary) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem !important;
    font-size: 0.875rem !important;
}

.field-value {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.description-content {
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.description-text {
    color: var(--mud-palette-text-primary) !important;
    line-height: 1.6 !important;
    white-space: pre-wrap;
    margin: 0 !important;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.detail-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.type-icon {
    background: linear-gradient(135deg, #2563EB, #60A5FA);
}

.priority-icon {
    background: linear-gradient(135deg, #EAB308, #FCD34D);
}

.reporter-icon {
    background: linear-gradient(135deg, #10B981, #6EE7B7);
}

.date-icon {
    background: linear-gradient(135deg, #8B5CF6, #C4B5FD);
}

.detail-icon {
    color: white !important;
    font-size: 1.25rem !important;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-label {
    color: var(--mud-palette-text-secondary) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem !important;
}

.detail-value {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.priority-chip {
    background: linear-gradient(135deg, #EAB308, #FCD34D) !important;
    color: white !important;
    font-weight: 600 !important;
}

.status-select-container {
    margin-bottom: 2rem;
}

.status-select .mud-input-root {
    border-radius: 12px !important;
    border: 2px solid rgba(37, 99, 235, 0.15) !important;
    background: var(--mud-palette-surface) !important;
    transition: all 0.3s ease !important;
}

.status-select .mud-input-root:hover {
    border-color: rgba(37, 99, 235, 0.3) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1) !important;
}

.status-select .mud-input-root.mud-input-root-focused {
    border-color: var(--mud-palette-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.additional-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 12px;
}

.info-icon {
    font-size: 1.25rem !important;
    flex-shrink: 0;
    margin-top: 2px;
}

.resolution-icon {
    color: var(--mud-palette-success) !important;
}

.pictures-icon {
    color: var(--mud-palette-info) !important;
}

.info-content {
    flex: 1;
}

.info-label {
    color: var(--mud-palette-text-secondary) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem !important;
}

.info-value {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.pictures-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.picture-chip {
    background: rgba(37, 99, 235, 0.1) !important;
    color: var(--mud-palette-primary) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.no-pictures {
    color: var(--mud-palette-text-secondary) !important;
    font-style: italic;
    margin: 0 !important;
}

.proposals-section {
    grid-column: 1 / -1;
}

.proposals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.proposals-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.proposals-header-icon {
    color: var(--mud-palette-primary) !important;
    font-size: 4.5rem !important;
    background: rgba(37, 99, 235, 0.1);
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proposals-header-title {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.add-proposal-btn {
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
    transition: all 0.3s ease !important;
}

.add-proposal-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
}

.proposals-grid-container {
    padding: 1rem 2rem 2rem 2rem;
}

.proposals-grid {
    border-radius: 16px !important;
    overflow: hidden;
}

.delete-proposal-btn {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--mud-palette-error) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.delete-proposal-btn:hover {
    background: var(--mud-palette-error) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}

.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    grid-column: 1 / -1;
    padding: 1rem 0;
}

.cancel-btn {
    border-radius: 12px !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    border: 2px solid rgba(37, 99, 235, 0.2) !important;
    color: var(--mud-palette-text-primary) !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.cancel-btn:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1) !important;
}

.save-btn {
    border-radius: 12px !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
    transition: all 0.3s ease !important;
    min-width: 140px !important;
}

.save-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
}

.save-btn:disabled {
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1) !important;
}

.loading-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.loading-spinner {
    color: white !important;
}

.loading-text {
    font-weight: 600 !important;
    color: white !important;
}

.mud-theme-dark .issue-edit-header {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3);
}

.mud-theme-dark .issue-edit-header::before {
    background: rgba(255, 255, 255, 0.05);
}

.mud-theme-dark .issue-info-card,
.mud-theme-dark .issue-details-card,
.mud-theme-dark .status-management-card,
.mud-theme-dark .proposals-section {
    background: var(--mud-palette-surface);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mud-theme-dark .issue-info-card:hover,
.mud-theme-dark .issue-details-card:hover,
.mud-theme-dark .status-management-card:hover,
.mud-theme-dark .proposals-section:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
}

.mud-theme-dark .card-header,
.mud-theme-dark .proposals-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.mud-theme-dark .card-header-icon,
.mud-theme-dark .proposals-header-icon {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.mud-theme-dark .description-content,
.mud-theme-dark .detail-item,
.mud-theme-dark .info-item {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.mud-theme-dark .detail-item:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
}

.mud-theme-dark .status-select .mud-input-root {
    background: var(--mud-palette-surface);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.mud-theme-dark .status-select .mud-input-root:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.mud-theme-dark .status-select .mud-input-root.mud-input-root-focused {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.mud-theme-dark .picture-chip {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.mud-theme-dark .cancel-btn {
    border: 2px solid rgba(37, 99, 235, 0.3);
    color: var(--mud-palette-text-primary);
}

.mud-theme-dark .cancel-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

@media (max-width: 1200px) {
    .issue-content-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .issue-edit-container {
        padding: 1rem 0.5rem;
    }
    
    .issue-edit-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .header-icon-container {
        width: 60px;
        height: 60px;
    }
    
    .header-icon {
        font-size: 2rem !important;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .proposals-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cancel-btn,
    .save-btn {
        width: 100%;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.issue-info-card,
.issue-details-card,
.status-management-card,
.proposals-section {
    animation: slideInUp 0.3s ease-out;
}

.issue-info-card { animation-delay: 0.1s; }
.issue-details-card { animation-delay: 0.2s; }
.status-management-card { animation-delay: 0.3s; }
.proposals-section { animation-delay: 0.4s; }

.about-container {
    padding: 0;
    max-width: none !important;
}

.about-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--mud-palette-primary) 0%, 
        var(--mud-palette-secondary) 50%, 
        var(--mud-palette-tertiary) 100%);
    opacity: 0.9;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 0%, transparent 50%);
    background-size: 100px 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 2rem;
}

.hero-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    max-width: 600px;
    opacity: 0.8;
    line-height: 1.6;
}

.stats-section {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.stat-card {
    background: var(--mud-palette-surface);
    border-radius: 16px;
    border: 1px solid var(--mud-palette-divider);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--mud-elevation-8);
}

.stat-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.stat-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon {
    font-size: 1.8rem;
    color: white;
}

.buildings-bg { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.apartments-bg { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
}

.issues-bg { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
}

.success-bg { 
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); 
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

.features-section {
    padding: 4rem 1rem;
    background: var(--mud-palette-background-grey);
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--mud-palette-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--mud-palette-surface);
    border-radius: 20px;
    border: 1px solid var(--mud-palette-divider);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--mud-elevation-12);
}

.feature-content {
    padding: 2rem;
    text-align: center;
}

.feature-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: white;
}

.speed-bg { 
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); 
}

.security-bg { 
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); 
}

.community-bg { 
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); 
}

.feature-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--mud-palette-text-primary);
}

.feature-description {
    color: var(--mud-palette-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.benefit-icon {
    font-size: 1rem;
    color: var(--mud-palette-success);
}

.mission-section {
    padding: 0 1rem;
    margin-bottom: 4rem;
}

.mission-card, .vision-card {
    background: var(--mud-palette-surface);
    border-radius: 20px;
    border: 1px solid var(--mud-palette-divider);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--mud-elevation-8);
}

.mission-content, .vision-content {
    padding: 2rem;
}

.mission-header, .vision-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mission-icon-container, .vision-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-bg { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.vision-bg { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
}

.mission-icon, .vision-icon {
    font-size: 1.8rem;
    color: white;
}

.mission-title, .vision-title {
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.mission-text, .vision-text {
    color: var(--mud-palette-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mission-values, .vision-goals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item, .goal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--mud-palette-action-hover);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.value-item:hover, .goal-item:hover {
    background: var(--mud-palette-action-selected);
}

.value-icon, .goal-icon {
    font-size: 1.2rem;
    color: var(--mud-palette-primary);
}

.cta-section {
    padding: 0 1rem 4rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-secondary) 100%);
    border-radius: 24px;
    border: none;
    overflow: hidden;
}

.cta-content {
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.cta-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
}

.primary-cta {
    background: white;
    color: var(--mud-palette-primary);
}

.primary-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.secondary-cta {
    border-color: white;
    color: white;
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mud-theme-dark .features-section {
    background: var(--mud-palette-dark);
}

.mud-theme-dark .hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.mud-theme-dark .logo-container {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 960px) {
    .about-hero-section {
        min-height: 60vh;
        margin-bottom: 3rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .logo-container {
        padding: 1.5rem;
    }
    
    .stats-section {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }
    
    .features-section {
        padding: 3rem 0.5rem;
        margin-bottom: 3rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
    
    .feature-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .mission-section {
        padding: 0 0.5rem;
        margin-bottom: 3rem;
    }
    
    .mission-content, .vision-content {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 0 0.5rem 3rem;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .about-hero-section {
        min-height: 50vh;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-container {
        padding: 1rem;
    }
    
    .stat-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .features-section {
        padding: 2rem 0.5rem;
    }
    
    .feature-content {
        padding: 1rem;
    }
    
    .feature-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .mission-header, .vision-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .mission-content, .vision-content {
        padding: 1rem;
    }
    
    .mission-icon-container, .vision-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .mission-icon, .vision-icon {
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
    
    .cta-content {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-section {
        gap: 1rem;
    }
    
    .stats-section, .features-section, .mission-section, .cta-section {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    
    .benefit-item, .value-item, .goal-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (min-width: 601px) and (max-width: 960px) {
    .stat-content {
        flex-direction: row;
        text-align: left;
    }
    
    .mission-header, .vision-header {
        flex-direction: row;
        text-align: left;
    }
    
    .feature-content {
        padding: 1.75rem;
    }
}

@media (min-width: 1200px) {
    .stats-section, .mission-section, .cta-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .features-section {
        padding: 4rem 2rem;
    }
    
    .hero-content {
        padding: 3rem;
    }
}


.home-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

.home-hero-section {
    background: var(--mud-palette-surface);
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.home-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0;
}

.home-welcome-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-hero-icon {
    font-size: 3rem;
    color: var(--mud-palette-primary);
}

.home-hero-title {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-bottom: 0.5rem;
}

.home-hero-subtitle {
    color: var(--mud-palette-text-secondary);
    font-weight: 400;
}

.home-quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-action-btn {
    min-width: 140px;
    border-radius: 8px;
    text-transform: none;
    font-weight: 600;
}

.home-stats-grid {
    margin-bottom: 2rem;
}

.home-stat-card {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    border: 1px solid var(--mud-palette-divider);
    transition: all 0.3s ease;
    height: 100%;
}

.home-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--mud-elevation-4);
}

.home-stat-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.home-stat-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-stat-icon {
    font-size: 1.8rem;
    color: white;
}

.home-buildings-bg { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.home-apartments-bg { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
}

.home-issues-bg { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
}

.home-stat-info {
    flex: 1;
}

.home-stat-number {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-bottom: 0.25rem;
}

.home-stat-label {
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.home-stat-description {
    color: var(--mud-palette-text-secondary);
    opacity: 0.8;
}

.home-content-grid {
    margin-bottom: 2rem;
}

.home-content-card {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    border: 1px solid var(--mud-palette-divider);
    height: 100%;
}

.home-card-header {
    padding: 1.5rem 1.5rem 0;
    border-bottom: none;
}

.home-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.home-header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-header-icon {
    font-size: 1.5rem;
    color: var(--mud-palette-primary);
}

.home-features-content {
    padding: 1.5rem;
}

.home-features-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.home-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--mud-palette-background-grey);
    transition: all 0.3s ease;
    cursor: pointer;
}

.home-feature-item:hover {
    background: var(--mud-palette-action-hover);
    transform: translateY(-1px);
}

.home-feature-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-primary);
    color: white;
    flex-shrink: 0;
}

.home-feature-info {
    flex: 1;
}

.home-feature-name {
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    margin-bottom: 0.25rem;
}

.home-feature-description {
    color: var(--mud-palette-text-secondary);
    font-size: 0.875rem;
}

.home-chevron-icon {
    color: var(--mud-palette-text-secondary);
    font-size: 1.25rem;
}

.home-getting-started-content {
    padding: 1.5rem;
}

.home-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--mud-palette-background-grey);
    transition: all 0.3s ease;
}

.home-step-item:hover {
    background: var(--mud-palette-action-hover);
}

.home-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.home-step-content {
    flex: 1;
}

.home-step-title {
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    margin-bottom: 0.25rem;
}

.home-step-description {
    color: var(--mud-palette-text-secondary);
    font-size: 0.875rem;
}

.home-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.home-empty-icon {
    font-size: 4rem;
    color: var(--mud-palette-text-secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

@media (max-width: 960px) {
    .home-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .home-welcome-section {
        width: 100%;
    }
    
    .home-quick-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .home-action-btn {
        flex: 1;
        min-width: auto;
    }
    
    .home-stat-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .home-features-grid {
        grid-template-columns: 1fr;
    }
    
    .home-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .home-hero-section {
        padding: 1.5rem 0;
    }
    
    .home-welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .home-hero-icon {
        font-size: 2.5rem;
    }
    
    .home-quick-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .home-action-btn {
        width: 100%;
    }
    
    .home-stat-content {
        padding: 1rem;
    }
    
    .home-stat-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .home-stat-icon {
        font-size: 1.5rem;
    }
    
    .home-feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .home-step-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

.login-page,
.forgot-password-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--mud-palette-background);
}

.login-container,
.forgot-password-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.login-card,
.forgot-password-card {
    background: var(--mud-palette-surface);
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.login-card:hover,
.forgot-password-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.12);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header,
.forgot-password-header {
    text-align: center;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.login-logo,
.forgot-password-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.logo-icon {
    font-size: 2rem !important;
    color: white !important;
}

.login-title,
.forgot-password-title {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.login-subtitle,
.forgot-password-subtitle {
    color: var(--mud-palette-text-secondary) !important;
    font-weight: 500 !important;
    opacity: 0.8;
}

.login-form-container,
.forgot-password-form-container {
    padding: 2rem;
}

.login-form,
.forgot-password-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    z-index: 2;
    color: var(--mud-palette-text-secondary) !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease;
}

.modern-input .mud-input-root {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0 12px;
    min-height: 48px;
    align-items: center;
}

.modern-input .mud-input-root:hover {
    border-color: rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1) !important;
}

.modern-input .mud-input-root.mud-input-root-focused {
    border-color: var(--mud-palette-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 4px 15px rgba(37, 99, 235, 0.15) !important;
    transform: translateY(-1px) !important;
}

.modern-input .mud-input-root.mud-input-root-focused + .input-icon {
    color: var(--mud-palette-primary) !important;
    transform: scale(1.05);
}

.modern-input .mud-input-root input {
    padding: 16px 20px 16px 48px !important;
    font-weight: 500 !important;
    color: var(--mud-palette-text-primary) !important;
    font-size: 1rem !important;
}

.modern-input .mud-input-root input::placeholder {
    color: var(--mud-palette-text-secondary) !important;
    font-weight: 400 !important;
}

.modern-input .mud-input-label {
    color: var(--mud-palette-text-secondary) !important;
    font-weight: 600 !important;
    transform: translateX(48px) !important;
}

.modern-input .mud-input-label.mud-input-label-inputted {
    transform: translateX(0) !important;
}

.form-actions {
    margin: 2rem 0 1.5rem;
}

.login-button,
.forgot-password-button {
    height: 52px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: none !important;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.login-button::before,
.forgot-password-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-button:hover,
.forgot-password-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35) !important;
}

.login-button:hover::before,
.forgot-password-button:hover::before {
    left: 100%;
}

.login-button:disabled,
.forgot-password-button:disabled {
    opacity: 0.7 !important;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

.button-content,
.button-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.button-icon {
    font-size: 1.2rem !important;
    color: white !important;
}

.loading-spinner {
    color: white !important;
}

.loading-text {
    color: white !important;
    font-weight: 600 !important;
}

.login-footer,
.forgot-password-footer {
    padding: 0 2rem 2rem;
}

.divider {
    margin: 1.5rem 0 !important;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.15) 50%, transparent 100%) !important;
}

.forgot-password-section,
.back-to-login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.forgot-password-section:hover,
.back-to-login-section:hover {
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.help-icon,
.back-icon {
    color: var(--mud-palette-primary) !important;
    font-size: 1.1rem !important;
}

.forgot-password-link,
.back-to-login-link {
    font-weight: 600 !important;
    text-decoration: none !important;
    color: var(--mud-palette-primary) !important;
    transition: all 0.3s ease !important;
}

.forgot-password-link:hover,
.back-to-login-link:hover {
    color: var(--mud-palette-primary-darken) !important;
    transform: translateX(2px);
}

.mud-theme-dark .login-card,
.mud-theme-dark .forgot-password-card {
    background: var(--mud-palette-surface) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.mud-theme-dark .login-card:hover,
.mud-theme-dark .forgot-password-card:hover {
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15) !important;
}

.mud-theme-dark .login-header,
.mud-theme-dark .forgot-password-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%) !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .modern-input .mud-input-root {
    background: var(--mud-palette-surface) !important;
    border: 2px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.mud-theme-dark .modern-input .mud-input-root:hover {
    border-color: rgba(37, 99, 235, 0.35) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15) !important;
}

.mud-theme-dark .modern-input .mud-input-root.mud-input-root-focused {
    border-color: var(--mud-palette-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .divider {
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.2) 50%, transparent 100%) !important;
}

.mud-theme-dark .forgot-password-section,
.mud-theme-dark .back-to-login-section {
    background: rgba(37, 99, 235, 0.1) !important;
}

.mud-theme-dark .forgot-password-section:hover,
.mud-theme-dark .back-to-login-section:hover {
    background: rgba(37, 99, 235, 0.15) !important;
}

@media (max-width: 767px) {
    .login-page,
    .forgot-password-page {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .login-container,
    .forgot-password-container {
        max-width: 100%;
    }
    
    .login-card,
    .forgot-password-card {
        border-radius: 16px;
    }
    
    .login-header,
    .forgot-password-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .login-logo,
    .forgot-password-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        border-radius: 15px;
    }
    
    .logo-icon {
        font-size: 1.75rem !important;
    }
    
    .login-title,
    .forgot-password-title {
        font-size: 1.75rem !important;
    }
    
    .login-subtitle,
    .forgot-password-subtitle {
        font-size: 0.95rem !important;
    }
    
    .login-form-container,
    .forgot-password-form-container {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .modern-input .mud-input-root input {
        padding: 14px 18px 14px 44px !important;
        font-size: 0.95rem !important;
    }
    
    .input-icon {
        left: 14px;
        font-size: 1.1rem !important;
    }
    
    .modern-input .mud-input-label {
        transform: translateX(44px) !important;
        font-size: 0.9rem !important;
    }
    
    .login-button,
    .forgot-password-button {
        height: 48px !important;
        font-size: 0.95rem !important;
        border-radius: 12px !important;
    }
    
    .login-footer,
    .forgot-password-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .forgot-password-section,
    .back-to-login-section {
        padding: 0.75rem;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .login-page,
    .forgot-password-page {
        padding: 0.25rem;
        padding-top: 1rem;
    }
    
    .login-header,
    .forgot-password-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .login-logo,
    .forgot-password-logo {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .logo-icon {
        font-size: 1.5rem !important;
    }
    
    .login-title,
    .forgot-password-title {
        font-size: 1.5rem !important;
    }
    
    .login-subtitle,
    .forgot-password-subtitle {
        font-size: 0.9rem !important;
    }
    
    .login-form-container,
    .forgot-password-form-container {
        padding: 1rem;
    }
    
    .modern-input .mud-input-root input {
        padding: 12px 16px 12px 40px !important;
        font-size: 0.9rem !important;
    }
    
    .input-icon {
        left: 12px;
        font-size: 1rem !important;
    }
    
    .modern-input .mud-input-label {
        transform: translateX(40px) !important;
        font-size: 0.85rem !important;
    }
    
    .login-button,
    .forgot-password-button {
        height: 44px !important;
        font-size: 0.9rem !important;
        border-radius: 10px !important;
    }
    
    .login-footer,
    .forgot-password-footer {
        padding: 0 1rem 1rem;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.modern-input .mud-input-root.mud-input-error {
    animation: shake 0.5s ease-in-out;
    border-color: var(--mud-palette-error) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}
.listing-container {
    background: #f5f7fa !important;
}

.listing-header {
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
}

.listing-content {
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
}

.apartments-avatar {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
}

.buildings-avatar {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
}

.payments-avatar {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%) !important;
}

.managers-avatar {
    background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%) !important;
}

.issues-avatar {
    background: linear-gradient(135deg, #F44336 0%, #FF7961 100%) !important;
}

.cost-avatar {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%) !important;
}

.invoice-avatar {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%) !important;
}

.serviceprovider-avatar {
    background: linear-gradient(135deg, #009688 0%, #4DB6AC 100%) !important;
}

.announcements-avatar {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%) !important;
}

.proposal-avatar {
    background: linear-gradient(135deg, #F48FB1 0%, #F8BBD0 100%) !important;
}

.apartments-title {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.buildings-title {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.payments-title {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.managers-title {
    background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.issues-title {
    background: linear-gradient(135deg, #F44336 0%, #FF7961 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.cost-title {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.invoice-title {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.serviceprovider-title {
    background: linear-gradient(135deg, #009688 0%, #4DB6AC 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.announcements-title {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.proposal-title {
    background: linear-gradient(135deg, #F48FB1 0%, #F8BBD0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.apartments-info {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
}

.buildings-info {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
}

.payments-info {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%) !important;
}

.managers-info {
    background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%) !important;
}

.issues-info {
    background: linear-gradient(135deg, #F44336 0%, #FF7961 100%) !important;
}

.cost-info {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%) !important;
}

.invoice-info {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%) !important;
}

.group-info {
    background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%) !important;
}

.serviceprovider-info {
    background: linear-gradient(135deg, #009688 0%, #4DB6AC 100%) !important;
}

.announcements-info {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%) !important;
}

.proposal-info {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%) !important;
}

.apartments-button {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
    color: white !important;
}

.buildings-button {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
    color: white !important;
}

.payments-button {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%) !important;
    color: white !important;
}

.managers-button {
    background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%) !important;
    color: white !important;
}

.issues-button {
    background: linear-gradient(135deg, #F44336 0%, #FF7961 100%) !important;
    color: white !important;
}

.cost-button {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%) !important;
    color: white !important;
}

.invoice-button {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%) !important;
    color: white !important;
}

.serviceprovider-button {
    background: linear-gradient(135deg, #009688 0%, #4DB6AC 100%) !important;
    color: white !important;
}

.announcements-button {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%) !important;
    color: white !important;
}

.proposal-button {
    background: linear-gradient(135deg, #F48FB1 0%, #F8BBD0 100%) !important;
    color: white !important;
}

.mud-theme-dark .listing-container {
    background: #1a1a2e !important;
    min-height: 100vh;
}

.mud-theme-dark .listing-header {
    background: #16213e !important;
    border: 1px solid #1e3a5f !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(20px);
}

.mud-theme-dark .listing-content {
    background: #16213e !important;
    border: 1px solid #1e3a5f !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(20px);
}

.mud-theme-dark .buildings-avatar {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
    box-shadow: 0 4px 15px rgba(190, 24, 93, 0.4) !important;
}

.mud-theme-dark .apartments-avatar {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%) !important;
    box-shadow: 0 4px 15px rgba(126, 34, 206, 0.4) !important;
}

.mud-theme-dark .payments-avatar {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%) !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4) !important;
}

.mud-theme-dark .managers-avatar {
    background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

.mud-theme-dark .issues-avatar {
    background: linear-gradient(135deg, #F44336 0%, #FF7961 100%) !important;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4) !important;
}

.mud-theme-dark .cost-avatar {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%) !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4) !important;
}

.mud-theme-dark .invoice-avatar {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4) !important;
}

.mud-theme-dark .serviceprovider-avatar {
    background: linear-gradient(135deg, #009688 0%, #4DB6AC 100%) !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4) !important;
}

.mud-theme-dark .announcements-avatar {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
}

.mud-theme-dark .proposal-avatar {
    background: linear-gradient(135deg, #F48FB1 0%, #F8BBD0 100%) !important;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4) !important;
}

.mud-theme-dark .apartments-info,
.mud-theme-dark .buildings-info,
.mud-theme-dark .payments-info,
.mud-theme-dark .managers-info,
.mud-theme-dark .issues-info,
.mud-theme-dark .cost-info,
.mud-theme-dark .invoice-info,
.mud-theme-dark .serviceprovider-info,
.mud-theme-dark .announcements-info,
.mud-theme-dark .proposal-info {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.mud-theme-dark .mud-table {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table-root {
    background-color: #16213e !important;
}

.mud-theme-dark table.mud-table-root {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table-container {
    background-color: #16213e !important;
}

.mud-theme-dark div.mud-table-container {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table-cell {
    background-color: transparent !important;
    color: #F8FAFC !important;
    border-bottom-color: #1e3a5f !important;
}

.mud-theme-dark .mud-table-head .mud-table-cell {
    background-color: #1e3a5f !important;
    color: #F8FAFC !important;
    font-weight: 600;
    border-bottom-color: #2563EB !important;
}

.mud-theme-dark .mud-table-row {
    background-color: #6366f1 !important;
}

    .mud-theme-dark .mud-table-row:hover {
        background-color: #162456 !important;
    }

.mud-theme-dark .mud-data-grid {
    background-color: transparent !important;
}

.mud-theme-dark .mud-data-grid-container {
    background-color: transparent !important;
}

.mud-theme-dark .mud-data-grid-root {
    background-color: transparent !important;
}

.mud-theme-dark .mud-table-pagination .mud-icon-button {
    color: #94a3b8 !important;
    background: rgba(37, 99, 235, 0.1) !important;
    border: 1.5px solid rgba(37, 99, 235, 0.2) !important;
}

.mud-theme-dark .mud-table-pagination .mud-icon-button:not(:disabled):hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 
        0 6px 16px rgba(99, 102, 241, 0.4),
        0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}

.mud-theme-dark .mud-table-pagination .mud-icon-button:disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    background: rgba(37, 99, 235, 0.05) !important;
    color: #475569 !important;
}

.mud-theme-dark .mud-data-grid .mud-table-body .mud-table-row {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mud-theme-dark .mud-data-grid .mud-table-body .mud-table-row:hover .mud-table-cell {
    color: #8ec5ff !important;
    background-color: #162456 !important;
    transition: color 0.3s ease, background-color 0.3s ease;
}


.mud-table-loading {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table-empty {
    background-color: #16213e !important;
    color: #B0BEC5 !important;
    padding: 3rem !important;
    text-align: center !important;
    font-size: 1.1rem !important;
}
.mud-table-empty {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    padding: 3rem 2rem !important;
    text-align: center !important;
    border-radius: 12px !important;
    margin: 1rem !important;
    color: #475569 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

.mud-theme-dark .mud-table-empty {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border-left: 2px dashed #475569 !important;
    border-right: 2px dashed #475569 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 12px 12px 12px 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    color: #cbd5e1 !important;
}

.mud-theme-dark .mud-table-empty-row,
.mud-theme-dark .mud-table-empty-row td,
.mud-theme-dark .mud-table tbody .mud-table-row-empty,
.mud-theme-dark .mud-table tbody .mud-table-row-empty td {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    color: #cbd5e1 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    padding: 3rem 2rem !important;
    border-left: 2px dashed #475569 !important;
    border-right: 2px dashed #475569 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 12px 12px 12px 12px !important;
}

.mud-theme-dark tbody.mud-table-body,
.mud-theme-dark tbody.mud-table-body tr,
.mud-theme-dark tbody.mud-table-body td {
    background-color: #16213e !important;
    color: #cbd5e1 !important;
}

.mud-theme-dark .mud-progress-circular circle {
    stroke: #2563EB !important;
}

.mud-theme-dark .mud-table-pagination {
    color: #F8FAFC !important;
    border-top: 1px solid #1e3a5f !important;
}

.mud-theme-dark .mud-table-foot {
    background-color: #16213e !important;
}

.mud-theme-dark tfoot.mud-table-foot {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table-pagination-caption {
    color: #B0BEC5 !important;
}

.mud-theme-dark .mud-table-pagination-select {
    color: #F8FAFC !important;
    border: 1px solid #2563EB !important;
}

.mud-theme-dark .mud-table-pagination-select .mud-input {
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-table-pagination-actions button {
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-table-pagination-actions button:disabled {
    color: #616161 !important;
}

.mud-theme-dark .mud-table-pagination-toolbar {
    background-color: transparent !important;
}

.mud-theme-dark .mud-table-pagination-spacer {
    background-color: transparent !important;
}

.mud-theme-dark .mud-table-pagination-display-text {
    color: #B0BEC5 !important;
}

.mud-theme-dark .listing-content * {
    background-color: transparent !important;
}

.mud-theme-dark .listing-content .mud-table-pagination,
.mud-theme-dark .listing-content .mud-table,
.mud-theme-dark .listing-content .mud-table-root,
.mud-theme-dark .listing-content .mud-table-container {
    background-color: #16213e !important;
}

.mud-theme-dark .listing-content .mud-table-pagination-select,
.mud-theme-dark .listing-content .mud-input-root {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .listing-content .mud-input-outlined .mud-input-root,
.mud-theme-dark .listing-content .mud-input-slot,
.mud-theme-dark .listing-content .mud-input {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .listing-content .mud-text-field,
.mud-theme-dark .listing-content .mud-input-control,
.mud-theme-dark .listing-content input {
    background-color: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark .listing-content .mud-paper,
.mud-theme-dark .listing-content .mud-paper-square,
.mud-theme-dark .listing-content div[class*="mud-"] {
    background-color: transparent !important;
}

.mud-theme-dark .listing-content .mud-table-head .mud-table-cell {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .listing-content .mud-table-empty,
.mud-theme-dark .listing-content .mud-table-empty-row,
.mud-theme-dark .listing-content .mud-table-empty-row td,
.mud-theme-dark .listing-content .mud-table tbody .mud-table-row-empty,
.mud-theme-dark .listing-content .mud-table tbody .mud-table-row-empty td {
    background-color: #16213e !important;
    color: #B0BEC5 !important;
}

.mud-theme-dark .mud-toolbar {
    background-color: transparent !important;
}

.mud-theme-dark .mud-input {
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-input-root {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .mud-input-outlined {
    border-color: #2563EB !important;
}

.mud-theme-dark .mud-input-outlined:hover {
    border-color: #60A5FA !important;
}

.mud-theme-dark .mud-input-outlined.mud-input-adorned-end .mud-input-root {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .mud-table-head .mud-input-root {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table-head .mud-input-outlined {
    border-color: #2563EB !important;
}

.mud-theme-dark .mud-paper {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-paper.pa-4,
.mud-theme-dark .mud-paper.pa-6,
.mud-theme-dark .mud-paper.pa-8 {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-card {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-menu-paper {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-popover-paper {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-dialog-paper {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table-toolbar {
    background-color: transparent !important;
}

.mud-theme-dark .mud-datagrid {
    background-color: transparent !important;
}

.mud-theme-dark .mud-datagrid-header {
    background-color: transparent !important;
}

.mud-theme-dark .mud-datagrid-footer {
    background-color: transparent !important;
}

.mud-theme-dark div[style*="background"] {
    background-color: #16213e !important;
}

.mud-theme-dark div[style*="background: white"],
.mud-theme-dark div[style*="background: #fff"],
.mud-theme-dark div[style*="background: #ffffff"] {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-table[style*="background: transparent"],
.mud-theme-dark .mud-data-grid[style*="background: transparent"] {
    background-color: #16213e !important;
}

.mud-theme-dark .mud-elevation-0 {
    /*background-color: inherit !important;*/
}

.mud-theme-dark ::-webkit-scrollbar-track {
    background: #0F172A !important;
}

.mud-theme-dark ::-webkit-scrollbar-thumb {
    background: #2563EB !important;
}

.mud-theme-dark ::-webkit-scrollbar-thumb:hover {
    background: #60A5FA !important;
}

.mud-theme-dark .mud-select-input {
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-skeleton {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .mud-skeleton::after {
    background: linear-gradient(90deg, transparent, #2563EB, transparent) !important;
}

.mud-theme-dark .mud-table-loading-progress {
    background-color: transparent !important;
}

.mud-theme-dark .mud-table-loading-progress-linear {
    background-color: #2563EB !important;
}

.mud-theme-dark .mud-overlay {
    background-color: rgba(15, 23, 42, 0.8) !important;
}

.mud-theme-dark .mud-overlay-backdrop {
    background-color: rgba(15, 23, 42, 0.8) !important;
}

.mud-theme-dark .listing-content .mud-table-root > div[style*="background-color: rgb(255, 255, 255)"],
.mud-theme-dark .listing-content .mud-table-root > div[style*="background-color: white"],
.mud-theme-dark .listing-content .mud-table-root > div[style*="background: white"],
.mud-theme-dark .listing-content > div[style*="background-color: rgb(255, 255, 255)"],
.mud-theme-dark .listing-content > div[style*="background: white"] {
    background-color: #16213e !important;
    background: #16213e !important;
}

.mud-theme-dark .listing-content > div:not([class]) {
    background-color: transparent !important;
}

.mud-theme-dark .mud-table-root > div:not([class]) {
    background-color: transparent !important;
}

.mud-theme-dark .mud-progress-circular {
    color: #2563EB !important;
}

.mud-theme-dark .mud-progress-linear {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .mud-chip {
    background-color: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-chip.mud-chip-filled.mud-chip-color-success {
    background-color: #15803d !important;
    color: #dcfce7 !important;
}

.mud-theme-dark .mud-chip.mud-chip-filled.mud-chip-color-warning {
    background-color: #b45309 !important;
    color: #fef3c7 !important;
}

.mud-theme-dark .mud-table-head input.mud-input-slot,
.mud-theme-dark .mud-table-head .mud-input-slot,
.mud-theme-dark .mud-table-head .mud-input-root,
.mud-theme-dark .mud-table-head input[type="text"],
.mud-theme-dark .mud-table-head input[type="number"] {
    background-color: #1e3a5f !important;
    background: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark input.mud-input-slot.mud-input-root.mud-input-root-text {
    background-color: #1e3a5f !important;
    background: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark input.mud-input-slot.mud-input-root.mud-input-root-text:focus,
.mud-theme-dark input.mud-input-root-text:focus {
    background-color: #1e3a5f !important;
    background: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark input.mud-input-slot.mud-input-root.mud-input-root-outlined,
.mud-theme-dark .mud-table-head input.mud-input-root-outlined {
    background-color: #1e3a5f !important;
    background: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-table-head input:focus,
.mud-theme-dark .mud-table-head input:active,
.mud-theme-dark input.mud-input-slot:focus,
.mud-theme-dark input.mud-input-root:focus,
.mud-theme-dark input.mud-input-root-outlined:focus,
.mud-theme-dark input.mud-input-slot.mud-input-root.mud-input-root-outlined:focus,
.mud-theme-dark .mud-table-head input.mud-input-slot:focus,
.mud-theme-dark .mud-table-head input[type="text"]:focus {
    background-color: #1e3a5f !important;
    background: #1e3a5f !important;
    color: #F8FAFC !important;
    outline: none !important;
}

.mud-theme-dark .mud-input-outlined.mud-input-outlined-shrink .mud-input-root,
.mud-theme-dark .mud-input-outlined:focus-within .mud-input-root,
.mud-theme-dark .mud-input-control:focus-within input,
.mud-theme-dark .mud-input-control-input-container:focus-within input {
    background-color: #1e3a5f !important;
}

.mud-theme-dark .mud-input-control-input-container,
.mud-theme-dark .mud-input-outlined .mud-input-control {
    background-color: transparent !important;
}

.mud-theme-dark .mud-table-head input[style],
.mud-theme-dark input.mud-input-root-outlined[style] {
    background-color: #1e3a5f !important;
    background: #1e3a5f !important;
}

.mud-theme-dark .mud-table-head input::placeholder {
    color: #B0BEC5 !important;
    opacity: 0.7 !important;
}

.mud-theme-dark .mud-button-root {
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-icon-button {
    color: #F8FAFC !important;
}

.mud-theme-dark .apartments-avatar {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4) !important;
}
.mud-theme-dark .buildings-avatar {
    background: linear-gradient(135deg, #be185d 0%, #ec4899 100%) !important;
    box-shadow: 0 4px 15px rgba(190, 24, 93, 0.4) !important;
}

.mud-theme-dark .payments-avatar {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4) !important;
}

.mud-theme-dark .managers-avatar {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4) !important;
}

.mud-theme-dark .issues-avatar {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4) !important;
}

.mud-theme-dark .cost-avatar {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4) !important;
}

.mud-theme-dark .invoice-avatar {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

.mud-theme-dark .serviceprovider-avatar {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4) !important;
}

.mud-theme-dark .announcements-avatar {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4) !important;
}

.mud-theme-dark .proposal-avatar {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%) !important;
    box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4) !important;
}

.mud-theme-dark .apartments-title {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .buildings-title {
    background: linear-gradient(135deg, #be185d 0%, #ec4899 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .payments-title {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .managers-title {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .issues-title {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .cost-title {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .invoice-title {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .serviceprovider-title {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .announcements-title {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .proposal-title {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mud-theme-dark .apartments-button {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.35) !important;
}

.mud-theme-dark .buildings-button {
    background: linear-gradient(135deg, #be185d 0%, #ec4899 100%) !important;
    box-shadow: 0 4px 15px rgba(190, 24, 93, 0.35) !important;
}

.mud-theme-dark .payments-button {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35) !important;
}

.mud-theme-dark .managers-button {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.35) !important;
}

/* Issues */
.mud-theme-dark .issues-button {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35) !important;
}

.mud-theme-dark .cost-button {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35) !important;
}

.mud-theme-dark .invoice-button {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35) !important;
}

.mud-theme-dark .serviceprovider-button {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.35) !important;
}

.mud-theme-dark .announcements-button {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35) !important;
}

.mud-theme-dark .proposal-button {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%) !important;
    box-shadow: 0 4px 15px rgba(219, 39, 119, 0.35) !important;
}

.mud-theme-dark .buildings-info {
    background: linear-gradient(135deg, #be185d 0%, #ec4899 100%) !important;
    box-shadow: 0 4px 20px rgba(190, 24, 93, 0.3) !important;
}

.mud-theme-dark .apartments-info {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3) !important;
}

.mud-theme-dark .payments-info {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%) !important;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3) !important;
}

.mud-theme-dark .managers-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.3) !important;
}

.mud-theme-dark .issues-info {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3) !important;
}

.mud-theme-dark .cost-info {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.3) !important;
}

.mud-theme-dark .invoice-info {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3) !important;
}

.mud-theme-dark .serviceprovider-info {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3) !important;
}

.mud-theme-dark .announcements-info {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.3) !important;
}

.mud-theme-dark .proposal-info {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%) !important;
    box-shadow: 0 4px 20px rgba(219, 39, 119, 0.3) !important;
}

.mud-theme-dark .listing-add-button:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}
.mud-theme-dark .mud-container[style*="linear-gradient(135deg, #e0e7ff"] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.5) !important;
}

.mud-theme-dark .gradient-card,
.mud-theme-dark .mud-paper[style*="linear-gradient(90deg, #f1f5f9"],
.mud-theme-dark .mud-paper[style*="linear-gradient(120deg, #f0fdfa"] {
    background: #16213e !important;
    border: 1px solid #1e3a5f !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.mud-theme-dark .mud-input-root[style*="background: #fff"],
.mud-theme-dark .mud-text-field[style*="background: #fff"] {
    background: #1e3a5f !important;
}

.mud-theme-dark .mud-input-outlined .mud-input {
    background: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-input-outlined input,
.mud-theme-dark .mud-input-outlined textarea {
    background-color: #1e3a5f !important;
    color: #F8FAFC !important;
}

.mud-theme-dark .mud-paper .mud-typography[style*="color: #1e293b"] {
    color: #F8FAFC !important;
}

.mud-theme-dark .gradient-card .mud-icon-root,
.mud-theme-dark .mud-paper .mud-icon-root,
.mud-theme-dark .mud-icon,
.mud-theme-dark .mud-icon-root {
    color: white !important;
}

.mud-button-filled.listing-add-button.apartments-button {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.apartments-button:hover {
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.buildings-button {
    background: linear-gradient(135deg, #be185d 0%, #ec4899 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.buildings-button:hover {
    box-shadow: 0 6px 20px rgba(190, 24, 93, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.payments-button {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.payments-button:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.managers-button {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.managers-button:hover {
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.issues-button {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.issues-button:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.cost-button {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.cost-button:hover {
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.invoice-button {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.invoice-button:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.serviceprovider-button {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.serviceprovider-button:hover {
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.announcements-button {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.announcements-button:hover {
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled.listing-add-button.proposal-button {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%) !important;
    color: white !important;
}

.mud-button-filled.listing-add-button.proposal-button:hover {
    box-shadow: 0 6px 20px rgba(219, 39, 119, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.apartments-button {
    background: linear-gradient(135deg, #0f3460 0%, #16549f 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.apartments-button:hover {
    box-shadow: 0 6px 20px rgba(22, 84, 159, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.buildings-button {
    background: linear-gradient(135deg, #6b1450 0%, #a71e4e 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.buildings-button:hover {
    box-shadow: 0 6px 20px rgba(167, 30, 78, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.payments-button {
    background: linear-gradient(135deg, #7c2d6b 0%, #a855f7 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.payments-button:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.managers-button {
    background: linear-gradient(135deg, #04617e 0%, #0891b2 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.managers-button:hover {
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.issues-button {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.issues-button:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.cost-button {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.cost-button:hover {
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.invoice-button {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.invoice-button:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.serviceprovider-button {
    background: linear-gradient(135deg, #0a5f5f 0%, #0d9488 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.serviceprovider-button:hover {
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.announcements-button {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.announcements-button:hover {
    box-shadow: 0 6px 20px rgba(194, 65, 12, 0.6) !important;
    transform: translateY(-2px) !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.proposal-button {
    background: linear-gradient(135deg, #9d174d 0%, #be185d 100%) !important;
    color: white !important;
}

.mud-theme-dark .mud-button-filled.listing-add-button.proposal-button:hover {
    box-shadow: 0 6px 20px rgba(190, 24, 93, 0.6) !important;
    transform: translateY(-2px) !important;
}

.debt-row-highlight {
    background-color: rgba(var(--mud-palette-error-rgb), 0.06) !important;
}

/* ═══════════════════════════════════════════════════════════════
   REPORT PAGES – Shared Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Report Header ──────────────────────────────────────────── */
.report-header {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 60%, #1e3a5f 100%);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.report-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.report-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 8%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.report-header-title {
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.report-header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.report-header-actions {
    position: relative;
    z-index: 1;
}

/* ── KPI Cards ──────────────────────────────────────────────── */
.kpi-card {
    border-radius: 14px !important;
    padding: 1.25rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    border-left: 4px solid transparent;
    height: 100%;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.kpi-card-highlight {
    background: var(--mud-palette-error-hover);
}

.kpi-card .kpi-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-card .kpi-value {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}

.kpi-card .kpi-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.kpi-card .kpi-subtitle {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ── Chart Containers ───────────────────────────────────────── */
.report-chart-container {
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--mud-palette-surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.report-chart-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.report-chart-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ── Table Section ──────────────────────────────────────────── */
.report-table-section {
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem;
}

.report-table-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── Extra Metrics Row ──────────────────────────────────────── */
.report-mini-card {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Progress bar in table cells ────────────────────────────── */
.table-progress-bar {
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ── Overdue severity chips ─────────────────────────────────── */
.severity-low {
    background-color: var(--mud-palette-warning) !important;
    color: white !important;
}

.severity-medium {
    background-color: #F97316 !important;
    color: white !important;
}

.severity-high {
    background-color: var(--mud-palette-error) !important;
    color: white !important;
}

.severity-critical {
    background-color: #991B1B !important;
    color: white !important;
}

/* ── Dashboard report cards ─────────────────────────────────── */
.report-dashboard-section-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
    border-left: 3px solid var(--mud-palette-primary);
    padding-left: 0.75rem;
}

/* ── Dark Mode Overrides ────────────────────────────────────── */
.mud-theme-dark .report-header {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 60%, #172554 100%);
}

.mud-theme-dark .report-chart-container {
    background: var(--mud-palette-surface);
    border-color: rgba(37, 99, 235, 0.15);
}

.mud-theme-dark .kpi-card {
    border-color: rgba(37, 99, 235, 0.2);
}

.mud-theme-dark .report-mini-card {
    border-color: rgba(37, 99, 235, 0.15);
}

/* ── Mobile Responsive Overrides ≤600px ─────────────────────── */
@media (max-width: 600px) {

    /* 1. Container and section padding */
    .mud-container.listing-container    { padding: 8px !important; }
    .listing-header                     { padding: 12px !important; margin-bottom: 12px !important; border-radius: 16px !important; }
    .listing-content                    { padding: 8px !important; border-radius: 16px !important; overflow: visible !important; }
    .mud-main-content                   { padding: 8px !important; }

    /* 2. Hero avatar scale-down */
    .listing-avatar                     { width: 48px !important; height: 48px !important; }
    .listing-avatar .mud-svg-icon,
    .listing-avatar .mud-icon-root      { font-size: 1.5rem !important; }

    /* 3. Title scale-down (gradient clip removed on mobile) */
    .listing-title                      { font-size: 1.25rem !important; -webkit-text-fill-color: initial !important; background: none !important; color: var(--mud-palette-primary) !important; }
    .mud-typography-h3                  { font-size: 1.3rem !important; }

    /* 4. Hide decorative right-side info panels */
    .cost-info, .issues-info, .payments-info,
    .invoice-info, .apartments-info,
    .serviceprovider-info, .announcements-info, .group-info { display: none !important; }

    /* 5. Touch targets — action icon buttons */
    .mud-data-grid .mud-table-body .mud-table-cell .mud-icon-button {
        width: 44px !important; height: 44px !important; min-width: 44px !important; margin: 0 1px !important;
    }

    /* 6. Actions column width */
    .mud-data-grid .mud-table-head .mud-table-cell:last-child,
    .mud-data-grid .mud-table-body .mud-table-cell:last-child { min-width: 140px !important; width: 140px !important; }

    /* 7. Pagination buttons */
    .mud-data-grid .mud-table-pagination .mud-icon-button { width: 44px !important; height: 44px !important; }

    /* 8. Table cell density */
    .mud-data-grid .mud-table-head .mud-table-cell,
    .mud-data-grid .mud-table-body .mud-table-cell { padding: 10px 8px !important; font-size: 0.813rem !important; }
    .mud-data-grid .mud-table-toolbar { padding: 12px 16px !important; }

    /* 9. iOS momentum scroll in table */
    .mud-data-grid .mud-table-container { -webkit-overflow-scrolling: touch !important; overscroll-behavior-x: contain !important; }

    /* 10. CSS-only column hiding for report tables */
    .hide-on-mobile { display: none !important; }

    /* 11. Report filter row hiding */
    .report-table-section .mud-data-grid .mud-table-filter-row { display: none !important; }
}

/* ── Desktop padding restore at ≥960px ──────────────────────── */
@media (min-width: 960px) {
    .listing-container { padding: 24px !important; }
    .listing-header    { padding: 32px !important; }
    .listing-content   { padding: 24px !important; }
}

/* ── Print Styles ───────────────────────────────────────────── */
@media print {
    .mud-appbar,
    .mud-drawer,
    .mud-snackbar-provider,
    .mud-overlay,
    .no-print {
        display: none !important;
    }

    .mud-main-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    .report-header {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .mud-chart,
    .mud-table {
        page-break-inside: avoid;
    }

    .kpi-card {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}