:root{
    --ab-green:#14532d;
    --ab-green-2:#166534;
    --ab-green-3:#22c55e;
    --ab-bg:#f3f4f6;
    --ab-card:#ffffff;
    --ab-text:#111827;
    --ab-muted:#6b7280;
    --ab-border:#e5e7eb;
    --ab-danger:#991b1b;
    --ab-warning:#92400e;
    --ab-info:#1d4ed8;
    --ab-shadow:0 14px 40px rgba(15,23,42,.08);
}

*{box-sizing:border-box}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:var(--ab-bg);
    color:var(--ab-text);
}

a{text-decoration:none;color:inherit}

.app-shell{
    min-height:100vh;
    display:flex;
}

.sidebar{
    width:280px;
    background:#0f3d23;
    color:white;
    padding:20px 16px;
    position:fixed;
    inset:0 auto 0 0;
    overflow-y:auto;
    z-index:50;
}

.sidebar-brand{
    display:flex;
    align-items:center;
    gap:12px;
    padding:8px 8px 22px;
    border-bottom:1px solid rgba(255,255,255,.12);
    margin-bottom:18px;
}

.sidebar-logo{
    width:46px;
    height:46px;
    border-radius:15px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--ab-green-3),#bbf7d0);
    color:#052e16;
    font-weight:900;
}

.sidebar-brand strong{
    display:block;
    font-size:17px;
}

.sidebar-brand span{
    display:block;
    font-size:12px;
    opacity:.72;
    margin-top:3px;
}

.sidebar-section{
    margin:18px 8px 8px;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:rgba(255,255,255,.48);
    font-weight:800;
}

.sidebar-nav{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.sidebar-nav a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 13px;
    border-radius:13px;
    color:rgba(255,255,255,.82);
    font-size:14px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active{
    background:rgba(255,255,255,.13);
    color:white;
}

.sidebar-nav .icon{
    width:22px;
    text-align:center;
}

.main{
    margin-left:280px;
    width:calc(100% - 280px);
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.topbar{
    min-height:82px;
    background:white;
    border-bottom:1px solid var(--ab-border);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:16px 28px;
    position:sticky;
    top:0;
    z-index:20;
}

.topbar h1{
    margin:0;
    font-size:24px;
}

.topbar p{
    margin:4px 0 0;
    color:var(--ab-muted);
    font-size:13px;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:14px;
}

.company-pill{
    background:#ecfdf5;
    color:#166534;
    border:1px solid #bbf7d0;
    border-radius:999px;
    padding:9px 13px;
    font-weight:800;
    font-size:13px;
}

.user-box{
    text-align:right;
}

.user-box strong{
    display:block;
    font-size:14px;
}

.user-box button{
    background:none;
    border:0;
    padding:0;
    margin-top:4px;
    color:var(--ab-green);
    font-weight:800;
    cursor:pointer;
}

.content{
    padding:28px;
    flex:1;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin-bottom:22px;
}

.stat-card,
.panel{
    background:var(--ab-card);
    border:1px solid var(--ab-border);
    border-radius:20px;
    box-shadow:var(--ab-shadow);
}

.stat-card{
    padding:22px;
}

.stat-card span{
    display:block;
    color:var(--ab-muted);
    font-size:13px;
    margin-bottom:10px;
}

.stat-card strong{
    display:block;
    font-size:27px;
    margin-bottom:8px;
}

.stat-card small{
    color:var(--ab-muted);
}

.panel{
    padding:24px;
}

.panel-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    border-bottom:1px solid var(--ab-border);
    padding-bottom:18px;
    margin-bottom:22px;
}

.panel h2{
    margin:0 0 6px;
    color:var(--ab-green);
}

.panel p{
    margin:0;
    color:#4b5563;
    line-height:1.6;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 16px;
    border-radius:12px;
    border:1px solid var(--ab-border);
    background:white;
    color:var(--ab-text);
    font-weight:800;
    font-size:14px;
    cursor:pointer;
}

.btn.primary{
    background:var(--ab-green);
    color:white;
    border-color:var(--ab-green);
}

.btn.primary:hover{
    background:var(--ab-green-2);
}

.alert{
    padding:14px 16px;
    border-radius:14px;
    margin-bottom:18px;
    font-weight:800;
}

.alert.success{
    background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
}

.alert.danger{
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #fecaca;
}

.auth-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
    background:linear-gradient(135deg,#14532d,#22c55e);
}

.auth-card{
    width:100%;
    max-width:430px;
    background:white;
    border-radius:24px;
    padding:34px;
    box-shadow:0 24px 70px rgba(0,0,0,.25);
}

.auth-brand{
    display:flex;
    gap:14px;
    align-items:center;
    margin-bottom:28px;
}

.auth-logo{
    width:48px;
    height:48px;
    border-radius:16px;
    background:#14532d;
    color:white;
    display:grid;
    place-items:center;
    font-weight:900;
}

.auth-brand h1{
    margin:0;
    color:#14532d;
    font-size:25px;
}

.auth-brand p{
    margin:4px 0 0;
    color:var(--ab-muted);
}

label{
    display:block;
    margin-bottom:16px;
}

label span{
    display:block;
    font-weight:800;
    margin-bottom:7px;
}

input{
    width:100%;
    padding:13px;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:15px;
}

.auth-card button{
    width:100%;
    padding:14px;
    border:0;
    border-radius:12px;
    background:#14532d;
    color:white;
    font-weight:900;
    font-size:16px;
    cursor:pointer;
}

.auth-footer{
    margin-top:20px;
    text-align:center;
    color:var(--ab-muted);
    font-size:12px;
}

.footer{
    padding:18px 28px;
    color:var(--ab-muted);
    font-size:12px;
    text-align:right;
}

@media(max-width:1100px){
    .dashboard-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:850px){
    .sidebar{
        display:none;
    }

    .main{
        margin-left:0;
        width:100%;
    }

    .dashboard-grid{
        grid-template-columns:1fr;
    }

    .topbar{
        align-items:flex-start;
        flex-direction:column;
    }

    .topbar-right{
        width:100%;
        justify-content:space-between;
    }
}

.badge{
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:0 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
}

.badge.info{
    background:#dbeafe;
    color:#1d4ed8;
}

.badge.success,
.badge.ok{
    background:#dcfce7;
    color:#166534;
}

.badge.warning{
    background:#fef3c7;
    color:#92400e;
}

.badge.danger{
    background:#fee2e2;
    color:#991b1b;
}

.empty-state{
    padding:42px;
    border-radius:18px;
    background:linear-gradient(135deg,#ecfdf5,#ffffff);
    border:1px dashed #86efac;
    text-align:center;
}

.empty-state h3{
    margin:0 0 8px;
    color:var(--ab-green);
}

.empty-state p{
    margin:0;
    color:var(--ab-muted);
}

.table-wrap{
    width:100%;
    overflow-x:auto;
}

.data-table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}

.data-table th{
    text-align:left;
    padding:13px;
    background:#f9fafb;
    border-bottom:1px solid var(--ab-border);
    color:#374151;
    white-space:nowrap;
}

.data-table td{
    padding:13px;
    border-bottom:1px solid var(--ab-border);
    vertical-align:middle;
}

.data-table tr:hover td{
    background:#f9fafb;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.form-grid label.wide,
.form-actions.wide{
    grid-column:1 / -1;
}

.form-grid select,
.form-grid textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:12px;
    padding:13px;
    font-size:15px;
    font-family:inherit;
    background:white;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus{
    outline:none;
    border-color:var(--ab-green-3);
    box-shadow:0 0 0 4px rgba(34,197,94,.15);
}

.check-row{
    display:flex;
    align-items:center;
    gap:9px;
}

.check-row input{
    width:auto;
}

.form-actions{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    padding-top:8px;
}

@media(max-width:900px){
    .form-grid{
        grid-template-columns:1fr;
    }
}

.btn.danger{
    background:#fee2e2;
    color:#991b1b;
    border-color:#fecaca;
}

.btn.danger:hover{
    background:#fecaca;
}

.ab-grid-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:12px;
}

.ab-grid-toolbar h3{
    margin:0 0 4px;
    color:var(--ab-green);
    font-size:20px;
}

.ab-grid-toolbar p{
    margin:0;
    color:var(--ab-muted);
}

.ab-grid-search{
    width:100%;
    max-width:340px;
}

.ab-grid-search input{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:12px;
    padding:12px 13px;
    font-size:14px;
}

.ab-grid-counter{
    color:var(--ab-muted);
    font-size:13px;
    margin-bottom:14px;
}

.grid-actions{
    white-space:nowrap;
}

@media(max-width:850px){
    .ab-grid-toolbar{
        align-items:stretch;
        flex-direction:column;
    }

    .ab-grid-search{
        max-width:none;
    }
}

.search-page-form{
    display:flex;
    gap:12px;
    align-items:center;
}

.search-page-form input{
    flex:1;
}

.search-page-form button{
    width:auto;
}

@media(max-width:700px){
    .search-page-form{
        flex-direction:column;
        align-items:stretch;
    }

    .search-page-form button{
        width:100%;
    }
}

.topbar-search{
    flex:1;
    max-width:430px;
    display:flex;
    align-items:center;
    gap:8px;
}

.topbar-search input{
    width:100%;
    min-height:42px;
    border:1px solid #d1d5db;
    border-radius:999px;
    padding:0 15px;
    font-size:14px;
    background:#f9fafb;
}

.topbar-search input:focus{
    outline:none;
    border-color:var(--ab-green-3);
    box-shadow:0 0 0 4px rgba(34,197,94,.12);
    background:white;
}

.topbar-search button{
    width:42px;
    height:42px;
    border:0;
    border-radius:999px;
    background:var(--ab-green);
    color:white;
    font-weight:900;
    cursor:pointer;
}

@media(max-width:1050px){
    .topbar{
        flex-wrap:wrap;
    }

    .topbar-search{
        order:3;
        max-width:none;
        width:100%;
        flex-basis:100%;
    }
}

.ab-search-modal{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.55);
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:90px;
    z-index:99999;
}

.ab-search-modal.hidden{
    display:none;
}

.ab-search-box{
    width:min(850px,92vw);
    background:white;
    border-radius:22px;
    box-shadow:0 28px 90px rgba(0,0,0,.32);
    overflow:hidden;
}

.ab-search-header{
    display:flex;
    align-items:center;
    border-bottom:1px solid var(--ab-border);
}

#ab-search-input{
    width:100%;
    border:0;
    padding:22px;
    font-size:18px;
}

#ab-search-input:focus{
    outline:none;
}

#ab-search-close{
    width:58px;
    height:58px;
    border:0;
    background:white;
    font-size:32px;
    line-height:1;
    cursor:pointer;
    color:var(--ab-muted);
}

.ab-search-results{
    max-height:500px;
    overflow:auto;
    padding:18px;
}

.ab-search-help{
    margin:0;
    color:var(--ab-muted);
}

.ab-search-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:90px;
    z-index:99999;
}

.ab-search-modal.hidden{
    display:none;
}

.ab-search-box{
    width:min(850px,92vw);
    background:white;
    border-radius:18px;
    box-shadow:0 25px 80px rgba(0,0,0,.25);
    overflow:hidden;
}

#ab-search-input{
    width:100%;
    padding:22px;
    font-size:18px;
    border:0;
    border-bottom:1px solid #ececec;
}

#ab-search-input:focus{
    outline:none;
}

#ab-search-results{
    max-height:500px;
    overflow:auto;
    padding:18px;
}

.ab-search-muted{
    color:var(--ab-muted);
    margin:0;
}

.ab-search-section{
    margin-bottom:18px;
}

.ab-search-section h4{
    margin:0 0 8px;
    color:var(--ab-green);
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.ab-search-item{
    display:block;
    padding:12px 14px;
    border:1px solid var(--ab-border);
    border-radius:12px;
    margin-bottom:8px;
    background:#fff;
}

.ab-search-item:hover{
    background:#f9fafb;
    border-color:#bbf7d0;
}

.ab-search-item strong{
    display:block;
    color:var(--ab-text);
    margin-bottom:4px;
}

.ab-search-item span{
    display:block;
    color:var(--ab-muted);
    font-size:13px;
}

.topbar-search-trigger{
    flex:1;
    max-width:430px;
    min-height:42px;
    border:1px solid #d1d5db;
    border-radius:999px;
    background:#f9fafb;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 10px 0 16px;
    cursor:pointer;
    color:var(--ab-muted);
    font-weight:700;
}

.topbar-search-trigger:hover{
    background:white;
    border-color:#bbf7d0;
    box-shadow:0 0 0 4px rgba(34,197,94,.10);
}

.topbar-search-trigger kbd{
    background:white;
    border:1px solid var(--ab-border);
    border-radius:8px;
    padding:4px 7px;
    color:#374151;
    font-size:11px;
    font-weight:900;
}

.ab-search-header{
    display:flex;
    align-items:center;
    border-bottom:1px solid #ececec;
}

.ab-search-header #ab-search-input{
    border-bottom:0;
}

#ab-search-close{
    width:48px;
    height:48px;
    border:0;
    background:white;
    font-size:28px;
    color:var(--ab-muted);
    cursor:pointer;
}

#ab-search-close:hover{
    color:var(--ab-danger);
}

@media(max-width:1050px){
    .topbar-search-trigger{
        order:3;
        max-width:none;
        width:100%;
        flex-basis:100%;
    }
}

.detail-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.detail-grid div{
    background:#f9fafb;
    border:1px solid var(--ab-border);
    border-radius:14px;
    padding:14px;
}

.detail-grid span{
    display:block;
    color:var(--ab-muted);
    font-size:12px;
    margin-bottom:6px;
}

.detail-grid strong{
    display:block;
    color:var(--ab-text);
    font-size:15px;
}

@media(max-width:1000px){
    .detail-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:650px){
    .detail-grid{
        grid-template-columns:1fr;
    }
}

.status-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.status-actions form{
    margin:0;
}

.badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:24px;
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
    border:1px solid transparent;
}

.badge.ok{
    color:#166534;
    background:#dcfce7;
    border-color:#bbf7d0;
}

.badge.warning{
    color:#92400e;
    background:#fef3c7;
    border-color:#fde68a;
}

.badge.danger{
    color:#991b1b;
    background:#fee2e2;
    border-color:#fecaca;
}

.badge.info{
    color:#1e40af;
    background:#dbeafe;
    border-color:#bfdbfe;
}

.badge.primary{
    color:#14532d;
    background:#dcfce7;
    border-color:#86efac;
}

.badge.neutral{
    color:#374151;
    background:#f3f4f6;
    border-color:#e5e7eb;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:36px;
    padding:8px 14px;
    border-radius:12px;
    border:1px solid #d1d5db;
    background:#ffffff;
    color:#111827;
    font-size:13px;
    font-weight:900;
    line-height:1;
    text-decoration:none;
    cursor:pointer;
    transition:background .15s ease, border-color .15s ease, transform .12s ease, box-shadow .12s ease;
    white-space:nowrap;
}

.btn:hover{
    background:#f9fafb;
    border-color:#9ca3af;
    transform:translateY(-1px);
    box-shadow:0 6px 14px rgba(0,0,0,.08);
}

.btn.primary{
    background:#065f46;
    border-color:#065f46;
    color:#ffffff;
}

.btn.primary:hover{
    background:#064e3b;
    border-color:#064e3b;
}

.btn.secondary{
    background:#f0fdf4;
    border-color:#bbf7d0;
    color:#14532d;
}

.btn.danger{
    background:#fee2e2;
    border-color:#fecaca;
    color:#991b1b;
}

.btn.danger:hover{
    background:#fecaca;
}

.btn.ghost{
    background:transparent;
    border-color:transparent;
    color:#065f46;
    box-shadow:none;
}

.btn.ghost:hover{
    background:#ecfdf5;
    border-color:#bbf7d0;
    box-shadow:none;
}

.btn-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
}

.inline-form{
    display:inline-flex;
    margin:0;
}

.ab-page-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:20px;

    margin-bottom:26px;

}

.ab-page-header-left{

    flex:1;

}

.ab-page-header-left h1{

    margin:0;

    font-size:38px;

    font-weight:900;

    color:#0f172a;

    line-height:1.1;

}

.ab-page-header-left p{

    margin-top:8px;

    color:#64748b;

    font-size:15px;

}

.ab-page-header-right{

    display:flex;

    gap:12px;

    align-items:center;

}

.ab-page-header-actions{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}


.ab-stat-card{
    display:flex;
    align-items:center;
    gap:18px;
    padding:22px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    transition:.18s;
}

.ab-stat-card:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 35px rgba(0,0,0,.08);
}

.ab-stat-icon{
    width:62px;
    height:62px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ecfdf5;
    font-size:30px;
}

.ab-stat-content{
    flex:1;
}

.ab-stat-title{
    font-size:13px;
    color:#6b7280;
    font-weight:700;
    margin-bottom:4px;
}

.ab-stat-value{
    font-size:34px;
    font-weight:900;
    color:#111827;
    line-height:1.1;
}

.ab-stat-subtitle{
    margin-top:6px;
    font-size:13px;
    color:#6b7280;
}

.ab-card{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    overflow:hidden;

    margin-bottom:24px;

}

.ab-card-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:20px;

    padding:22px 26px;

    border-bottom:1px solid #eef2f7;

}

.ab-card-heading h2{

    margin:0;

    font-size:22px;

    font-weight:900;

    color:#0f172a;

}

.ab-card-heading p{

    margin-top:6px;

    color:#64748b;

    font-size:14px;

}

.ab-card-actions{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}

.ab-card-body{

    padding:24px 26px;

}

.ab-empty-state{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:220px;
    padding:36px 24px;
    text-align:center;
    background:#ffffff;
    border:1px dashed #d1d5db;
    border-radius:18px;
}

.ab-empty-icon{
    width:72px;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:20px;
    background:#ecfdf5;
    font-size:34px;
    margin-bottom:18px;
}

.ab-empty-state h3{
    margin:0;
    color:#111827;
    font-size:22px;
    font-weight:900;
}

.ab-empty-state p{
    max-width:520px;
    margin:8px 0 0;
    color:#6b7280;
    font-size:14px;
}

.ab-empty-action{
    margin-top:18px;
}

.ab-timeline{
    position:relative;
    margin:8px 0;
}

.ab-timeline::before{
    content:'';
    position:absolute;
    left:17px;
    top:0;
    bottom:0;
    width:2px;
    background:#d1d5db;
}

.ab-timeline-item{
    display:flex;
    gap:18px;
    position:relative;
    margin-bottom:24px;
}

.ab-timeline-dot{
    width:36px;
    height:36px;
    border-radius:999px;
    background:#ecfdf5;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    font-size:16px;
    border:2px solid #bbf7d0;
    z-index:2;
}

.ab-timeline-content{
    flex:1;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:14px 16px;
}

.ab-timeline-title{
    font-weight:800;
    color:#111827;
}

.ab-timeline-subtitle{
    margin-top:4px;
    color:#6b7280;
    font-size:13px;
}

.ab-timeline-date{
    margin-top:8px;
    font-size:12px;
    color:#9ca3af;
}


/* ABFruit DataGrid profesional */
.data-grid-wrap{
    width:100%;
}

.data-grid-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:16px;
    margin-bottom:16px;
}

.data-grid-head h3{
    margin:0;
    font-size:18px;
    font-weight:900;
    color:#0f172a;
}

.data-grid-head p{
    margin:6px 0 0;
    color:#64748b;
    font-size:14px;
}

.data-grid-scroll{
    width:100%;
    overflow-x:auto;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
}

.data-grid{
    width:100%;
    min-width:980px;
    border-collapse:separate;
    border-spacing:0;
    font-size:14px;
}

.data-grid th{
    background:#f8fafc;
    color:#334155;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.03em;
    padding:14px 16px;
    border-bottom:1px solid #e5e7eb;
    white-space:nowrap;
    text-align:left;
}

.data-grid td{
    padding:14px 16px;
    border-bottom:1px solid #eef2f7;
    vertical-align:middle;
    white-space:nowrap;
}

.data-grid tbody tr:hover{
    background:#f0fdf4;
}

.data-grid tbody tr:last-child td{
    border-bottom:none;
}

.data-grid-actions{
    display:flex;
    gap:8px;
    justify-content:flex-end;
    align-items:center;
}

.dg-left{
    text-align:left;
}

.dg-center{
    text-align:center;
}

.dg-right{
    text-align:right;
}

.data-grid th:last-child,
.data-grid td:last-child{
    text-align:right;
}


.ab-editable-grid-form{
    width:100%;
}

.ab-editable-grid-scroll{
    width:100%;
    overflow-x:auto;
    border:1px solid #dbe3ea;
    border-radius:14px;
    background:#fff;
}

.ab-editable-grid{
    width:100%;
    min-width:1200px;
    border-collapse:separate;
    border-spacing:0;
}

.ab-editable-grid th{
    padding:12px 10px;
    background:#f8fafc;
    border-bottom:1px solid #dbe3ea;
    color:#334155;
    font-size:11px;
    font-weight:900;
    text-align:left;
    text-transform:uppercase;
    white-space:nowrap;
}

.ab-editable-grid td{
    padding:8px;
    border-right:1px solid #eef2f7;
    vertical-align:middle;
}

.ab-editable-grid td:last-child,
.ab-editable-grid th:last-child{
    border-right:none;
}

.ab-grid-input{
    width:100%;
    min-width:105px;
    height:38px;
    padding:7px 9px;
    border:1px solid #cbd5e1;
    border-radius:9px;
    background:#fff;
    color:#0f172a;
    font-size:13px;
    outline:none;
}

.ab-grid-input:focus{
    border-color:#16a34a;
    box-shadow:0 0 0 3px rgba(22,163,74,.12);
}

.ab-editable-grid-action{
    width:1%;
    white-space:nowrap;
    text-align:right;
}
