body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f3f5f8;
    color:#222;
}

a{
    text-decoration:none;
}

.login-body{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.login-wrapper{
    width:100%;
    max-width:460px;
    background:#fff;
    border-radius:16px;
    padding:30px 24px;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
    text-align:center;
}

.login-logo{
    width:220px;
    max-width:90%;
    height:auto;
    display:block;
    margin:0 auto 20px;
}

.login-festname{
    margin:0 0 24px;
    font-size:24px;
    color:#004080;
}

.login-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.text-input,
.select-input{
    width:100%;
    box-sizing:border-box;
    padding:14px;
    font-size:18px;
    border:1px solid #ccc;
    border-radius:10px;
    background:#fff;
}

.button,
button.button{
    display:inline-block;
    width:100%;
    box-sizing:border-box;
    border:none;
    border-radius:10px;
    background:#004080;
    color:#fff;
    font-size:18px;
    font-weight:bold;
    padding:14px 18px;
    cursor:pointer;
    text-align:center;
}

.button:hover,
button.button:hover{
    background:#0059b3;
}

.button.secondary{
    background:#6d7b8a;
}

.button.secondary:hover{
    background:#55616d;
}

.error-text{
    color:#b00020;
    margin-top:16px;
}

.footer-link{
    margin-top:22px;
    font-size:14px;
}

.footer-link a{
    color:#555;
}

.page-header{
    display:flex;
    align-items:center;
    gap:12px;
    background:#fff;
    padding:12px 18px;
    border-bottom:2px solid #004080;
}

.simple-header{
    justify-content:flex-start;
}

.header-logo-link{
    display:flex;
    align-items:center;
}

.small-logo{
    height:44px;
    width:auto;
}

.page-title-box{
    flex:1;
}

.page-title{
    font-size:22px;
    color:#004080;
    font-weight:bold;
    text-align:right;
}

.page-content{
    padding:18px;
}

.page-content.narrow{
    max-width:900px;
    margin:0 auto;
}

.card{
    background:#fff;
    border-radius:14px;
    padding:16px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    margin-bottom:16px;
}

.section-title{
    margin:0 0 12px;
    color:#004080;
}

.table-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap:12px;
}

.table-button,
button.table-button{
    width:100%;
    border:none;
    border-radius:12px;
    background:#004080;
    color:#fff;
    font-size:20px;
    font-weight:bold;
    padding:22px 10px;
    cursor:pointer;
}

.table-button:hover,
button.table-button:hover{
    background:#0059b3;
}

.divider{
    height:2px;
    background:#d9dee5;
    margin:18px 0;
}

.product-row,
.list-row,
.pay-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    background:#fff;
    border-radius:12px;
    padding:14px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
    margin-bottom:10px;
}

.qty-box{
    display:flex;
    align-items:center;
    gap:6px;
}

.qty-btn{
    width:42px;
    height:42px;
    border:none;
    border-radius:8px;
    font-size:24px;
    background:#ddd;
    cursor:pointer;
}

.qty-input{
    width:64px;
    text-align:center;
    font-size:20px;
    padding:8px;
    border:1px solid #ccc;
    border-radius:8px;
}

.summary-box{
    background:#fff;
    border-radius:12px;
    padding:16px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
    margin-top:14px;
}

.summary-line{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin:8px 0;
    font-size:18px;
}

.cash-input{
    width:100%;
    box-sizing:border-box;
    padding:14px;
    font-size:20px;
    border:1px solid #ccc;
    border-radius:10px;
}

.quick-buttons{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:8px;
    margin-top:10px;
}

.quick-buttons button{
    padding:12px;
    font-size:18px;
    border:none;
    border-radius:8px;
    background:#ddd;
    cursor:pointer;
}

.note{
    font-size:14px;
    color:#666;
    margin-top:8px;
}

.form-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
}

.table-wrap{
    overflow:auto;
    background:#fff;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.data-table{
    width:100%;
    border-collapse:collapse;
}

.data-table th,
.data-table td{
    padding:12px;
    border-bottom:1px solid #e8ebef;
    text-align:left;
    font-size:16px;
}

.data-table th{
    background:#f8fafc;
}

.inline-form{
    display:inline;
}

.small-button{
    padding:8px 12px;
    border:none;
    border-radius:8px;
    background:#004080;
    color:#fff;
    cursor:pointer;
    font-size:14px;
}

.muted{
    color:#666;
    font-size:14px;
}

.top-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

@media (max-width: 700px){
    .form-grid{
        grid-template-columns: 1fr;
    }

    .page-title{
        font-size:18px;
    }

    .small-logo{
        height:38px;
    }
}