@import '_content/esmartx.ui/esmartx.ui.h4im4rg4v6.bundle.scp.css';

/* _content/esmartx.web/Components/Layout/ProtectedLayout.razor.rz.scp.css */
/* ==========================================================================
   ProtectedLayout - Scoped Component Styles
   Modern SaaS Dashboard Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   Mobile Menu Toggle - Hidden on desktop, visible on tablet/mobile
   -------------------------------------------------------------------------- */
.mobile-menu-toggle[b-qh01r3rhye] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--radius-md, 12px);
    cursor: pointer;
    color: var(--text-secondary, #6b7280);
    transition: all 200ms cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover[b-qh01r3rhye] {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary, #111827);
}

.mobile-menu-toggle:active[b-qh01r3rhye] {
    transform: scale(0.9);
}

.mobile-menu-toggle .anticon[b-qh01r3rhye] {
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   Sidebar Overlay - Backdrop for mobile sidebar
   -------------------------------------------------------------------------- */
.sidebar-overlay[b-qh01r3rhye] {
    display: none;
}

/* --------------------------------------------------------------------------
   Responsive: Large Desktop (> 1200px) — default styles apply
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Responsive: Small Desktop / Large Tablet (992px – 1200px)
   Compact nav tabs, tighter header spacing
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .modern-header[b-qh01r3rhye] {
        padding: 0 20px;
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (768px – 992px)
   Sidebar becomes off-canvas overlay, header simplifies
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    /* Sidebar: Fixed overlay off-canvas with slide transition */
    .modern-sidebar[b-qh01r3rhye] {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
        transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1),
                    box-shadow 300ms cubic-bezier(0.25, 1, 0.5, 1);
    }

    .modern-sidebar.collapsed[b-qh01r3rhye] {
        transform: translateX(-100%);
        box-shadow: none;
    }

    /* Show overlay backdrop when sidebar is open */
    .sidebar-overlay[b-qh01r3rhye] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        animation: overlayFadeIn-b-qh01r3rhye 250ms cubic-bezier(0.25, 1, 0.5, 1) both;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle[b-qh01r3rhye] {
        display: flex;
    }

    /* Header: Compact */
    .modern-header[b-qh01r3rhye] {
        padding: 0 16px;
        gap: 12px;
    }

    /* Hide brand section — redundant with sidebar */
    .header-left[b-qh01r3rhye] {
        display: none;
    }

    /* Content: Reduced padding */
    .modern-content[b-qh01r3rhye] {
        padding: 12px 20px 16px;
    }

    /* Collapse toggle in sidebar: hide on mobile (use overlay to close) */
    .collapse-toggle[b-qh01r3rhye] {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Mobile (480px – 768px)
   Touch-optimized targets, simplified header
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .modern-header[b-qh01r3rhye] {
        padding: 0 12px;
        gap: 8px;
        height: 56px;
    }

    .header-actions[b-qh01r3rhye] {
        gap: 2px;
    }

    .header-btn[b-qh01r3rhye] {
        width: 36px;
        height: 36px;
    }

    .nav-all-btn[b-qh01r3rhye] {
        width: 34px;
        height: 34px;
    }

    .modern-content[b-qh01r3rhye] {
        padding: 8px 12px 16px;
    }

    /* Breadcrumb: tighter on mobile */
    .page-breadcrumb[b-qh01r3rhye] {
        margin: 4px 0 8px 0;
    }

    /* Unauthorized card: full width on mobile */
    .unauthorized-card[b-qh01r3rhye] {
        margin: 40px 16px;
        padding: 32px 24px;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Small Mobile (< 480px)
   Minimum viable layout, dropdown-only navigation
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .modern-header[b-qh01r3rhye] {
        padding: 0 8px;
        gap: 6px;
        height: 52px;
    }

    /* Make the "all modules" dropdown button more prominent */
    .nav-all-btn[b-qh01r3rhye] {
        width: 40px;
        height: 40px;
        border-radius: var(--radius-lg, 16px);
    }

    /* Wrapper adjusts */
    .top-nav-wrapper[b-qh01r3rhye] {
        flex: 0 0 auto;
    }

    .mobile-menu-toggle[b-qh01r3rhye] {
        width: 36px;
        height: 36px;
    }

    .header-btn[b-qh01r3rhye] {
        width: 34px;
        height: 34px;
    }

    .header-btn .anticon[b-qh01r3rhye] {
        font-size: 1rem;
    }

    .modern-content[b-qh01r3rhye] {
        padding: 8px 8px 12px;
    }

    /* Unauthorized card: edge-to-edge on small phones */
    .unauthorized-card[b-qh01r3rhye] {
        margin: 24px 8px;
        padding: 24px 16px;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Landscape Mobile
   Shorter header, maximize vertical content space
   -------------------------------------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
    .modern-header[b-qh01r3rhye] {
        height: 48px;
    }

    .mobile-menu-toggle[b-qh01r3rhye] {
        width: 36px;
        height: 36px;
    }

    .header-btn[b-qh01r3rhye] {
        width: 34px;
        height: 34px;
    }

    .modern-content[b-qh01r3rhye] {
        padding: 6px 16px 8px;
    }

    /* Sidebar: narrower in landscape to save horizontal space */
    .modern-sidebar[b-qh01r3rhye] {
        width: 240px;
    }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

/* Animation for sidebar toggle — smooth exponential deceleration */
[b-qh01r3rhye] .modern-sidebar {
    transition: width 400ms cubic-bezier(0.16, 1, 0.3, 1),
                padding 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth transitions for menu items */
[b-qh01r3rhye] .modern-sidebar-menu .ant-menu-item,
[b-qh01r3rhye] .modern-sidebar-menu .ant-menu-submenu-title {
    transition: all 200ms cubic-bezier(0.25, 1, 0.5, 1);
}

[b-qh01r3rhye] .modern-sidebar-menu .ant-menu-item:active,
[b-qh01r3rhye] .modern-sidebar-menu .ant-menu-submenu-title:active {
    transform: scale(0.98);
}

@keyframes fadeIn-b-qh01r3rhye {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes overlayFadeIn-b-qh01r3rhye {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Accessibility: Focus styles
   -------------------------------------------------------------------------- */
[b-qh01r3rhye] .header-btn:focus-visible,
[b-qh01r3rhye] .collapse-toggle:focus-visible,
[b-qh01r3rhye] .mobile-menu-toggle:focus-visible,
[b-qh01r3rhye] .nav-all-btn:focus-visible {
    outline: 2px solid var(--esmart-primary);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    [b-qh01r3rhye] .modern-sidebar {
        transition: none;
    }

    [b-qh01r3rhye] .modern-sidebar-menu .ant-menu-item,
    [b-qh01r3rhye] .modern-sidebar-menu .ant-menu-submenu-title {
        transition: none;
        transform: none !important;
    }

    .sidebar-overlay[b-qh01r3rhye] {
        animation: none;
    }

    .nav-all-btn[b-qh01r3rhye],
    .mobile-menu-toggle[b-qh01r3rhye],
    .header-btn[b-qh01r3rhye],
    [b-qh01r3rhye] .collapse-toggle,
    [b-qh01r3rhye] .team-toggle,
    [b-qh01r3rhye] .team-logo,
    [b-qh01r3rhye] .team-selector {
        transition: none;
        animation: none;
    }

    [b-qh01r3rhye] .collapse-toggle .anticon,
    [b-qh01r3rhye] .team-toggle .anticon {
        transition: none;
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   Print styles
   -------------------------------------------------------------------------- */
@media print {
    .modern-sidebar[b-qh01r3rhye],
    .modern-header[b-qh01r3rhye],
    .sidebar-overlay[b-qh01r3rhye] {
        display: none !important;
    }

    /* overrides height:100vh, overflow:hidden */
    .modern-layout[b-qh01r3rhye] {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* overrides flex column with min-height:0 */
    .modern-main[b-qh01r3rhye] {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    /* overrides overflow-y:auto */
    .modern-content[b-qh01r3rhye] {
        padding: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}
/* _content/esmartx.web/Components/Pages/ChangePassword.razor.rz.scp.css */
/* ChangePassword Page - Matches Login.razor visual style */

/* ==================== Page Layout ==================== */

.cp-page[b-tb8nvhotqg] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ==================== Background Shapes ==================== */

.bg-shapes[b-tb8nvhotqg] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape[b-tb8nvhotqg] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1[b-tb8nvhotqg] {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    bottom: -150px;
    left: -100px;
    animation: float1-b-tb8nvhotqg 25s ease-in-out infinite;
}

.shape-2[b-tb8nvhotqg] {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fb923c, #ea580c, #c2410c);
    top: -100px;
    right: -50px;
    animation: float2-b-tb8nvhotqg 20s ease-in-out infinite;
}

.shape-3[b-tb8nvhotqg] {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #22d3d1, #14b8a6, #0d9488);
    top: 10%;
    left: 5%;
    animation: float3-b-tb8nvhotqg 22s ease-in-out infinite;
}

.shape-4[b-tb8nvhotqg] {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    bottom: 10%;
    right: 10%;
    animation: float4-b-tb8nvhotqg 18s ease-in-out infinite;
}

.shape-5[b-tb8nvhotqg] {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    top: 40%;
    right: 25%;
    animation: float5-b-tb8nvhotqg 23s ease-in-out infinite;
}

@keyframes float1-b-tb8nvhotqg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2-b-tb8nvhotqg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float3-b-tb8nvhotqg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 25px) scale(0.9); }
}

@keyframes float4-b-tb8nvhotqg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

@keyframes float5-b-tb8nvhotqg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

/* ==================== Main Container ==================== */

.cp-container[b-tb8nvhotqg] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== Logo Section ==================== */

.logo-section[b-tb8nvhotqg] {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo[b-tb8nvhotqg] {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
}

.brand-logo[b-tb8nvhotqg]  .logo-icon {
    font-size: 36px;
    color: white;
}

.brand-title[b-tb8nvhotqg] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-tagline[b-tb8nvhotqg] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== Card ==================== */

.cp-card[b-tb8nvhotqg] {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.04);
}

/* ==================== Form Content ==================== */

.form-content[b-tb8nvhotqg] {
    width: 100%;
}

.form-header[b-tb8nvhotqg] {
    text-align: center;
    margin-bottom: 28px;
}

.form-title[b-tb8nvhotqg] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.form-subtitle[b-tb8nvhotqg] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==================== Form Styling ==================== */

[b-tb8nvhotqg] .cp-form .ant-form-item {
    margin-bottom: 20px;
}

[b-tb8nvhotqg] .cp-form .ant-form-item-label > label {
    color: #334155;
    font-weight: 500;
    font-size: 13px;
    height: auto;
    margin-bottom: 6px;
}

[b-tb8nvhotqg] .cp-form .ant-form-item-label > label::before {
    color: #ef4444 !important;
}

[b-tb8nvhotqg] .cp-form .ant-input,
[b-tb8nvhotqg] .cp-form .ant-input-affix-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    transition: all 0.2s ease;
    height: 48px !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
}

[b-tb8nvhotqg] .cp-form .ant-input:hover,
[b-tb8nvhotqg] .cp-form .ant-input-affix-wrapper:hover {
    border-color: #94a3b8 !important;
}

[b-tb8nvhotqg] .cp-form .ant-input:focus,
[b-tb8nvhotqg] .cp-form .ant-input-affix-wrapper:focus,
[b-tb8nvhotqg] .cp-form .ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-tb8nvhotqg] .cp-form .ant-input::placeholder {
    color: #94a3b8 !important;
}

[b-tb8nvhotqg] .cp-form .ant-input-password {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 48px !important;
    padding: 0 16px !important;
}

[b-tb8nvhotqg] .cp-form .ant-input-password:hover {
    border-color: #94a3b8 !important;
}

[b-tb8nvhotqg] .cp-form .ant-input-password.ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-tb8nvhotqg] .cp-form .ant-input-password .ant-input {
    background: transparent !important;
    border: none !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
}

[b-tb8nvhotqg] .cp-form .ant-input-password-icon {
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

[b-tb8nvhotqg] .cp-form .ant-input-password-icon:hover {
    color: #334155;
}

[b-tb8nvhotqg] .cp-form .ant-input-disabled,
[b-tb8nvhotqg] .cp-form .ant-input-affix-wrapper-disabled {
    background: #f1f5f9 !important;
    color: #64748b !important;
    cursor: not-allowed;
}

[b-tb8nvhotqg] .form-submit {
    margin-top: 28px;
    margin-bottom: 0;
}

/* ==================== Buttons ==================== */

[b-tb8nvhotqg] .submit-btn.ant-btn-primary {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-tb8nvhotqg] .submit-btn.ant-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

[b-tb8nvhotqg] .submit-btn.ant-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* ==================== Status Icon (success) ==================== */

.status-icon[b-tb8nvhotqg] {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce-b-tb8nvhotqg 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce-b-tb8nvhotqg {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.status-icon.success[b-tb8nvhotqg] {
    background: rgba(16, 185, 129, 0.1);
}

.status-icon.success[b-tb8nvhotqg]  .anticon {
    font-size: 32px;
    color: #10b981;
}

/* ==================== Password Rules ==================== */

.password-rules[b-tb8nvhotqg] {
    margin-bottom: 8px;
}

[b-tb8nvhotqg] .password-rules .ant-alert {
    border-radius: 12px;
}

/* ==================== Alerts ==================== */

.alert-container[b-tb8nvhotqg] {
    margin-top: 20px;
}

[b-tb8nvhotqg] .alert-container .ant-alert {
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

[b-tb8nvhotqg] .alert-container .ant-alert-message {
    color: #b91c1c;
}

/* ==================== Back Link ==================== */

.back-link[b-tb8nvhotqg] {
    text-align: center;
    margin-top: 20px;
}

.back-link a[b-tb8nvhotqg] {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.back-link a:hover[b-tb8nvhotqg] {
    color: #ea580c;
}

/* ==================== Footer ==================== */

.cp-footer[b-tb8nvhotqg] {
    text-align: center;
    margin-top: 32px;
}

.cp-footer p[b-tb8nvhotqg] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==================== Animations ==================== */

.animate-fade-in[b-tb8nvhotqg] {
    animation: fadeSlideIn-b-tb8nvhotqg 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn-b-tb8nvhotqg {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-shake[b-tb8nvhotqg] {
    animation: shake-b-tb8nvhotqg 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-tb8nvhotqg {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    .cp-page[b-tb8nvhotqg] {
        padding: 16px;
    }

    .cp-container[b-tb8nvhotqg] {
        max-width: 100%;
    }

    .logo-section[b-tb8nvhotqg] {
        margin-bottom: 24px;
    }

    .brand-logo[b-tb8nvhotqg] {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .brand-logo[b-tb8nvhotqg]  .logo-icon {
        font-size: 30px;
    }

    .brand-title[b-tb8nvhotqg] {
        font-size: 26px;
    }

    .cp-card[b-tb8nvhotqg] {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .form-title[b-tb8nvhotqg] {
        font-size: 22px;
    }

    .status-icon[b-tb8nvhotqg] {
        width: 56px;
        height: 56px;
    }

    .status-icon.success[b-tb8nvhotqg]  .anticon {
        font-size: 28px;
    }

    .shape-1[b-tb8nvhotqg], .shape-2[b-tb8nvhotqg] {
        width: 300px;
        height: 300px;
    }

    .shape-3[b-tb8nvhotqg], .shape-4[b-tb8nvhotqg], .shape-5[b-tb8nvhotqg] {
        width: 200px;
        height: 200px;
    }
}

/* ==================== Reduced Motion ==================== */

@media (prefers-reduced-motion: reduce) {
    .shape[b-tb8nvhotqg],
    .animate-fade-in[b-tb8nvhotqg],
    .animate-shake[b-tb8nvhotqg],
    .status-icon[b-tb8nvhotqg] {
        animation: none;
    }

    [b-tb8nvhotqg] .submit-btn.ant-btn-primary:hover:not(:disabled) {
        transform: none;
    }
}
/* _content/esmartx.web/Components/Pages/DocumentProcess/DocumentProcessMaintain.razor.rz.scp.css */
/* ==========================================================================
   Document Process Maintain - Premium Modern Design
   ========================================================================== */

/* ==========================================================================
   1. PAGE CONTAINER & LAYOUT
   ========================================================================== */

.document-maintain-container[b-3wb54v7m2i] {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   2. PAGE HEADER - MODERN TYPOGRAPHY
   ========================================================================== */

.document-maintain-header[b-3wb54v7m2i] {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.document-maintain-loading[b-3wb54v7m2i] {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   SKELETON LOADING - Content-Matched Placeholders
   ========================================================================== */

@keyframes skel-shimmer-b-3wb54v7m2i {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

[b-3wb54v7m2i] .document-maintain-skeleton .skel-block {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 800px 100%;
    animation: skel-shimmer-b-3wb54v7m2i 1.6s ease infinite;
    border-radius: 4px;
}

/* Form item skeleton: label (33%) + input (67%) matching LabelColSpan=8 WrapperColSpan=16 */
[b-3wb54v7m2i] .document-maintain-skeleton .skel-form-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 6px;
}

[b-3wb54v7m2i] .document-maintain-skeleton .skel-label {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    display: flex;
    justify-content: flex-end;
}

[b-3wb54v7m2i] .document-maintain-skeleton .skel-label {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 800px 100%;
    animation: skel-shimmer-b-3wb54v7m2i 1.6s ease infinite;
    border-radius: 4px;
}

[b-3wb54v7m2i] .document-maintain-skeleton .skel-input {
    flex: 1;
    height: 32px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 800px 100%;
    animation: skel-shimmer-b-3wb54v7m2i 1.6s ease infinite;
    border-radius: 8px;
}

/* Button skeleton */
[b-3wb54v7m2i] .document-maintain-skeleton .skel-btn {
    width: 100px;
    height: 32px;
    border-radius: 8px;
}

[b-3wb54v7m2i] .document-maintain-skeleton .skel-btn-primary {
    width: 100px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(90deg, #fde5d5 25%, #fdd5be 37%, #fde5d5 63%);
    background-size: 800px 100%;
    animation: skel-shimmer-b-3wb54v7m2i 1.6s ease infinite;
}

/* Workflow bar skeleton */
[b-3wb54v7m2i] .document-maintain-skeleton .skel-workflow-bar {
    background: linear-gradient(135deg, #fafbfc 0%, #f6f7f9 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

/* Editor skeleton */
[b-3wb54v7m2i] .document-maintain-skeleton .skel-editor {
    max-width: 100%;
    margin-bottom: 8px;
}

/* Table skeleton */
[b-3wb54v7m2i] .document-maintain-skeleton .skel-table {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

[b-3wb54v7m2i] .document-maintain-skeleton .skel-table-header {
    display: flex;
    gap: 16px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #fafbfc 0%, #f6f7f9 100%);
    border-bottom: 2px solid #e8ecf0;
}

[b-3wb54v7m2i] .document-maintain-skeleton .skel-table-row {
    display: flex;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
}

/* Upload zone skeleton */
[b-3wb54v7m2i] .document-maintain-skeleton .skel-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 20px;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
}

/* Skeleton actions row */
[b-3wb54v7m2i] .document-maintain-skeleton .skeleton-actions {
    max-width: none;
}

.document-maintain-title[b-3wb54v7m2i] {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.document-maintain-subtitle[b-3wb54v7m2i] {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* Design mode toggle spacing handled by component */

[b-3wb54v7m2i] .section-card__header .design-gear {
    margin-left: 8px;
}

/* Admin Mode panel */
.admin-mode-panel[b-3wb54v7m2i] {
    margin: 12px 0;
    border: 1px solid #fecaca;
    border-radius: 8px;
    overflow: hidden;
}

.admin-mode-panel__header[b-3wb54v7m2i] {
    background: #fef2f2;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 13px;
    color: #dc2626;
    border-bottom: 1px solid #fecaca;
}

.admin-mode-panel__body[b-3wb54v7m2i] {
    padding: 12px;
}

/* Admin Mode banner */
.admin-mode-banner[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fecaca;
}


/* ==========================================================================
   HERO HEADER
   ========================================================================== */

.doc-hero[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.doc-hero__top[b-3wb54v7m2i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.doc-hero__identity[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.doc-hero__icon[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 18px;
    flex-shrink: 0;
}

[b-3wb54v7m2i] .doc-hero__identity .ant-form-item {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

[b-3wb54v7m2i] .doc-hero__identity .ant-input {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    padding: 4px 10px;
    width: 100%;
    border-radius: 8px;
}

.doc-status-tag[b-3wb54v7m2i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.doc-status-tag.status-new[b-3wb54v7m2i] {
    background: transparent;
    color: #ea580c;
}

.doc-status-tag.status-waiting[b-3wb54v7m2i] {
    background: transparent;
    color: #d97706;
}

.doc-status-tag.status-issue[b-3wb54v7m2i] {
    background: transparent;
    color: #16a34a;
}

.doc-status-tag.status-canceled[b-3wb54v7m2i] {
    background: transparent;
    color: #dc2626;
}

.doc-status-tag.status-inactive[b-3wb54v7m2i] {
    background: transparent;
    color: #64748b;
}

.doc-status-tag.status-obsoleted[b-3wb54v7m2i] {
    background: transparent;
    color: #ea580c;
}


.doc-hero__actions[b-3wb54v7m2i] {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.doc-hero__subject[b-3wb54v7m2i] {
    margin-bottom: 12px;
}

[b-3wb54v7m2i] .doc-hero__subject .ant-form-item {
    margin-bottom: 0;
}

[b-3wb54v7m2i] .doc-hero__subject .ant-input {
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    border-radius: 8px;
}

/* ==========================================================================
   META BAR (tags + badges row at bottom of hero)
   ========================================================================== */

.doc-hero__meta[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
    padding-top: 14px;
}

/* ---- Tag badges ---- */

.doc-hero__tags[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.tag-badge[b-3wb54v7m2i] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 7px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

[b-3wb54v7m2i] .tag-badge__icon {
    font-size: 12px;
    opacity: 0.8;
}

[b-3wb54v7m2i] .tag-add-btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: #94a3b8 !important;
    border: 1px dashed #cbd5e1 !important;
    background: transparent !important;
    transition: all 0.2s ease;
}

[b-3wb54v7m2i] .tag-add-btn:hover {
    color: #475569 !important;
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
}

.tag-popover[b-3wb54v7m2i] {
    padding: 4px;
}

/* ---- Badges row (Private + PL Law) ---- */

.doc-hero__badges[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ---- Unified meta-chip (used for both Private and PL Law) ---- */

.meta-chip[b-3wb54v7m2i] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 8px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.8125rem;
    line-height: 1;
    min-height: 34px;
    transition: all 0.2s ease;
}

.meta-chip:hover[b-3wb54v7m2i] {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

[b-3wb54v7m2i] .meta-chip .ant-checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

[b-3wb54v7m2i] .meta-chip--active .ant-checkbox-wrapper {
    color: #92400e;
}

[b-3wb54v7m2i] .meta-chip__icon {
    font-size: 13px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

[b-3wb54v7m2i] .meta-chip .ant-checkbox {
    top: 0;
}

.meta-chip__label[b-3wb54v7m2i] {
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* -- Active state (Private = ON) -- */

.meta-chip--active[b-3wb54v7m2i] {
    background: #fef3c7;
    border-color: #fbbf24;
}

.meta-chip--active:hover[b-3wb54v7m2i] {
    background: #fde68a;
    border-color: #f59e0b;
}

[b-3wb54v7m2i] .meta-chip--active .meta-chip__icon {
    color: #d97706;
}

.meta-chip--active .meta-chip__label[b-3wb54v7m2i] {
    color: #92400e;
}

/* -- PL Law chip (extends base meta-chip) -- */

.meta-chip--law[b-3wb54v7m2i] {
    cursor: default;
}

[b-3wb54v7m2i] .meta-chip--law .ant-radio-group {
    display: inline-flex;
    gap: 2px;
}

[b-3wb54v7m2i] .meta-chip--law .ant-radio-wrapper {
    font-size: 0.8125rem;
    color: #64748b;
    margin-right: 0;
}

[b-3wb54v7m2i] .meta-chip--law .ant-radio-wrapper-checked {
    font-weight: 600;
}

.meta-chip--law-active[b-3wb54v7m2i] {
    background: #fef2f2;
    border-color: #fca5a5;
}

.meta-chip--law-active:hover[b-3wb54v7m2i] {
    background: #fef2f2;
}

[b-3wb54v7m2i] .meta-chip--law-active .meta-chip__icon {
    color: #dc2626;
}

.meta-chip--law-active .meta-chip__label[b-3wb54v7m2i] {
    color: #991b1b;
}

[b-3wb54v7m2i] .meta-chip--law-active .ant-radio-wrapper-checked {
    color: #991b1b;
}

.doc-hero__detail[b-3wb54v7m2i] {
    border-top: 1px solid #e8ecf0;
    margin-top: 16px;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .doc-hero[b-3wb54v7m2i] {
        padding: 16px;
    }
    .doc-hero__top[b-3wb54v7m2i] {
        flex-direction: column;
        align-items: flex-start;
    }
    .doc-hero__actions[b-3wb54v7m2i] {
        width: 100%;
        justify-content: flex-end;
    }
    .doc-status-tag[b-3wb54v7m2i] {
        min-height: 26px;
        padding: 3px 10px;
        font-size: 0.6875rem;
    }
    .doc-hero__meta[b-3wb54v7m2i] {
        flex-direction: column;
        align-items: flex-start;
    }
    .doc-hero__badges[b-3wb54v7m2i] {
        width: 100%;
    }
}

/* ==========================================================================
   SECTION CARDS
   ========================================================================== */

.section-card[b-3wb54v7m2i] {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.section-card:hover[b-3wb54v7m2i] {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.section-card__header[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(180deg, #fafbfc 0%, #f6f7f9 100%);
    border-bottom: 1px solid #e8ecf0;
}

.section-card__icon[b-3wb54v7m2i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 14px;
    flex-shrink: 0;
}

.section-card__icon--info[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
}

.section-card__icon--schedule[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
}

.section-card__icon--content[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
}

.section-card__icon--files[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    color: #7c3aed;
}

.section-card__icon--docs[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #ea580c;
}

.section-card__icon--links[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
}

.section-card__icon--org[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
}

.section-card__title[b-3wb54v7m2i] {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563;
}

.section-card__count[b-3wb54v7m2i] {
    font-weight: 600;
    color: #9ca3af;
    margin-left: 4px;
}

.section-card__body[b-3wb54v7m2i] {
    padding: 20px 24px;
}

@media (max-width: 768px) {
    .section-card__header[b-3wb54v7m2i] {
        padding: 12px 16px;
    }
    .section-card__body[b-3wb54v7m2i] {
        padding: 16px;
    }
}

/* ==========================================================================
   3. PREMIUM CARD - DOCUMENT INFO
   ========================================================================== */

[b-3wb54v7m2i] .premium-card.ant-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
}

[b-3wb54v7m2i] .premium-card.ant-card:hover {
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Card Header Override */
[b-3wb54v7m2i] .premium-card .ant-card-head {
    background: linear-gradient(180deg, #fafbfc 0%, #f6f7f9 100%);
    border-bottom: 2px solid #e8ecf0;
    padding: 20px 24px;
}

[b-3wb54v7m2i] .premium-card .ant-card-head-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

[b-3wb54v7m2i] .premium-card .ant-card-head-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #ea580c 0%, #f97316 100%);
    border-radius: 2px;
}

[b-3wb54v7m2i] .premium-card .ant-card-body {
    padding: 28px;
}

/* ==========================================================================
   4. SECTION DIVIDERS - STYLED
   ========================================================================== */

.section-divider[b-3wb54v7m2i] {
    margin: 28px 0 20px 0;
}

[b-3wb54v7m2i] .section-divider .ant-divider {
    border-color: #e2e8f0;
    margin: 0;
}

[b-3wb54v7m2i] .section-divider .ant-divider-inner-text {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-3wb54v7m2i] .ant-divider-horizontal.ant-divider-with-text-left::before {
    width: 0;
}

[b-3wb54v7m2i] .ant-divider-horizontal.ant-divider-with-text-left .ant-divider-inner-text {
    padding-left: 0;
}

/* Section Icon */
.section-icon[b-3wb54v7m2i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 14px;
    padding: 0; /* Override global .content padding */
}

.section-icon.contract[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
}

.section-icon.content[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
}

.section-icon.org[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
}

.section-icon.files[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    color: #7c3aed;
}

.section-icon.links[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
}

.section-icon.docs[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #ea580c;
}

/* ==========================================================================
   5. FORM STYLING - ENHANCED INPUTS
   ========================================================================== */

/* Form Layout */
[b-3wb54v7m2i] .ant-form-item {
    margin-bottom: 20px;
}

[b-3wb54v7m2i] .ant-form-item-control-input {
    min-height: 32px;
}

[b-3wb54v7m2i] .ant-form-item-label > label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9375rem;
}

/* Required Field Indicator */
[b-3wb54v7m2i] .ant-form-item-required::before {
    color: #ea580c !important;
}

/* Input Fields */
[b-3wb54v7m2i] .ant-input,
[b-3wb54v7m2i] .ant-input-affix-wrapper {
    border-radius: 8px;
    border-color: #e2e8f0;
    padding: 4px 11px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

[b-3wb54v7m2i] .ant-input:hover,
[b-3wb54v7m2i] .ant-input-affix-wrapper:hover {
    border-color: #cbd5e1;
}

[b-3wb54v7m2i] .ant-input:focus,
[b-3wb54v7m2i] .ant-input-affix-wrapper:focus,
[b-3wb54v7m2i] .ant-input-focused,
[b-3wb54v7m2i] .ant-input-affix-wrapper-focused {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* TextArea */
[b-3wb54v7m2i] .ant-input[type="textarea"],
[b-3wb54v7m2i] textarea.ant-input {
    border-radius: 8px;
    padding: 8px 11px;
}

/* Select */
[b-3wb54v7m2i] .ant-select-selector {
    border-radius: 8px !important;
    border-color: #e2e8f0 !important;
    min-height: 32px !important;
    padding: 0 11px !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

[b-3wb54v7m2i] .ant-select:hover .ant-select-selector,
[b-3wb54v7m2i] .ant-select-focused .ant-select-selector {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

/* DatePicker */
[b-3wb54v7m2i] .ant-picker {
    border-radius: 8px;
    border-color: #e2e8f0;
    padding: 4px 11px;
    transition: all 0.2s ease;
}

[b-3wb54v7m2i] .ant-picker:hover {
    border-color: #cbd5e1;
}

[b-3wb54v7m2i] .ant-picker-focused {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* InputNumber */
[b-3wb54v7m2i] .ant-input-number {
    border-radius: 8px;
    border-color: #e2e8f0;
    transition: all 0.2s ease;
}

[b-3wb54v7m2i] .ant-input-number:hover {
    border-color: #cbd5e1;
}

[b-3wb54v7m2i] .ant-input-number-focused {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* Checkbox */
[b-3wb54v7m2i] .ant-checkbox-wrapper {
    font-size: 0.9375rem;
    color: #374151;
}

[b-3wb54v7m2i] .ant-checkbox-checked .ant-checkbox-inner {
    background-color: #ea580c;
    border-color: #ea580c;
}

[b-3wb54v7m2i] .ant-checkbox:hover .ant-checkbox-inner {
    border-color: #ea580c;
}

/* Radio Group */
[b-3wb54v7m2i] .ant-radio-wrapper {
    font-size: 0.9375rem;
    color: #374151;
}

[b-3wb54v7m2i] .ant-radio-checked .ant-radio-inner {
    border-color: #ea580c;
}

[b-3wb54v7m2i] .ant-radio-checked .ant-radio-inner::after {
    background-color: #ea580c;
}

[b-3wb54v7m2i] .ant-radio:hover .ant-radio-inner {
    border-color: #ea580c;
}

/* Switch */
[b-3wb54v7m2i] .ant-switch-checked {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

/* ==========================================================================
   6. CONTRACT & LAW SECTION - PREMIUM WARNING CARD
   ========================================================================== */

.contract-law-card[b-3wb54v7m2i] {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.contract-law-card[b-3wb54v7m2i]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.contract-law-header[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-left: 12px;
}

.contract-law-icon[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    font-size: 16px;
}

.contract-law-title[b-3wb54v7m2i] {
    font-size: 1rem;
    font-weight: 700;
    color: #92400e;
}

/* Apply to nested ContractLawSection component (CSS isolation boundary) */
[b-3wb54v7m2i] .contract-law-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

[b-3wb54v7m2i] .contract-law-icon {
    flex-shrink: 0;
}

/* ==========================================================================
   7. TABLES - RELATED ORGANIZATIONS
   ========================================================================== */

.related-org-table[b-3wb54v7m2i] {
    margin-top: 12px;
}

[b-3wb54v7m2i] .related-org-table .ant-table-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

[b-3wb54v7m2i] .related-org-table .ant-table-thead > tr > th {
    background: linear-gradient(180deg, #fafbfc 0%, #f6f7f9 100%) !important;
    border-bottom: 2px solid #e8ecf0 !important;
    padding: 14px 16px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563 !important;
}

[b-3wb54v7m2i] .related-org-table .ant-table-tbody > tr > td {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02) !important;
    font-size: 0.9375rem;
    color: #334155;
}

[b-3wb54v7m2i] .related-org-table .ant-table-tbody > tr:hover > td {
    background: linear-gradient(90deg, rgba(234, 88, 12, 0.04) 0%, transparent 100%) !important;
}

/* ==========================================================================
   8. BUTTONS - PREMIUM STYLING
   ========================================================================== */

/* Primary Button */
[b-3wb54v7m2i] .ant-btn-primary {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    border-radius: 8px;
    font-weight: 600;
    height: 32px;
    padding: 4px 15px;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[b-3wb54v7m2i] .ant-btn-primary:hover,
[b-3wb54v7m2i] .ant-btn-primary:focus {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

[b-3wb54v7m2i] .ant-btn-primary:active {
    transform: translateY(0);
}

/* Default Button */
[b-3wb54v7m2i] .ant-btn-default {
    border-radius: 8px;
    border-color: #e2e8f0;
    font-weight: 500;
    height: 32px;
    padding: 4px 15px;
    transition: all 0.2s ease;
}

[b-3wb54v7m2i] .ant-btn-default:hover {
    border-color: #ea580c;
    color: #ea580c;
    transform: translateY(-1px);
}

/* Danger Button */
[b-3wb54v7m2i] .ant-btn-dangerous {
    border-radius: 8px;
    font-weight: 500;
    height: 32px;
    padding: 4px 15px;
}

[b-3wb54v7m2i] .ant-btn-dangerous.ant-btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

/* Link Button */
[b-3wb54v7m2i] .ant-btn-link {
    color: #ea580c;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

[b-3wb54v7m2i] .ant-btn-link:hover {
    background: rgba(234, 88, 12, 0.08);
    color: #dc2626;
}

/* Button Group Spacing */
.action-button-group[b-3wb54v7m2i] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 24px;
}

/* ==========================================================================
   9. MODALS - PREMIUM STYLING
   ========================================================================== */

[b-3wb54v7m2i] .ant-modal-content {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

[b-3wb54v7m2i] .ant-modal-header {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    border-bottom: 2px solid #fed7aa !important;
    padding: 20px 24px !important;
}

[b-3wb54v7m2i] .ant-modal-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ea580c !important;
}

[b-3wb54v7m2i] .ant-modal-body {
    padding: 24px !important;
    background: #fafbfc !important;
}

[b-3wb54v7m2i] .ant-modal-footer {
    border-top: 1px solid #f1f5f9 !important;
    padding: 16px 24px !important;
    background: #fafbfc !important;
}

[b-3wb54v7m2i] .ant-modal-close {
    top: 18px !important;
    right: 20px !important;
}

[b-3wb54v7m2i] .ant-modal-close:hover {
    color: #ea580c !important;
    background: rgba(234, 88, 12, 0.1) !important;
    border-radius: 8px !important;
}

/* Organization Tree Modal */
[b-3wb54v7m2i] .org-tree-modal .ant-tree {
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

[b-3wb54v7m2i] .org-tree-modal .ant-tree-treenode {
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

[b-3wb54v7m2i] .org-tree-modal .ant-tree-treenode:hover {
    background: rgba(234, 88, 12, 0.04);
}

/* ==========================================================================
   10. NOTIFICATION ALERTS - Custom Styled Cards
   ========================================================================== */

/* --- Base alert card --- */
.doc-alert[b-3wb54v7m2i] {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* Left accent bar */
.doc-alert[b-3wb54v7m2i]::before {
    content: '';
    flex-shrink: 0;
    width: 3px;
}

/* Icon container */
.doc-alert__icon-wrap[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    padding: 11px 0 11px 10px;
}

[b-3wb54v7m2i] .doc-alert__icon-wrap .anticon {
    font-size: 16px;
    display: flex;
    opacity: 0.8;
}

/* Body: text + optional action */
.doc-alert__body[b-3wb54v7m2i] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    padding: 11px 16px 11px 4px;
}

.doc-alert__text[b-3wb54v7m2i] {
    font-size: 0.85rem;
    font-weight: 450;
    line-height: 1.5;
}

/* Action button base */
[b-3wb54v7m2i] .doc-alert__action-btn.ant-btn-link {
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 10px;
    height: 26px;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.15s ease;
}

[b-3wb54v7m2i] .doc-alert__action-btn.ant-btn-link .anticon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 12px;
}

[b-3wb54v7m2i] .doc-alert__action-btn.ant-btn-link > span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* --- Obsoleted: soft amber --- */
.doc-alert--obsoleted[b-3wb54v7m2i] {
    background: #fffdf5;
    border: 1px solid #f5e6c8;
}

.doc-alert--obsoleted[b-3wb54v7m2i]::before {
    background: #e5a329;
}

[b-3wb54v7m2i] .doc-alert--obsoleted .anticon {
    color: #c08b1f;
}

.doc-alert--obsoleted .doc-alert__text[b-3wb54v7m2i] {
    color: #78592d;
}

[b-3wb54v7m2i] .doc-alert__action-btn--obsoleted.ant-btn-link {
    color: #a0762a;
    background: rgba(229, 163, 41, 0.08);
}

[b-3wb54v7m2i] .doc-alert__action-btn--obsoleted.ant-btn-link:hover {
    color: #78592d;
    background: rgba(229, 163, 41, 0.14);
}

/* --- In-process child: soft blue --- */
.doc-alert--inprocess[b-3wb54v7m2i] {
    background: #f8faff;
    border: 1px solid #d6e4f5;
}

.doc-alert--inprocess[b-3wb54v7m2i]::before {
    background: #4a8fe7;
}

[b-3wb54v7m2i] .doc-alert--inprocess .anticon {
    color: #4a8fe7;
}

.doc-alert--inprocess .doc-alert__text[b-3wb54v7m2i] {
    color: #3d5a80;
}

[b-3wb54v7m2i] .doc-alert__action-btn--inprocess.ant-btn-link {
    color: #3d73b8;
    background: rgba(74, 143, 231, 0.07);
}

[b-3wb54v7m2i] .doc-alert__action-btn--inprocess.ant-btn-link:hover {
    color: #2d5a94;
    background: rgba(74, 143, 231, 0.12);
}

/* --- Contract expired: soft rose --- */
.doc-alert--contract-expired[b-3wb54v7m2i] {
    background: #fffaf9;
    border: 1px solid #f0d4cf;
}

.doc-alert--contract-expired[b-3wb54v7m2i]::before {
    background: #d95f4a;
}

[b-3wb54v7m2i] .doc-alert--contract-expired .anticon {
    color: #c4543f;
}

.doc-alert--contract-expired .doc-alert__text[b-3wb54v7m2i] {
    color: #7a3b30;
}

/* ==========================================================================
   11. UPLOAD SECTION
   ========================================================================== */

.upload-section[b-3wb54v7m2i] {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0;
}

[b-3wb54v7m2i] .upload-section .ant-upload-drag {
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
    transition: all 0.2s ease;
}

[b-3wb54v7m2i] .upload-section .ant-upload-drag:hover {
    border-color: #ea580c;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

/* ==========================================================================
   12. RICH TEXT EDITOR CONTAINER
   ========================================================================== */

.editor-container[b-3wb54v7m2i] {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease;
}

.editor-container:focus-within[b-3wb54v7m2i] {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* ==========================================================================
   13. TOOLTIP STYLING
   ========================================================================== */

[b-3wb54v7m2i] .ant-tooltip-inner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.875rem;
}

/* ==========================================================================
   14. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1200px) {
    .document-maintain-container[b-3wb54v7m2i] {
        padding: 0 12px;
    }

    [b-3wb54v7m2i] .premium-card .ant-card-body {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .document-maintain-header[b-3wb54v7m2i] {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .document-maintain-title[b-3wb54v7m2i] {
        font-size: 1.5rem;
    }

    .document-maintain-subtitle[b-3wb54v7m2i] {
        font-size: 0.9375rem;
    }

    [b-3wb54v7m2i] .premium-card .ant-card-head {
        padding: 16px 20px;
    }

    [b-3wb54v7m2i] .premium-card .ant-card-body {
        padding: 16px;
    }

    .action-button-group[b-3wb54v7m2i] {
        flex-direction: column;
    }

    .action-button-group .ant-btn[b-3wb54v7m2i] {
        width: 100%;
    }


    .contract-law-card[b-3wb54v7m2i] {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .document-maintain-title[b-3wb54v7m2i] {
        font-size: 1.25rem;
    }

    [b-3wb54v7m2i] .ant-form-item-label {
        padding-bottom: 4px;
    }

    [b-3wb54v7m2i] .ant-form-horizontal .ant-form-item-label {
        flex: 0 0 100%;
    }

    [b-3wb54v7m2i] .ant-form-horizontal .ant-form-item-control {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   15. ACCESSIBILITY - REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    [b-3wb54v7m2i] * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    [b-3wb54v7m2i] .anticon-spin,
    [b-3wb54v7m2i] .anticon-spin::before {
        animation: loadingCircle 1s infinite linear !important;
    }

    [b-3wb54v7m2i] .document-maintain-skeleton .skel-block,
    [b-3wb54v7m2i] .document-maintain-skeleton .skel-label,
    [b-3wb54v7m2i] .document-maintain-skeleton .skel-input,
    [b-3wb54v7m2i] .document-maintain-skeleton .skel-btn-primary {
        animation: skel-shimmer-b-3wb54v7m2i 1.6s ease infinite !important;
    }
}

/* ==========================================================================
   16. PRINT STYLES
   ========================================================================== */

@media print {
    .document-maintain-container[b-3wb54v7m2i] {
        max-width: 100%;
    }

    .document-maintain-header[b-3wb54v7m2i] {
        border-bottom: 1px solid #e2e8f0;
    }

    .document-maintain-title[b-3wb54v7m2i] {
        -webkit-text-fill-color: #111827;
        color: #111827;
    }

    [b-3wb54v7m2i] .ant-btn,
    [b-3wb54v7m2i] .ant-modal,
    .action-button-group[b-3wb54v7m2i] {
        display: none !important;
    }

    [b-3wb54v7m2i] .premium-card {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }
}

/* ==========================================================================
   17. DISABLED FIELD VISUAL DISTINCTION (G5)
   ========================================================================== */

[b-3wb54v7m2i] .ant-input[readonly],
[b-3wb54v7m2i] .ant-input-disabled,
[b-3wb54v7m2i] .ant-select-disabled .ant-select-selector,
[b-3wb54v7m2i] .ant-picker-disabled {
    background-color: #f5f5f5 !important;
    color: #8c8c8c;
}

/* ==========================================================================
   18. VALIDATION ERROR FIELD HIGHLIGHTING (G7)
   ========================================================================== */

[b-3wb54v7m2i] .ant-form-item-has-error .ant-input,
[b-3wb54v7m2i] .ant-form-item-has-error .ant-select-selector,
[b-3wb54v7m2i] .ant-form-item-has-error .ant-picker {
    border-color: #ff4d4f !important;
}

[b-3wb54v7m2i] .ant-form-item-explain-error {
    color: #ff4d4f;
    font-size: 12px;
}
/* _content/esmartx.web/Components/Pages/Login.razor.rz.scp.css */
/* Login Page - Single Panel Centered Design with Colorful Background */

/* ==================== Page Layout ==================== */

.login-page[b-k9puwoldpe] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ==================== Background Shapes ==================== */

.bg-shapes[b-k9puwoldpe] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape[b-k9puwoldpe] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

/* Pink/Magenta blob - bottom left */
.shape-1[b-k9puwoldpe] {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    bottom: -150px;
    left: -100px;
    animation: float1-b-k9puwoldpe 25s ease-in-out infinite;
}

/* Orange blob - top right */
.shape-2[b-k9puwoldpe] {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fb923c, #ea580c, #c2410c);
    top: -100px;
    right: -50px;
    animation: float2-b-k9puwoldpe 20s ease-in-out infinite;
}

/* Cyan/Teal blob - top left */
.shape-3[b-k9puwoldpe] {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #22d3d1, #14b8a6, #0d9488);
    top: 10%;
    left: 5%;
    animation: float3-b-k9puwoldpe 22s ease-in-out infinite;
}

/* Yellow/Orange blob - bottom right */
.shape-4[b-k9puwoldpe] {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    bottom: 10%;
    right: 10%;
    animation: float4-b-k9puwoldpe 18s ease-in-out infinite;
}

/* Purple blob - center right */
.shape-5[b-k9puwoldpe] {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    top: 40%;
    right: 25%;
    animation: float5-b-k9puwoldpe 23s ease-in-out infinite;
}

@keyframes float1-b-k9puwoldpe {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2-b-k9puwoldpe {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float3-b-k9puwoldpe {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 25px) scale(0.9); }
}

@keyframes float4-b-k9puwoldpe {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

@keyframes float5-b-k9puwoldpe {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

/* ==================== Main Container ==================== */

.login-container[b-k9puwoldpe] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== Logo Section ==================== */

.logo-section[b-k9puwoldpe] {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo[b-k9puwoldpe] {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
}

.brand-logo[b-k9puwoldpe]  .logo-icon {
    font-size: 36px;
    color: white;
}

.brand-title[b-k9puwoldpe] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-tagline[b-k9puwoldpe] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== Login Card ==================== */

.login-card[b-k9puwoldpe] {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.04);
}

/* ==================== Form Content ==================== */

.form-content[b-k9puwoldpe] {
    width: 100%;
}

.form-header[b-k9puwoldpe] {
    text-align: center;
    margin-bottom: 28px;
}

.form-title[b-k9puwoldpe] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.form-subtitle[b-k9puwoldpe] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==================== Form Styling ==================== */

[b-k9puwoldpe] .login-form .ant-form-item {
    margin-bottom: 20px;
}

[b-k9puwoldpe] .login-form .ant-form-item-label > label {
    color: #334155;
    font-weight: 500;
    font-size: 13px;
    height: auto;
    margin-bottom: 6px;
}

[b-k9puwoldpe] .login-form .ant-form-item-label > label::before {
    color: #ef4444 !important;
}

/* Input Base Styles */
[b-k9puwoldpe] .login-form .ant-input,
[b-k9puwoldpe] .login-form .ant-input-affix-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    transition: all 0.2s ease;
    height: 48px !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
}

[b-k9puwoldpe] .login-form .ant-input:hover,
[b-k9puwoldpe] .login-form .ant-input-affix-wrapper:hover {
    border-color: #94a3b8 !important;
}

[b-k9puwoldpe] .login-form .ant-input:focus,
[b-k9puwoldpe] .login-form .ant-input-affix-wrapper:focus,
[b-k9puwoldpe] .login-form .ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-k9puwoldpe] .login-form .ant-input::placeholder {
    color: #94a3b8 !important;
}

/* Password Input Specific */
[b-k9puwoldpe] .login-form .ant-input-password {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 48px !important;
    padding: 0 16px !important;
}

[b-k9puwoldpe] .login-form .ant-input-password:hover {
    border-color: #94a3b8 !important;
}

[b-k9puwoldpe] .login-form .ant-input-password.ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-k9puwoldpe] .login-form .ant-input-password .ant-input {
    background: transparent !important;
    border: none !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
}

[b-k9puwoldpe] .login-form .ant-input-password-icon {
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

[b-k9puwoldpe] .login-form .ant-input-password-icon:hover {
    color: #334155;
}

/* Form Submit */
[b-k9puwoldpe] .form-submit {
    margin-top: 28px;
    margin-bottom: 0;
}

/* ==================== Buttons ==================== */

/* Primary Button */
[b-k9puwoldpe] .ant-btn-primary {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-k9puwoldpe] .ant-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

[b-k9puwoldpe] .ant-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

[b-k9puwoldpe] .ant-btn-primary:disabled {
    background: #94a3b8;
    box-shadow: none;
    opacity: 0.6;
}

/* Back Button */
.back-btn[b-k9puwoldpe] {
    margin-top: 0;
}

[b-k9puwoldpe] .back-btn.ant-btn-default {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-k9puwoldpe] .back-btn.ant-btn-default:hover:not(:disabled) {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* ==================== Organization Selection ==================== */

.org-selection-content[b-k9puwoldpe],
.no-orgs-content[b-k9puwoldpe] {
    text-align: center;
}

.status-icon[b-k9puwoldpe] {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce-b-k9puwoldpe 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce-b-k9puwoldpe {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.status-icon.success[b-k9puwoldpe] {
    background: rgba(16, 185, 129, 0.1);
}

.status-icon.success[b-k9puwoldpe]  .anticon {
    font-size: 32px;
    color: #10b981;
}

.status-icon.warning[b-k9puwoldpe] {
    background: rgba(245, 158, 11, 0.1);
}

.status-icon.warning[b-k9puwoldpe]  .anticon {
    font-size: 32px;
    color: #f59e0b;
}

/* Organization Cards */
.org-cards-container[b-k9puwoldpe] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
}

.org-cards-container[b-k9puwoldpe]::-webkit-scrollbar {
    width: 6px;
}

.org-cards-container[b-k9puwoldpe]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.org-cards-container[b-k9puwoldpe]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.org-cards-container[b-k9puwoldpe]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.org-card[b-k9puwoldpe] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.org-card:hover[b-k9puwoldpe] {
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.org-card.selected[b-k9puwoldpe] {
    border-color: #ea580c;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.05) 0%, rgba(194, 65, 12, 0.08) 100%);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.15);
}

.org-card.selected:hover[b-k9puwoldpe] {
    border-color: #c2410c;
    transform: translateY(-2px);
}

.org-card-icon[b-k9puwoldpe] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.org-card.selected .org-card-icon[b-k9puwoldpe] {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.org-card-icon[b-k9puwoldpe]  .anticon {
    font-size: 22px;
    color: #64748b;
    transition: color 0.25s ease;
}

.org-card.selected .org-card-icon[b-k9puwoldpe]  .anticon {
    color: #ffffff;
}

.org-card-content[b-k9puwoldpe] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.org-card-name[b-k9puwoldpe] {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-card.selected .org-card-name[b-k9puwoldpe] {
    color: #9a3412;
}

.org-card-level[b-k9puwoldpe] {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.org-card.selected .org-card-level[b-k9puwoldpe] {
    color: #ea580c;
}

.org-card-check[b-k9puwoldpe] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.org-card-check[b-k9puwoldpe]  .anticon {
    font-size: 22px;
    color: #ea580c;
    animation: checkPop-b-k9puwoldpe 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop-b-k9puwoldpe {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Continue Button Enhancement */
[b-k9puwoldpe] .continue-btn.ant-btn-primary {
    margin-bottom: 12px;
}

[b-k9puwoldpe] .continue-btn.ant-btn-primary:not(:disabled) {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

[b-k9puwoldpe] .continue-btn.ant-btn-primary:disabled {
    background: #94a3b8;
    box-shadow: none;
    opacity: 0.5;
}

/* Action Buttons */
.action-buttons[b-k9puwoldpe] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ==================== Alerts ==================== */

.alert-container[b-k9puwoldpe] {
    margin-top: 20px;
}

[b-k9puwoldpe] .alert-container .ant-alert {
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

[b-k9puwoldpe] .alert-container .ant-alert-message {
    color: #b91c1c;
}

[b-k9puwoldpe] .warning-alert {
    margin-bottom: 24px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

[b-k9puwoldpe] .warning-alert .ant-alert-message {
    color: #92400e;
}

/* ==================== Footer ==================== */

.login-footer[b-k9puwoldpe] {
    text-align: center;
    margin-top: 32px;
}

.login-footer p[b-k9puwoldpe] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==================== Animations ==================== */

.animate-fade-in[b-k9puwoldpe] {
    animation: fadeSlideIn-b-k9puwoldpe 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn-b-k9puwoldpe {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-shake[b-k9puwoldpe] {
    animation: shake-b-k9puwoldpe 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-k9puwoldpe {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    .login-page[b-k9puwoldpe] {
        padding: 16px;
    }

    .login-container[b-k9puwoldpe] {
        max-width: 100%;
    }

    .logo-section[b-k9puwoldpe] {
        margin-bottom: 24px;
    }

    .brand-logo[b-k9puwoldpe] {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .brand-logo[b-k9puwoldpe]  .logo-icon {
        font-size: 30px;
    }

    .brand-title[b-k9puwoldpe] {
        font-size: 26px;
    }

    .login-card[b-k9puwoldpe] {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .form-title[b-k9puwoldpe] {
        font-size: 22px;
    }

    .status-icon[b-k9puwoldpe] {
        width: 56px;
        height: 56px;
    }

    .status-icon.success[b-k9puwoldpe]  .anticon,
    .status-icon.warning[b-k9puwoldpe]  .anticon {
        font-size: 28px;
    }

    /* Organization cards mobile */
    .org-cards-container[b-k9puwoldpe] {
        max-height: 220px;
    }

    .org-card[b-k9puwoldpe] {
        padding: 14px;
        gap: 12px;
    }

    .org-card-icon[b-k9puwoldpe] {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .org-card-icon[b-k9puwoldpe]  .anticon {
        font-size: 18px;
    }

    .org-card-name[b-k9puwoldpe] {
        font-size: 14px;
    }

    .org-card-level[b-k9puwoldpe] {
        font-size: 11px;
    }

    .org-card-check[b-k9puwoldpe]  .anticon {
        font-size: 20px;
    }

    /* Smaller blobs on mobile */
    .shape-1[b-k9puwoldpe], .shape-2[b-k9puwoldpe] {
        width: 300px;
        height: 300px;
    }

    .shape-3[b-k9puwoldpe], .shape-4[b-k9puwoldpe], .shape-5[b-k9puwoldpe] {
        width: 200px;
        height: 200px;
    }
}

/* ==================== Reduced Motion ==================== */

@media (prefers-reduced-motion: reduce) {
    .shape[b-k9puwoldpe],
    .animate-fade-in[b-k9puwoldpe],
    .animate-shake[b-k9puwoldpe],
    .status-icon[b-k9puwoldpe] {
        animation: none;
    }

    [b-k9puwoldpe] .ant-btn-primary:hover:not(:disabled) {
        transform: none;
    }

    .org-card:hover[b-k9puwoldpe],
    .org-card.selected:hover[b-k9puwoldpe] {
        transform: none;
    }

    .org-card-check[b-k9puwoldpe]  .anticon {
        animation: none;
    }
}

/* ==================== Azure AD Login ==================== */

.azure-divider[b-k9puwoldpe] {
    display: flex;
    align-items: center;
    margin: 20px 0 16px;
    gap: 12px;
}

.azure-divider[b-k9puwoldpe]::before,
.azure-divider[b-k9puwoldpe]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.azure-divider-text[b-k9puwoldpe] {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.azure-login-btn[b-k9puwoldpe] {
    height: 44px !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    background: rgba(0, 120, 212, 0.15) !important;
    border: 1px solid rgba(0, 120, 212, 0.3) !important;
    color: #fff !important;
    transition: all 0.2s ease !important;
    margin-bottom: 8px !important;
}

.azure-login-btn:hover[b-k9puwoldpe] {
    background: rgba(0, 120, 212, 0.25) !important;
    border-color: rgba(0, 120, 212, 0.5) !important;
    transform: translateY(-1px);
}

.azure-remark[b-k9puwoldpe] {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-top: 4px;
}
/* _content/esmartx.web/Components/Pages/LoginEmailOtp.razor.rz.scp.css */
/* LoginEmailOtp Page - Reuses Login page styling pattern */

/* ==================== Page Layout ==================== */

.login-page[b-74jk6ncei8] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ==================== Background Shapes ==================== */

.bg-shapes[b-74jk6ncei8] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape[b-74jk6ncei8] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1[b-74jk6ncei8] {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    bottom: -150px;
    left: -100px;
    animation: float1-b-74jk6ncei8 25s ease-in-out infinite;
}

.shape-2[b-74jk6ncei8] {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fb923c, #ea580c, #c2410c);
    top: -100px;
    right: -50px;
    animation: float2-b-74jk6ncei8 20s ease-in-out infinite;
}

.shape-3[b-74jk6ncei8] {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #22d3d1, #14b8a6, #0d9488);
    top: 10%;
    left: 5%;
    animation: float3-b-74jk6ncei8 22s ease-in-out infinite;
}

.shape-4[b-74jk6ncei8] {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    bottom: 10%;
    right: 10%;
    animation: float4-b-74jk6ncei8 18s ease-in-out infinite;
}

.shape-5[b-74jk6ncei8] {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    top: 40%;
    right: 25%;
    animation: float5-b-74jk6ncei8 23s ease-in-out infinite;
}

@keyframes float1-b-74jk6ncei8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2-b-74jk6ncei8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float3-b-74jk6ncei8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 25px) scale(0.9); }
}

@keyframes float4-b-74jk6ncei8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

@keyframes float5-b-74jk6ncei8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

/* ==================== Main Container ==================== */

.login-container[b-74jk6ncei8] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== Logo Section ==================== */

.logo-section[b-74jk6ncei8] {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo[b-74jk6ncei8] {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
}

.brand-logo[b-74jk6ncei8]  .logo-icon {
    font-size: 36px;
    color: white;
}

.brand-title[b-74jk6ncei8] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-tagline[b-74jk6ncei8] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== Login Card ==================== */

.login-card[b-74jk6ncei8] {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.04);
}

/* ==================== Form Content ==================== */

.form-content[b-74jk6ncei8] {
    width: 100%;
}

.form-header[b-74jk6ncei8] {
    text-align: center;
    margin-bottom: 24px;
}

.form-title[b-74jk6ncei8] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.form-subtitle[b-74jk6ncei8] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==================== Status Icon ==================== */

.status-icon[b-74jk6ncei8] {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce-b-74jk6ncei8 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce-b-74jk6ncei8 {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.status-icon.info[b-74jk6ncei8] {
    background: rgba(234, 88, 12, 0.1);
}

.status-icon.info[b-74jk6ncei8]  .anticon {
    font-size: 32px;
    color: #ea580c;
}

/* ==================== OTP Info Section ==================== */

.otp-info-section[b-74jk6ncei8] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.otp-info-row[b-74jk6ncei8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.otp-info-row + .otp-info-row[b-74jk6ncei8] {
    border-top: 1px solid #f1f5f9;
}

.otp-info-label[b-74jk6ncei8] {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.otp-info-value[b-74jk6ncei8] {
    font-size: 13px;
    color: #1e293b;
    font-weight: 600;
}

/* ==================== Timer Section ==================== */

.otp-timer-section[b-74jk6ncei8] {
    text-align: center;
    margin-bottom: 20px;
}

.otp-timer[b-74jk6ncei8] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 14px;
    font-weight: 500;
}

.otp-timer[b-74jk6ncei8]  .anticon {
    font-size: 16px;
}

.otp-timer.expired[b-74jk6ncei8] {
    background: #fef2f2;
    color: #dc2626;
}

/* ==================== OTP Input Section ==================== */

.otp-input-section[b-74jk6ncei8] {
    margin-bottom: 24px;
}

[b-74jk6ncei8] .otp-input-section .ant-input {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    transition: all 0.2s ease;
}

[b-74jk6ncei8] .otp-input-section .ant-input:hover {
    border-color: #94a3b8 !important;
}

[b-74jk6ncei8] .otp-input-section .ant-input:focus {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-74jk6ncei8] .otp-input-section .ant-input::placeholder {
    color: #94a3b8 !important;
    font-size: 15px !important;
    letter-spacing: normal !important;
}

[b-74jk6ncei8] .otp-input-section .ant-input:disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

/* ==================== Action Buttons ==================== */

.otp-actions[b-74jk6ncei8] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Primary Button */
[b-74jk6ncei8] .ant-btn-primary {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-74jk6ncei8] .ant-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

[b-74jk6ncei8] .ant-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

[b-74jk6ncei8] .ant-btn-primary:disabled {
    background: #94a3b8;
    box-shadow: none;
    opacity: 0.6;
}

[b-74jk6ncei8] .continue-btn.ant-btn-primary {
    margin-bottom: 0;
}

/* Resend Button */
[b-74jk6ncei8] .resend-btn.ant-btn-default {
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #2563eb;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-74jk6ncei8] .resend-btn.ant-btn-default:hover:not(:disabled) {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
}

[b-74jk6ncei8] .resend-btn.ant-btn-default:disabled {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    opacity: 0.7;
}

/* Back Button */
[b-74jk6ncei8] .back-btn.ant-btn-default {
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-74jk6ncei8] .back-btn.ant-btn-default:hover:not(:disabled) {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* ==================== Alerts ==================== */

.alert-container[b-74jk6ncei8] {
    margin-top: 20px;
}

[b-74jk6ncei8] .alert-container .ant-alert {
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

[b-74jk6ncei8] .alert-container .ant-alert-message {
    color: #b91c1c;
}

/* ==================== Footer ==================== */

.login-footer[b-74jk6ncei8] {
    text-align: center;
    margin-top: 32px;
}

.login-footer p[b-74jk6ncei8] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==================== Animations ==================== */

.animate-fade-in[b-74jk6ncei8] {
    animation: fadeSlideIn-b-74jk6ncei8 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn-b-74jk6ncei8 {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-shake[b-74jk6ncei8] {
    animation: shake-b-74jk6ncei8 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-74jk6ncei8 {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    .login-page[b-74jk6ncei8] {
        padding: 16px;
    }

    .login-container[b-74jk6ncei8] {
        max-width: 100%;
    }

    .logo-section[b-74jk6ncei8] {
        margin-bottom: 24px;
    }

    .brand-logo[b-74jk6ncei8] {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .brand-logo[b-74jk6ncei8]  .logo-icon {
        font-size: 30px;
    }

    .brand-title[b-74jk6ncei8] {
        font-size: 26px;
    }

    .login-card[b-74jk6ncei8] {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .form-title[b-74jk6ncei8] {
        font-size: 22px;
    }

    .status-icon[b-74jk6ncei8] {
        width: 56px;
        height: 56px;
    }

    .status-icon.info[b-74jk6ncei8]  .anticon {
        font-size: 28px;
    }

    .shape-1[b-74jk6ncei8], .shape-2[b-74jk6ncei8] {
        width: 300px;
        height: 300px;
    }

    .shape-3[b-74jk6ncei8], .shape-4[b-74jk6ncei8], .shape-5[b-74jk6ncei8] {
        width: 200px;
        height: 200px;
    }
}

/* ==================== Reduced Motion ==================== */

@media (prefers-reduced-motion: reduce) {
    .shape[b-74jk6ncei8],
    .animate-fade-in[b-74jk6ncei8],
    .animate-shake[b-74jk6ncei8],
    .status-icon[b-74jk6ncei8] {
        animation: none;
    }

    [b-74jk6ncei8] .ant-btn-primary:hover:not(:disabled) {
        transform: none;
    }
}
/* _content/esmartx.web/Components/Pages/module-document/report/ControlledDocumentReport.razor.rz.scp.css */
/* Page heading */
.page-heading[b-8llwsv0i5l] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

/* Search panel */
.search-panel[b-8llwsv0i5l] {
    padding: var(--spacing-sm);
}

/* Filter field labels */
.filter-label[b-8llwsv0i5l] {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: block;
}

/* Action buttons bar */
.action-bar[b-8llwsv0i5l] {
    margin-top: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

/* Results header: total count + export */
.results-header[b-8llwsv0i5l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.total-records[b-8llwsv0i5l] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Results toolbar: total left, export right */
[b-8llwsv0i5l] .results-toolbar.ant-space {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

/* Card with primary accent border */
[b-8llwsv0i5l] .accent-card.ant-card {
    border-top: 3px solid var(--esmart-primary);
}

/* Results card with extra top spacing */
[b-8llwsv0i5l] .results-card.ant-card {
    margin-top: var(--spacing-lg);
}

/* Doc number link */
.doc-link[b-8llwsv0i5l] {
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.doc-link:hover[b-8llwsv0i5l] {
    color: var(--esmart-primary);
}

/* Date issue highlight */
.date-issue[b-8llwsv0i5l] {
    color: var(--accent-rose-solid);
}
/* _content/esmartx.web/Components/Pages/module-document/report/DocCanceledReport.razor.rz.scp.css */
/* ==========================================================================
   DocCanceledReport — Aligned with report page pattern
   Tokens: app.css | Reference: ControlledDocumentReport.razor
   ========================================================================== */

/* Page heading */
.page-heading[b-e6wu7y74wz] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold, 600);
    color: var(--text-primary, #111827);
}

/* Card styling — accent top border */
[b-e6wu7y74wz] .accent-card.ant-card {
    border-top: 3px solid var(--esmart-primary, #ea580c);
}

/* Search panel inner padding */
.search-panel[b-e6wu7y74wz] {
    padding: var(--spacing-sm, 0.5rem);
}

/* Filter labels — light secondary text */
.filter-label[b-e6wu7y74wz] {
    display: block;
    margin-bottom: var(--spacing-xs, 0.25rem);
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-secondary, #6b7280);
}

/* Action bar — right-aligned below grid */
.action-bar[b-e6wu7y74wz] {
    margin-top: var(--spacing-sm, 0.5rem);
    display: flex;
    gap: var(--spacing-sm, 0.5rem);
    justify-content: flex-end;
}

/* Results header — total count left, export/print right */
.results-header[b-e6wu7y74wz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm, 0.5rem);
}

.total-records[b-e6wu7y74wz] {
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-secondary, #6b7280);
}

/* Cell text truncation with ellipsis */
.cell-ellipsis[b-e6wu7y74wz] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Cancel date — error red for visual emphasis */
.text-cancel[b-e6wu7y74wz] {
    color: #dc2626;
    font-weight: 600;
}

/* Document link — orange hover matching design system */
.doc-link[b-e6wu7y74wz] {
    color: var(--esmart-primary, #ea580c);
    text-decoration: none;
    word-break: break-word;
    transition: color var(--transition-fast, 150ms ease);
}

.doc-link:hover[b-e6wu7y74wz] {
    color: var(--esmart-primary-dark, #c2410c);
    text-decoration: underline;
}

.doc-link:active[b-e6wu7y74wz] {
    color: #9a3412;
}

.doc-link:focus-visible[b-e6wu7y74wz] {
    outline: 2px solid var(--accent-blue-solid, #3B82F6);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Print styles — hide search and pagination, show only data */
@media print {
    [b-e6wu7y74wz] .accent-card:first-of-type {
        display: none;
    }

    .page-heading[b-e6wu7y74wz] {
        display: none;
    }

    .results-header[b-e6wu7y74wz] {
        margin-bottom: 8px;
    }

    [b-e6wu7y74wz] .accent-card.ant-card {
        border: none;
        box-shadow: none;
    }

    [b-e6wu7y74wz] .report-pagination {
        display: none;
    }
}
/* _content/esmartx.web/Components/Pages/module-document/report/DocDarReport.razor.rz.scp.css */
/* Page heading */
.page-heading[b-e5hpuky9g4] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold, 600);
    color: var(--text-primary, #111827);
}

/* Card styling — accent top border */
[b-e5hpuky9g4] .accent-card.ant-card {
    border-top: 3px solid var(--esmart-primary, #ea580c);
}

/* Search panel inner padding */
.search-panel[b-e5hpuky9g4] {
    padding: var(--spacing-sm, 0.5rem);
}

/* Filter labels — light secondary text */
.filter-label[b-e5hpuky9g4] {
    display: block;
    margin-bottom: var(--spacing-xs, 0.25rem);
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-secondary, #6b7280);
}

/* Action bar — right-aligned below grid */
.action-bar[b-e5hpuky9g4] {
    margin-top: var(--spacing-sm, 0.5rem);
    display: flex;
    gap: var(--spacing-sm, 0.5rem);
    justify-content: flex-end;
}

/* Results header — total count left, export/print right */
.results-header[b-e5hpuky9g4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm, 0.5rem);
}

.total-records[b-e5hpuky9g4] {
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-secondary, #6b7280);
}

/* Cell text truncation with ellipsis */
.cell-ellipsis[b-e5hpuky9g4] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Document link — orange hover matching design system */
.doc-link[b-e5hpuky9g4] {
    color: var(--esmart-primary, #ea580c);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast, 150ms ease);
}

.doc-link:hover[b-e5hpuky9g4] {
    color: var(--esmart-primary-dark, #c2410c);
    text-decoration: underline;
}

.doc-link:active[b-e5hpuky9g4] {
    color: #9a3412;
}

.doc-link:focus-visible[b-e5hpuky9g4] {
    outline: 2px solid var(--accent-blue-solid, #3B82F6);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Green doc number link (preserves legacy color) */
.doc-link-green[b-e5hpuky9g4] {
    color: #008800;
}

.doc-link-green:hover[b-e5hpuky9g4] {
    color: #006600;
}

.doc-link-green:active[b-e5hpuky9g4] {
    color: #004400;
}

/* Revision text — red emphasis */
.text-revision[b-e5hpuky9g4] {
    color: #fe0000;
    white-space: nowrap;
}

/* Contract Law badge */
.badge-contract-law[b-e5hpuky9g4] {
    display: inline-block;
    padding: 2px 6px;
    background-color: #ffc800;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Print styles — hide search and pagination, show only data */
@media print {
    [b-e5hpuky9g4] .accent-card:first-of-type {
        display: none;
    }

    .page-heading[b-e5hpuky9g4] {
        display: none;
    }

    .results-header[b-e5hpuky9g4] {
        margin-bottom: 8px;
    }

    [b-e5hpuky9g4] .accent-card.ant-card {
        border: none;
        box-shadow: none;
    }

    [b-e5hpuky9g4] .report-pagination {
        display: none;
    }
}
/* _content/esmartx.web/Components/Pages/module-document/report/DocSummaryOverdueReport.razor.rz.scp.css */
/* ==========================================================================
   DocSummaryOverdueReport — Standard report page pattern
   Tokens: app.css | Reference: ControlledDocumentReport.razor
   ========================================================================== */

/* Page heading */
.page-heading[b-25d4jdovhv] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold, 600);
    color: var(--text-primary, #111827);
}

/* Card with primary accent border */
[b-25d4jdovhv] .accent-card.ant-card {
    border-top: 3px solid var(--esmart-primary, #ea580c);
}

/* Search panel inner padding */
.search-panel[b-25d4jdovhv] {
    padding: var(--spacing-sm, 0.5rem);
}

/* Filter labels */
.filter-label[b-25d4jdovhv] {
    display: block;
    margin-bottom: var(--spacing-xs, 0.25rem);
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-secondary, #6b7280);
}

/* Action bar — right-aligned */
.action-bar[b-25d4jdovhv] {
    margin-top: var(--spacing-sm, 0.5rem);
    display: flex;
    gap: var(--spacing-sm, 0.5rem);
    justify-content: flex-end;
}

/* Results header: total left, export/print right */
.results-header[b-25d4jdovhv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm, 0.5rem);
}

.total-records[b-25d4jdovhv] {
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-secondary, #6b7280);
}

/* Overdue indicator next to total */
.overdue-indicator[b-25d4jdovhv] {
    margin-left: 1rem;
}

/* Overdue count — red highlight */
.text-highlight[b-25d4jdovhv] {
    color: #dc2626;
    font-weight: 600;
}

/* Document link — orange matching design system */
.doc-link[b-25d4jdovhv] {
    color: var(--esmart-primary, #ea580c);
    text-decoration: none;
    transition: color var(--transition-fast, 150ms ease);
}

.doc-link:hover[b-25d4jdovhv] {
    color: var(--esmart-primary-dark, #c2410c);
    text-decoration: underline;
}

.doc-link:active[b-25d4jdovhv] {
    color: #9a3412;
}

.doc-link:focus-visible[b-25d4jdovhv] {
    outline: 2px solid var(--accent-blue-solid, #3B82F6);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Cell text truncation */
.cell-ellipsis[b-25d4jdovhv] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Print styles — hide search and pagination, show only data */
@media print {
    [b-25d4jdovhv] .accent-card:first-of-type {
        display: none;
    }

    .page-heading[b-25d4jdovhv] {
        display: none;
    }

    .results-header[b-25d4jdovhv] {
        margin-bottom: 8px;
    }

    [b-25d4jdovhv] .accent-card.ant-card {
        border: none;
        box-shadow: none;
    }

    [b-25d4jdovhv] .report-pagination {
        display: none;
    }
}
/* _content/esmartx.web/Components/Pages/RequestResetPassword.razor.rz.scp.css */
/* RequestResetPassword Page - Matches Login.razor visual style */

/* ==================== Page Layout ==================== */

.rrp-page[b-sw0b7xaprm] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ==================== Background Shapes ==================== */

.bg-shapes[b-sw0b7xaprm] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape[b-sw0b7xaprm] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1[b-sw0b7xaprm] {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    bottom: -150px;
    left: -100px;
    animation: float1-b-sw0b7xaprm 25s ease-in-out infinite;
}

.shape-2[b-sw0b7xaprm] {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fb923c, #ea580c, #c2410c);
    top: -100px;
    right: -50px;
    animation: float2-b-sw0b7xaprm 20s ease-in-out infinite;
}

.shape-3[b-sw0b7xaprm] {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #22d3d1, #14b8a6, #0d9488);
    top: 10%;
    left: 5%;
    animation: float3-b-sw0b7xaprm 22s ease-in-out infinite;
}

.shape-4[b-sw0b7xaprm] {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    bottom: 10%;
    right: 10%;
    animation: float4-b-sw0b7xaprm 18s ease-in-out infinite;
}

.shape-5[b-sw0b7xaprm] {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    top: 40%;
    right: 25%;
    animation: float5-b-sw0b7xaprm 23s ease-in-out infinite;
}

@keyframes float1-b-sw0b7xaprm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2-b-sw0b7xaprm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float3-b-sw0b7xaprm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 25px) scale(0.9); }
}

@keyframes float4-b-sw0b7xaprm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

@keyframes float5-b-sw0b7xaprm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

/* ==================== Main Container ==================== */

.rrp-container[b-sw0b7xaprm] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== Logo Section ==================== */

.logo-section[b-sw0b7xaprm] {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo[b-sw0b7xaprm] {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
}

.brand-logo[b-sw0b7xaprm]  .logo-icon {
    font-size: 36px;
    color: white;
}

.brand-title[b-sw0b7xaprm] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-tagline[b-sw0b7xaprm] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== Card ==================== */

.rrp-card[b-sw0b7xaprm] {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.04);
}

/* ==================== Form Content ==================== */

.form-content[b-sw0b7xaprm] {
    width: 100%;
}

.form-header[b-sw0b7xaprm] {
    text-align: center;
    margin-bottom: 28px;
}

.form-title[b-sw0b7xaprm] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.form-subtitle[b-sw0b7xaprm] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==================== Form Styling ==================== */

[b-sw0b7xaprm] .rrp-form .ant-form-item {
    margin-bottom: 20px;
}

[b-sw0b7xaprm] .rrp-form .ant-form-item-label > label {
    color: #334155;
    font-weight: 500;
    font-size: 13px;
    height: auto;
    margin-bottom: 6px;
}

[b-sw0b7xaprm] .rrp-form .ant-form-item-label > label::before {
    color: #ef4444 !important;
}

[b-sw0b7xaprm] .rrp-form .ant-input,
[b-sw0b7xaprm] .rrp-form .ant-input-affix-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    transition: all 0.2s ease;
    height: 48px !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
}

[b-sw0b7xaprm] .rrp-form .ant-input:hover,
[b-sw0b7xaprm] .rrp-form .ant-input-affix-wrapper:hover {
    border-color: #94a3b8 !important;
}

[b-sw0b7xaprm] .rrp-form .ant-input:focus,
[b-sw0b7xaprm] .rrp-form .ant-input-affix-wrapper:focus,
[b-sw0b7xaprm] .rrp-form .ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-sw0b7xaprm] .rrp-form .ant-input::placeholder {
    color: #94a3b8 !important;
}

[b-sw0b7xaprm] .form-submit {
    margin-top: 28px;
    margin-bottom: 0;
}

/* ==================== Buttons ==================== */

[b-sw0b7xaprm] .submit-btn.ant-btn-primary {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-sw0b7xaprm] .submit-btn.ant-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

[b-sw0b7xaprm] .submit-btn.ant-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* ==================== Status Icon (success) ==================== */

.status-icon[b-sw0b7xaprm] {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce-b-sw0b7xaprm 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce-b-sw0b7xaprm {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.status-icon.success[b-sw0b7xaprm] {
    background: rgba(16, 185, 129, 0.1);
}

.status-icon.success[b-sw0b7xaprm]  .anticon {
    font-size: 32px;
    color: #10b981;
}

/* ==================== Alerts ==================== */

.alert-container[b-sw0b7xaprm] {
    margin-top: 20px;
}

[b-sw0b7xaprm] .alert-container .ant-alert {
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

[b-sw0b7xaprm] .alert-container .ant-alert-message {
    color: #b91c1c;
}

/* ==================== Back Link ==================== */

.back-link[b-sw0b7xaprm] {
    text-align: center;
    margin-top: 20px;
}

.back-link a[b-sw0b7xaprm] {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.back-link a:hover[b-sw0b7xaprm] {
    color: #ea580c;
}

/* ==================== Footer ==================== */

.rrp-footer[b-sw0b7xaprm] {
    text-align: center;
    margin-top: 32px;
}

.rrp-footer p[b-sw0b7xaprm] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==================== Animations ==================== */

.animate-fade-in[b-sw0b7xaprm] {
    animation: fadeSlideIn-b-sw0b7xaprm 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn-b-sw0b7xaprm {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-shake[b-sw0b7xaprm] {
    animation: shake-b-sw0b7xaprm 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-sw0b7xaprm {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    .rrp-page[b-sw0b7xaprm] {
        padding: 16px;
    }

    .rrp-container[b-sw0b7xaprm] {
        max-width: 100%;
    }

    .logo-section[b-sw0b7xaprm] {
        margin-bottom: 24px;
    }

    .brand-logo[b-sw0b7xaprm] {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .brand-logo[b-sw0b7xaprm]  .logo-icon {
        font-size: 30px;
    }

    .brand-title[b-sw0b7xaprm] {
        font-size: 26px;
    }

    .rrp-card[b-sw0b7xaprm] {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .form-title[b-sw0b7xaprm] {
        font-size: 22px;
    }

    .status-icon[b-sw0b7xaprm] {
        width: 56px;
        height: 56px;
    }

    .status-icon.success[b-sw0b7xaprm]  .anticon {
        font-size: 28px;
    }

    .shape-1[b-sw0b7xaprm], .shape-2[b-sw0b7xaprm] {
        width: 300px;
        height: 300px;
    }

    .shape-3[b-sw0b7xaprm], .shape-4[b-sw0b7xaprm], .shape-5[b-sw0b7xaprm] {
        width: 200px;
        height: 200px;
    }
}

/* ==================== Reduced Motion ==================== */

@media (prefers-reduced-motion: reduce) {
    .shape[b-sw0b7xaprm],
    .animate-fade-in[b-sw0b7xaprm],
    .animate-shake[b-sw0b7xaprm],
    .status-icon[b-sw0b7xaprm] {
        animation: none;
    }

    [b-sw0b7xaprm] .submit-btn.ant-btn-primary:hover:not(:disabled) {
        transform: none;
    }
}
/* _content/esmartx.web/Components/Shared/Workflow/WorkflowControlEditor.razor.rz.scp.css */
.control-edit-dialog-page[b-lz96mgrjij] {
    padding: 16px 20px;
}

.control-edit-dialog-page:not(.control-edit-embedded)[b-lz96mgrjij] {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.control-edit-embedded[b-lz96mgrjij] {
    padding: 4px 0 0;
}

.control-edit-loading[b-lz96mgrjij] {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-edit-title-row[b-lz96mgrjij] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.control-edit-title[b-lz96mgrjij] {
    font-size: 16px;
    font-weight: 600;
}

.control-edit-actions[b-lz96mgrjij] {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
