<div class="content-wrapper">
    <div class="container-fluid mt-4">
        <div class="row">
            <div class="col-lg-12">
                <div class="card shadow-sm mb-4 border-0">
                    <!-- Header -->
                    <div class="card-header bg-success text-white py-2 px-3">
                        <h6 class="mb-0"><i class="fas fa-pen me-2"></i> Favor Prense Formulariu Dosente</h6>
                    </div>

                    <!-- Body -->
                    <div class="card-body p-4">
                        <?= form_open_multipart('dosente/saluva'); ?>

                        <div class="row">
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Kode Dosente</label>
                                <input type="text" name="kode_dosente" class="form-control" placeholder="" required>
                            </div>
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Naran Dosente</label>
                                <input type="text" name="naran_dosente" class="form-control" required>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Fatin Moris</label>
                                <input type="text" name="fatin_moris" class="form-control" required>
                            </div>
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Data Moris</label>
                                <input type="text" name="data_moris" class="form-control" placeholder="" required>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Sexu</label>
                                <select name="sexu" class="form-control" required>
                                    <option value="">-- Hili sexu --</option>
                                    <option value="Mane">Mane</option>
                                    <option value="Feto">Feto</option>
                                </select>
                            </div>
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Posisaun</label>
                                <select name="Posisaun" class="form-control" required>
                                    <option value="">-- Hili posisaun --</option>
                                    <option value="Dosente e Secretariaa Departamento TCI">Dosente e Secretariaa Departamento TCI</option>
                                    <option value="Dosente">Dosente</option>
                                    <option value="Xefe Departamentu">Xefe Departamentu</option>
                                    <option value="Chefe IT/Dosente">IT/Dosente</option>
                                </select>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Departamentu</label>
                                <select name="departamentu" id="departamentu" class="form-control" required>
                                    <option value="">-- Hili departamentu --</option>
                                    <option value="Tecnicas de Computacao e Informatica">Tecnicas de Computacao e Informatica</option>
                                    <option value="Contabilidade e Gestão">Contabilidade e Gestão</option>
                                    <option value="Turismo e Culinária">Turismo e Culinária</option>
                                </select>
                            </div>
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Nivel Estudu</label>
                                <select name="Nivel_estudu" class="form-control" required>
                                    <option value="">-- Hili--</option>
                                    <option value="Lisensiatura">Lisensiatura</option>
                                    <option value="Mestradu">Mestradu</option>
                                    <option value="Doutoramentu">Doutoramentu</option>
                                </select>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6 form-group mb-3">
                                <label class="small font-weight-bold text-muted">Observasaun</label>
                                <select name="obs" class="form-control" required>
                                    <option value="">-- Hili observasaun --</option>
                                    <option value="Geral">Geral</option>
                                    <option value="Espesifiku">Espesifiku</option>
                                </select>
                            </div>
                        </div>

                        <!-- Button Group -->
                        <div class="text-right border-top pt-3 mt-2">
                            <a href="<?= base_url('dosente'); ?>" class="btn btn-danger btn-sm rounded-circle p-2 d-inline-flex align-items-center justify-content-center" style="width: 35px; height: 35px;" title="Kansela">
                                <i class="fas fa-times" style="font-size: 14px;"></i>
                            </a>
                            <button type="submit" class="btn btn-success px-4 ml-2">
                                <i class="fas fa-save mr-1"></i> Save
                            </button>
                        </div>

                        <?= form_close(); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<style>
    .content-wrapper {
        margin-left: 230px; 
        padding: 20px;
    }
</style>