* {
    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: #1d456f;
    border-color: #72a3c2;
    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%;
}

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(15, 15, 15, 0.88);
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

a {
    text-decoration: none;
}

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: #0a693a;
    color: white;
    border-top: 5px solid #8fc447;
}

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;
}

form label {
	width: 100%;
	font-weight: bold;
}

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

form label span {
    padding: 4px 30px;
}

fieldset {
    margin-bottom: 10px;
}

legend {
    font-size: 12pt;
    font-weight: bolder;
}

textarea {
    border: 1px solid rgba(0,0,0,.125);
    padding: 10px 10px;
    font-size: 11pt;
    box-shadow: 0 1px 6px 0 var(--N700,rgba(49,53,59,0.12));
    box-sizing: border-box;
	max-width: 100%;
}

input, select, option, button {
    padding: 5pt 10pt;
    font-size: 11pt;
    box-sizing: border-box;
    box-shadow: none;
    border: 1pt solid #FDBA74;
    border-radius: 6px;
    cursor: pointer;
    max-width: 98%;
    accent-color: #F97316;
    background: transparent;
}

input:focus, select:focus {
    outline: none;
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

button {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #ffffff;
    border-color: #F97316;
    transition: all 0.2s ease;
    margin-right: 5px;
}

button:hover {
    background: linear-gradient(135deg, #EA580C, #C2410C);
    border-color: #C2410C;
}

option {
    background: #ffffff;
    color: #9A3412;
}

div.outer {
    padding: 0 5px;
}

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

.apps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    margin-bottom: 0px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-radius: 14px;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.apps-header-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.apps-header + div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.apps-header div a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.apps-header div a.mr10 {
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.apps-header div a.mr10:hover {
    color: #1d4ed8;
    background: #dbeafe;
    border-color: #bfdbfe;
}

.apps-header div a.logout {
    color: #ffffff;
    background: #2563eb;
    border: 1px solid #2563eb;
}

.apps-header div a.logout:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
}

.menu-trigger {
    padding: 4px 10px;
    color: #ffffff;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.menu-trigger:hover {
    background: #1d4ed8;
}

.apps-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.apps-menu a {
    display: inline-flex;
    text-decoration: none;
}

.apps-menu button {
    padding: 11px 18px;
    color: #F97316;
    background: #f8fafc;
    border: 1px solid #F97316;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; 
}

.apps-menu button:hover {
    color: #EA580C;
    background: #FFF7ED;
    border-color: #FDBA74;
    transform: translateY(-1px);
}

.apps-menu button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-color: #F97316;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
}

@media (max-width: 768px) {
    .apps-header {
        padding: 18px;
        border-radius: 12px;
    }

    .apps-header-title {
        font-size: 21px;
    }

    .apps-header + div {
        justify-content: space-between;
        gap: 8px;
    }

    .menu-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .apps-menu {
        gap: 8px;
        padding: 10px;
    }

    .apps-menu button {
        padding: 10px 13px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .apps-header {
        padding: 16px;
        margin-bottom: 12px;
    }

    .apps-header-title {
        font-size: 19px;
    }

    .apps-header + div {
        justify-content: flex-start;
    }

    .apps-header + div a {
        padding: 9px 11px;
        font-size: 12px;
    }

    .apps-menu {
        gap: 7px;
        padding: 9px;
    }

    .apps-menu button {
        padding: 9px 11px;
        font-size: 12px;
    }
}

table {
	width: 100%;
	float: left;
	margin-bottom: 10px;
	border: 1px solid #a1a1a1;
}
thead {
	border-bottom: 2px solid #ef610f;
    background: #fff;
    color: #f06310;
}
tbody {
	border: 1px solid #a1a1a1;
}

th, td {
	padding: 10px;
	vertical-align: middle;
}
th {
	font-weight: bold;
}

.form {
    background-color: white;
    border: 1px solid rgba(0,0,0,.125);
    padding: 15px;
    box-shadow: 0 1px 6px 0 var(--N700,rgba(49,53,59,0.12));
}

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

.d-none {
    display: none;
}

button:disabled {
    cursor: not-allowed;
}

.btn-success {
    border: 1px solid #0a693a;
    background-color: #0a693a;
    color: white;
    padding: 5px 15px;
    font-size: 14pt;
}

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

.btn-warning {
    border: 1px solid #ffc107;
    background-color: #ffc107;
    color: rgba(15, 15, 15, 0.88);
    padding: 5px 15px;
    font-size: 14pt;
}

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

.btn-info {
    border: 1px solid #17a2b8;
    background-color: #17a2b8;
    color: white;
    padding: 5px 15px;
    font-size: 14pt;
}

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

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

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

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

.btn-block {
    width: 100%;
}

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

.tal {
    text-align: left;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.taj {
    text-align: justify;
}

.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;
}
.mb5 {
	margin-bottom: 5px;
}

.mr10 {
	margin-right: 10px;
}

.ml10 {
	margin-left: 10px;
}

.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;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.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;
}

.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;
}

.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;
    }
}

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

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

.is-nol{
	color: #eee;
}

.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(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

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

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

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

.card.ayam {
    border-left: 6px solid #4CAF50;
}

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

.chat-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
    font-family: sans-serif;
}

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

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

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

.ai {
    background: #fff;
    border: 1px solid #ddd;
    margin-right: auto;
}

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

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

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

table tbody tr:hover {
    background: #ffc081;
}