*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#f5f5f5;
    color:#333;
}

.container{
    max-width:700px;
    margin:25px auto;
    padding:15px;
}

.header{
    background:#ff6b00;
    color:white;
    text-align:center;
    padding:30px 20px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    margin-bottom:25px;
}

.header h1{
    font-size:36px;
    margin:0;
    font-weight:700;
}

.header p{
    margin-top:8px;
    font-size:16px;
    opacity:.95;
}

.header span{
    display:block;
    margin-top:12px;
    font-size:14px;
    opacity:.9;
}

.card{

background:white;

border-radius:18px;

padding:24px;

box-shadow:0 5px 18px rgba(0,0,0,.08);

margin-bottom:22px;

}

.card h2{
    margin-bottom:18px;
    color:#ff6b00;
}

label{
    display:block;
    margin-top:15px;
    margin-bottom:6px;
    font-weight:bold;
}

input[type=number],
input[type=text]{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
}

input:focus{
    border-color:#ff6b00;
}

.titleRow{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

#totalPersen{
    font-weight:bold;
    color:#ff6b00;
}

.feeItem{
    display:flex;
    gap:10px;
    align-items:center;
    margin-bottom:12px;
}

.feeItem input[type=text]{
    flex:1;
}

.feeItem input[type=number]{
    width:90px;
}

.switch{
    width:22px;
    height:22px;
    cursor:pointer;
}

#addFee{
    width:100%;
    margin-top:15px;
    padding:14px;
    border:none;
    background:#ff6b00;
    color:white;
    font-size:16px;
    border-radius:12px;
    cursor:pointer;
    transition:.2s;
}

#addFee:hover{
    background:#e65f00;
}

.result h1{
    margin:15px 0;
    color:#ff6b00;
    font-size:34px;
}

.row{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.row:last-child{
    border-bottom:none;
}

.row b{
    color:#ff6b00;
}

.footer{
    text-align:center;
    margin:30px 0;
    color:#777;
    font-size:13px;
}

button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#ee4d2d;
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;
}

button:hover{
    background:#d73211;
}

button:active{
    transform:scale(.97);
}

@media(max-width:600px){

.header h1{
    font-size:24px;
}

.result h1{
    font-size:28px;
}

.feeItem{
    flex-direction:column;
    align-items:stretch;
}

.feeItem input[type=number]{
    width:100%;
}

}

#resetData{

width:100%;

margin-top:10px;

padding:14px;

background:#e53935;

color:white;

border:none;

border-radius:12px;

font-size:16px;

cursor:pointer;

}

#resetData:hover{

background:#c62828;

}

.feeItem button{

width:45px;

height:45px;

border:none;

background:#ff4d4f;

color:white;

font-size:18px;

border-radius:10px;

cursor:pointer;

}

.feeItem button:hover{

background:#d9363e;

}

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

button img,
button svg {
    display: block;
    margin: 0 auto;
}

/* Validasi kalkulator */
.grossProfit.warning {
    color: #c62828;
}

#licenseStatus a {
    color: #ff6b00;
    font-weight: bold;
    text-decoration: none;
}
