* {
    box-sizing: border-box;
}

html * {
    font-size: 13px;
}

* span {
    font-size: initial;
}

html {
    margin: 0;
    padding: 0;
    line-height: 1;
    overflow-x: hidden;
}

html, body, div, span, applet, object, iframe, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
form, label,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {

    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

hr, .hr {
    border-width: 0 0 1px 0;
    border-style: solid;
    color: #164d36;
    border-color: #b7d8c5;
    margin: 0 0 10px;
    float: left;
    width: 100%;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 18px;
}

h4, h5, h6 {
    font-size: 100%;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
    font-size: 15px;
    color: rgba(25, 45, 35, 0.92);
    background: #f4f8f5;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #176b45;
}

a:focus {
    outline: none;
}

p {
    line-height: 1.3;
    width: 100%;
    float: left;
    margin-bottom: 5px;
}

ul {
    list-style: square;
}

li {
    margin-left: 20px;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

footer {
    margin-top: 5rem;
}

footer div.footer {
    padding: 1rem 0;
    background: #164d36;
    color: white;
    border-top: 5px solid #5fa875;
}

footer div.footer a {
    color: white;
}

header,
content,
main,
footer,
aside,
article,
div,
h1,
h2,
h3,
h4,
h5 {
    width: 100%;
    float: left;
}

div {
    position: relative;
}

div::after,
div:after,
table::after {
    content: "";
    clear: both;
    display: table;
}

form td {
    border: none;
    word-wrap: break-word;
}

label span {
    font-weight: normal;
    display: block;
    cursor: pointer;
}

span.hints {
    font-size: 13px;
    font-style: italic;
    display: inline-block;
    color: #668073;
}

form label {
    width: 100%;
    font-weight: bold;
    color: #294b3a;
}

form label.label {
    padding: 0 !important;
}

fieldset {
    margin-bottom: 10px;
}

legend {
    font-size: 12pt;
    font-weight: bolder;
    color: #164d36;
}

textarea {
    border: 1px solid #c9ddd0;
    padding: 10px 10px;
    font-size: 11pt;
    box-shadow: 0 2px 8px rgba(22, 77, 54, 0.08);
    box-sizing: border-box;
    max-width: 100%;
    background: #ffffff;
    color: #243b30;
}

input,
select,
option,
button {
    padding: 4pt 13pt 3pt;
    font-size: 11pt;
    box-sizing: border-box;
    cursor: pointer;
    max-width: 98%;
    color: #294b3a;
    background-color: #ffffff;
    border: 1pt solid #c9ddd0;
    border-radius: 7px;
    box-shadow:
        0 2px 6px rgba(22, 77, 54, 0.06);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

/* =========================================
   BUTTON
========================================= */
button {
    background: linear-gradient(
        135deg,
        #28724d 0%,
        #1f6041 100%
    );
    border: 1px solid #1b583b;
    color: #ffffff;
    font-weight: 200;
    box-shadow:
        0 3px 8px rgba(22, 77, 54, 0.18);
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.12);
}

/* =========================================
   BUTTON HOVER
======================================== */
button:hover {
    background: linear-gradient(
        135deg,
        #34865c 0%,
        #28724d 100%
    );
    border-color: #28724d;
    box-shadow:
        0 5px 12px rgba(22, 77, 54, 0.24);
    transform: translateY(-1px);
}

/* =========================================
   BUTTON ACTIVE
========================================= */
button:active {
    transform: translateY(0);
    box-shadow:
        0 2px 5px rgba(22, 77, 54, 0.16);
}

/* =========================================
   INPUT & SELECT
========================================= */
input:hover,
select:hover,
textarea:hover {
    border-color: #8db6a0;

    box-shadow:
        0 2px 7px rgba(22, 77, 54, 0.07);
}

/* =========================================
   FOCUS
========================================= */
input:focus,
textarea:focus,
select:focus {
    border: 1px solid #39815b;
    outline: none;
    box-shadow:
        0 0 0 3px rgba(57, 129, 91, 0.13),
        0 3px 8px rgba(22, 77, 54, 0.08);
}


/* =========================================
   DISABLED
========================================= */
button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

input:focus, textarea:focus, select:focus {
    border: 1px solid rgba(38, 125, 78, 0.65);
    outline: none;
    box-shadow: 0 1px 7px rgba(38, 125, 78, 0.22);
}

div.outer {
    padding: 0 5px;
}

div.inner {
    max-width: 1300px;
    margin: 0 auto;
    float: none;
}

div.inner .apps-header {
    background: linear-gradient( 90deg, #164d36 0%, #1f6b48 28%, #5fa875 58%, #eef7f1 100% );
    border-bottom: 1px solid #4f9368;
    color: white;
    padding: 10px;
    font-weight: normal;
    z-index: 999;
}

table {
    width: 100%;
    float: left;
    margin-bottom: 10px;
    border: 1px solid #c3d8ca;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
}

thead {
    border-bottom: 2px solid #2f7250;
    background: #285f44;
    color: white;
}

tbody {
    border: 1px solid #d2e2d7;
    background: #ffffff;
}

tbody tr:hover {
    color: #173d2b;
    background: #edf7f0;
}

th, td {
    padding: 5px;
    vertical-align: middle;
}

th {
    font-weight: bold;
}

.form {
    background-color: white;
    border: 1px solid #d2e2d7;
    padding: 15px;
    box-shadow: 0 3px 12px rgba(22, 77, 54, 0.08);
}

.border {
    border: 1px solid #bdd4c5;
    padding: 0 5px 10px 5px;
}

.d-none {
    display: none;
}

/* button */

button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.btn-success {
    border: 1px solid #185c3d;
    background-color: #185c3d;
    color: white;
    padding: 5px 15px;
    font-size: 14pt;
    box-shadow: 0 3px 8px rgba(24, 92, 61, 0.18);
}

.btn-success:hover {
    border: 1px solid #4f9a69;
    background-color: #4f9a69;
    cursor: pointer;
}

.btn-warning {
    border: 1px solid #c59a28;
    background-color: #d7ad35;
    color: #25352b;
    padding: 5px 15px;
    font-size: 14pt;
    box-shadow: 0 3px 8px rgba(197, 154, 40, 0.14);
}

.btn-warning:hover {
    background-color: #bd9427;
    cursor: pointer;
}

.btn-info {
    border: 1px solid #2d8061;
    background-color: #2d8061;
    color: white;
    padding: 5px 15px;
    font-size: 14pt;
    box-shadow: 0 3px 8px rgba(45, 128, 97, 0.16);
}

.btn-info:hover {
    background-color: #246a50;
    cursor: pointer;
}

.btn-danger {
    border: 1px solid #b84444;
    background: #b84444;
    color: white;
    padding: 5px 15px;
    font-size: 14pt;
    box-shadow: 0 3px 8px rgba(184, 68, 68, 0.15);
}

.btn-danger:hover {
    background: #963838;
    cursor: pointer;
}

.btn-scroll {
    border: 1px solid #4f9a69;
    background-color: #4f9a69;
    color: white;
    padding: 5px 15px;
    font-size: 14pt;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 10pt;
}

/* text align */

.tal {
    text-align: left;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.taj {
    text-align: justify;
}

/* margin */

.m5 {
    margin: 5px;
}

.m10 {
    margin: 10px;
}

.mx5 {
    margin: 0 5px;
}

.mx10 {
    margin: 0 10px;
}

.my5 {
    margin: 5px 0;
}

.my10 {
    margin: 10px 0;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.m0a {
    margin: 0 auto;
    float: none;
}

.mr10 {
    margin-right: 10px;
}

.ml10 {
    margin-left: 10px;
}

/* padding */

.p0 {
    padding: 0;
}

.p5 {
    padding: 5px;
}

.p10 {
    padding: 10px;
}

.px5 {
    padding: 0 5px;
}

.px10 {
    padding: 0 10px;
}

.py5 {
    padding: 5px 0;
}

.py10 {
    padding: 10px 0;
}

.pt5 {
    padding-top: 5px;
}

.pt10 {
    padding-top: 10px;
}

.pb5 {
    padding-bottom: 5px;
}

.pb10 {
    padding-bottom: 10px;
}

/* float */

.fr {
    float: right;
}

.fl {
    float: left;
}

/* width */

.wa {
    width: auto;
}

.w5 {
    width: 5%;
}

.w10 {
    width: 10%;
}

.w15 {
    width: 15%;
}

.w20 {
    width: 20%;
}

.w25 {
    width: 25%;
}

.w30 {
    width: 30%;
}

.w33 {
    width: calc(100% / 3);
}

.w40 {
    width: 40%;
}

.w45 {
    width: 45%;
    float: left;
}

.w50 {
    width: 50%;
    float: left;
}

.w55 {
    width: 55%;
    float: left;
}

.w60 {
    width: 60%;
}

.w66 {
    width: calc(100% * 2 / 3);
}

.w70 {
    width: 70%;
}

.w75 {
    width: 75%;
}

.w80 {
    width: 80%;
}

.w90 {
    width: 90%;
}

.w100 {
    width: 100%;
    float: left;
}

.w50:nth-child(odd) {
    padding-right: 3px;
}

.w50:nth-child(even) {
    padding-left: 3px;
}

/* FONT SIZE */

.fs-10 {
    font-size: 10px;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-22 {
    font-size: 22px;
}

.fs-24 {
    font-size: 24px;
}

.fs-26 {
    font-size: 26px;
}

.fs-32 {
    font-size: 32px;
}

.fs-36 {
    font-size: 36px;
}

.fs-48 {
    font-size: 48px;
}

.bold,
.fw-bold {
    font-weight: bolder;
}

.fw-normal {
    font-weight: normal;
}

.resize-none {
    resize: none;
}

.resize-vertical {
    resize: vertical;
}

.resize-horizontal {
    resize: horizontal;
}

/* fonts */

.uppercase {
    text-transform: uppercase;
}

.flex {
    display: flex;
}

.flex-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flex-centralize {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {

    .w50 {
        width: 100%;
    }

    .w50:nth-child(odd) {
        padding-right: 0px;
    }

    .w50:nth-child(even) {
        padding-left: 0px;
    }

    input, textarea, select {
        padding: 6px 6px;
    }
}

/* ==========SCROLL BACK TO TOP========== */

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    cursor: pointer;
}

/* ==========END SCROLL BACK TO TOP========== */

.table-cell {
    display: flex;
    float: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.is-nol {
    color: #e8f1eb;
}

.dashboard {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(22, 77, 54, 0.10);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(22, 77, 54, 0.14);
}

.card .title {
    font-size: 25px;
    color: #60756a;
    margin-bottom: 10px;
    font-weight: bold;
}

.card .value {
    font-size: 32px;
    font-weight: bold;
    color: #214d37;
    text-align: center;
}

.card .icon {
    position: absolute;
    bottom: 20px;
    font-size: 40px;
}

/* warna beda tiap card */

.card.ayam {
    border-left: 6px solid #3f8f5b;
}

.card.telur {
    border-left: 6px solid #b89a38;
}

.chat-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    border: 1px solid #c9ddd0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
    font-family: sans-serif;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(22, 77, 54, 0.10);
}

.chat-box {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f1f7f3;
}

.chat {
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
}

.kamu {
    background: #28724d;
    color: white;
    margin-left: auto;
    text-align: right;
}

.ai {
    background: #ffffff;
    border: 1px solid #d4e2d9;
    margin-right: auto;
    color: #294b3a;
}

.chat-input-area {
    display: flex;
    border-top: 1px solid #d4e2d9;
    background: #ffffff;
}

.chat-input-area input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    background: #ffffff;
}

.chat-input-area button {
    padding: 10px 20px;
    border: none;
    background: #28724d;
    color: white;
    cursor: pointer;
}

.chat-input-area button:hover {
    background: #1d5b3d;
}