.erp-form-row{display:flex;gap:10px;margin-bottom:10px;}
.erp-label{width:180px;}
.erp-input,.erp-select,.erp-textarea{width:100%;padding:8px;}
.erp-input:focus,.erp-select:focus,.erp-textarea:focus{outline:none;border-color:#1E4F4A;}

.master-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.master-card-header {
    padding: 15px;
    background: #CDEBE8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.master-card-body {
    padding: 20px;
}
.btn-erp {
    background: #1E4F4A;
    color: #fff;
    border: none;
}

    .btn-erp:hover {
        color: #fff;
    }

.index-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.index-search {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .index-search input {
        min-width: 250px;
    }

.index-pagesize {
    width: 100px;
}

/* =========================
   ERP FORM
========================= */

.erp-form {
    width: 100%;
    max-width: 1200px;
}

.erp-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

    .erp-form-row label {
        width: 180px;
        font-weight: 600;
        color: #333;
    }

    .erp-form-row input,
    .erp-form-row select,
    .erp-form-row textarea {
        flex: 1;
    }

.erp-form-actions {
    margin-top: 20px;
    padding-left: 180px;
    display: flex;
    gap: 10px;
}

/* =========================
   MOBILE FORM LAYOUT
========================= */

@media (max-width:768px) {

    .erp-form-row {
        flex-direction: column;
        align-items: stretch;
    }

        .erp-form-row label {
            width: 100%;
            margin-bottom: 4px;
        }

    .erp-form-actions {
        padding-left: 0;
    }
}

.erp-row-group {
    display: flex;
    gap: 10px;
    flex: 1;
}

@media (max-width:768px) {

    .erp-row-group {
        flex-direction: column;
    }
}

