/* ==========================================================
   FMC BROILER MOBILE
   DOC IN CSS
   ========================================================== */


/* ==========================================================
   PAGE
   ========================================================== */

#docinPage{
    width:100%;
    padding-bottom:100px;
    box-sizing:border-box;
}


/* ==========================================================
   CARD
   ========================================================== */

.docinCard{
    width:100%;
    max-width:720px;
    margin:0 auto;
    padding:0;
    overflow:hidden;
    box-sizing:border-box;
}


/* ==========================================================
   HEADER
   ========================================================== */

.docinHeader{
    padding:20px 18px 18px;

    background:linear-gradient(
        135deg,
        #0b8f43,
        #087438
    );

    color:#fff;
}

.docinHeader h2{
    display:flex;
    align-items:center;
    gap:9px;

    margin:0;

    font-size:21px;
    font-weight:800;

    color:#fff;
}

.docinHeader h2 .material-symbols-rounded{
    font-size:27px;
    color:#fff;
}

.docinHeader p{
    margin:7px 0 0;

    font-size:13px;

    color:#fff;
    opacity:.9;
}


/* ==========================================================
   SECTION
   ========================================================== */

.docinSection{
    margin:14px;
    padding:16px;

    border:1px solid #e7eaec;
    border-radius:18px;

    background:#fff;

    box-sizing:border-box;
}

.docinSection h3{
    display:flex;
    align-items:center;
    gap:8px;

    margin:0 0 16px;

    font-size:15px;
    font-weight:800;

    color:#182027;
}

.docinSection h3 .material-symbols-rounded{
    font-size:21px;
    color:#0b8f43;
}


/* ==========================================================
   FORM LABEL
   ========================================================== */

.docinSection label{
    display:block;

    margin:13px 0 6px;

    font-size:12px;
    font-weight:700;

    color:#667085;
}


/* ==========================================================
   FORM INPUT
   ========================================================== */

.docinSection input{
    width:100%;
    min-height:46px;

    padding:11px 13px;

    box-sizing:border-box;

    border:1px solid #dfe3e6;
    border-radius:12px;

    background:#fff;
    color:#1d2939;

    font-family:inherit;
    font-size:14px;

    outline:none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.docinSection input::placeholder{
    color:#98a2b3;
}

.docinSection input:focus{
    border-color:#0b8f43;

    box-shadow:
        0 0 0 3px
        rgba(11,143,67,.10);
}


/* ==========================================================
   FLOK CARD
   ========================================================== */

.docinFlok{
    position:relative;

    margin-top:12px;
    padding:15px;

    border:1px solid
        rgba(11,143,67,.12);

    border-radius:16px;

    background:
        linear-gradient(
            180deg,
            rgba(11,143,67,.045),
            rgba(11,143,67,.015)
        );

    box-sizing:border-box;
}

.docinFlokTitle{
    display:flex;
    align-items:center;

    margin-bottom:10px;

    font-size:14px;
    font-weight:800;

    color:#0b8f43;
}

.docinFlokTitle::before{
    content:"";

    width:7px;
    height:7px;

    margin-right:8px;

    border-radius:50%;

    background:#0b8f43;

    flex:none;
}


/* ==========================================================
   TAMBAH DATA
   ========================================================== */

.docinAddBtn{
    width:calc(100% - 28px);
    min-height:52px;

    margin:
        0
        14px
        16px;

    padding:10px 16px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;

    border:1px solid #bfe6cf;
    border-radius:14px;

    background:#eaf8f0;
    color:#087b39;

    font-family:inherit;
    font-size:14px;
    font-weight:800;

    cursor:pointer;

    box-sizing:border-box;

    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease;
}

.docinAddBtn .material-symbols-rounded{
    font-size:22px;
    color:#0b8f43;
}

.docinAddBtn:active{
    transform:scale(.985);
}

.docinAddBtn:hover{
    background:#e2f5ea;
    border-color:#9ed7b5;
}


/* ==========================================================
   DATA YANG DISIAPKAN
   ========================================================== */

.docinTableWrap{
    width:100%;
    box-sizing:border-box;
}

.docinEmpty{
    min-height:150px;

    padding:20px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    border:1px dashed #d6dadd;
    border-radius:16px;

    background:#fafbfc;

    color:#7c8388;

    box-sizing:border-box;
}

.docinEmpty .material-symbols-rounded{
    margin-bottom:8px;

    font-size:38px;

    color:#aab0b4;
}

.docinEmpty strong{
    font-size:15px;
    color:#4d555b;
}

.docinEmpty small{
    max-width:280px;

    margin-top:5px;

    font-size:12px;
    line-height:1.5;

    color:#7c8388;
}


/* ==========================================================
   REKAP LIST
   ========================================================== */

.docinRekapList{
    display:flex;
    flex-direction:column;
    gap:12px;

    width:100%;
}


/* ==========================================================
   REKAP ITEM
   ========================================================== */

.docinRekapItem{
    width:100%;

    padding:15px;

    border:1px solid #e5e7e9;
    border-radius:16px;

    background:#fff;

    box-sizing:border-box;

    box-shadow:
        0 3px 12px
        rgba(16,24,40,.04);
}


/* ==========================================================
   REKAP HEADER
   ========================================================== */

.docinRekapHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:12px;

    padding-bottom:12px;

    border-bottom:1px solid #eeeeee;
}

.docinRekapHeader > div{
    min-width:0;

    display:flex;
    flex-direction:column;
    gap:4px;
}

.docinRekapHeader strong{
    color:#182027;

    font-size:17px;
    font-weight:800;

    word-break:break-word;
}

.docinRekapHeader small{
    color:#7d8489;

    font-size:12px;
}


/* ==========================================================
   TOMBOL HAPUS
   ========================================================== */

.docinDeleteBtn{
    width:42px;
    height:42px;

    flex:none;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border:1px solid #f1d0d0;
    border-radius:12px;

    background:#fff2f2;
    color:#d92e2e;

    cursor:pointer;

    transition:
        transform .15s ease,
        background .15s ease;
}

.docinDeleteBtn .material-symbols-rounded{
    font-size:21px;
    color:#d92e2e;
}

.docinDeleteBtn:active{
    transform:scale(.94);
}

.docinDeleteBtn:hover{
    background:#ffe7e7;
}


/* ==========================================================
   REKAP GRID
   ========================================================== */

.docinRekapGrid{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:9px;

    margin-top:13px;
}

.docinRekapGrid > div{
    min-width:0;

    padding:11px;

    border-radius:12px;

    background:#f7f8f9;

    box-sizing:border-box;
}

.docinRekapGrid small{
    display:block;

    margin-bottom:4px;

    color:#7d8489;

    font-size:10px;
    font-weight:800;

    letter-spacing:.4px;
}

.docinRekapGrid strong{
    display:block;

    color:#20272c;

    font-size:14px;
    font-weight:700;

    word-break:break-word;
}


/* ==========================================================
   REKAP FLOK
   ========================================================== */

.docinRekapFlok{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:9px;

    margin-top:10px;

    padding-top:10px;

    border-top:1px dashed #dfe3e5;
}

.docinRekapFlok > div{
    min-width:0;

    padding:10px;

    border-radius:12px;

    background:#eef8f2;

    box-sizing:border-box;
}

.docinRekapFlok small{
    display:block;

    margin-bottom:3px;

    color:#6f7a74;

    font-size:10px;
    font-weight:700;
}

.docinRekapFlok strong{
    display:block;

    margin-bottom:2px;

    color:#087b39;

    font-size:14px;
    font-weight:800;

    word-break:break-word;
}


/* ==========================================================
   TOTAL RESULT
   ========================================================== */

.docinResult{
    display:flex;
    align-items:center;
    gap:13px;

    margin:14px;

    padding:16px;

    border:1px solid
        rgba(11,143,67,.15);

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            rgba(11,143,67,.10),
            rgba(11,143,67,.035)
        );

    box-sizing:border-box;
}

.docinResultIcon{
    width:45px;
    height:45px;

    flex:none;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:13px;

    background:#0b8f43;
    color:#fff;
}

.docinResultIcon .material-symbols-rounded{
    font-size:24px;
    color:#fff;
}

.docinResult small{
    display:block;

    margin-bottom:3px;

    font-size:10px;
    font-weight:800;

    letter-spacing:.7px;

    color:#667085;
}

.docinResult strong{
    display:block;

    font-size:22px;
    font-weight:800;

    color:#0b8f43;
}

.docinResult span{
    display:block;

    margin-top:2px;

    font-size:11px;

    color:#667085;
}


/* ==========================================================
   MESSAGE
   ========================================================== */

.docinMessage{
    margin:14px;

    padding:11px 13px;

    border-radius:12px;

    font-size:13px;
    font-weight:600;

    box-sizing:border-box;
}

.docinMessage.success{
    background:#eaf8ef;
    color:#087438;

    border:1px solid #cce8d6;
}

.docinMessage.error{
    background:#fff0f0;
    color:#b42318;

    border:1px solid #f2cccc;
}

.docinMessage.info{
    background:#eef5fb;
    color:#175cd3;

    border:1px solid #d5e4ef;
}


/* ==========================================================
   SAVE BUTTON
   ========================================================== */

.docinSaveBtn{
    width:calc(100% - 28px);
    min-height:50px;

    margin:
        0
        14px
        18px;

    padding:10px 16px;

    border:0;
    border-radius:14px;

    background:
        linear-gradient(
            135deg,
            #0b8f43,
            #087438
        );

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:9px;

    font-family:inherit;
    font-size:14px;
    font-weight:800;

    cursor:pointer;

    box-shadow:
        0 8px 18px
        rgba(11,143,67,.18);

    box-sizing:border-box;

    transition:
        transform .15s ease,
        opacity .15s ease;
}

.docinSaveBtn:active{
    transform:scale(.98);
}

.docinSaveBtn:disabled{
    opacity:.65;
    cursor:not-allowed;
}

.docinSaveBtn .material-symbols-rounded{
    font-size:21px;
    color:#fff;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:480px){

    #docinPage{
        padding-bottom:88px;
    }


    .docinSection{
        margin:11px;
        padding:14px;

        border-radius:16px;
    }


    .docinHeader{
        padding:
            17px
            15px
            16px;
    }


    .docinHeader h2{
        font-size:19px;
    }


    .docinHeader p{
        font-size:12px;
    }


    .docinAddBtn{
        width:calc(100% - 22px);

        margin-left:11px;
        margin-right:11px;
    }


    .docinResult{
        margin:11px;
    }


    .docinMessage{
        margin:11px;
    }


    .docinSaveBtn{
        width:calc(100% - 22px);

        margin-left:11px;
        margin-right:11px;
    }


    .docinRekapItem{
        padding:13px;
    }


    .docinRekapGrid,
    .docinRekapFlok{
        gap:8px;
    }


    .docinRekapGrid > div,
    .docinRekapFlok > div{
        padding:9px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media(max-width:360px){

    .docinRekapGrid,
    .docinRekapFlok{
        grid-template-columns:1fr;
    }


    .docinRekapHeader strong{
        font-size:15px;
    }


    .docinRekapGrid strong,
    .docinRekapFlok strong{
        font-size:13px;
    }

}


/* ==========================================================
   HEADER DOC IN
   ========================================================== */

#docinPage .card:first-child h2,
#docinPage .card:first-child p{
    color:#fff !important;
}

#docinPage .card:first-child h2 .material-symbols-rounded{
    color:#fff !important;
}