html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 10px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.menu-card {
    text-decoration: none;
    color: inherit;
}

    .menu-card .card {
        border-radius: 14px;
        transition: all .25s ease;
        height: 140px;
    }

        .menu-card .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 28px rgba(0,0,0,.12);
        }

.menu-icon {
    font-size: 38px;
    margin-bottom: 10px;
}

.menu-text {
    font-weight: 500;
    font-size: 15px;
}

/* Override DataTables header */
table.dataTable thead th {
    background-color: #2c80b9 !important;
    color: #ffffff !important;
    border-bottom: 2px solid #dee2e6 !important;
}

.table thead th {
    background: linear-gradient(90deg, #1e6793, #2f8cc4);
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
    border-color: #1b5c83;
}

/* Optional: hover consistency */
table.dataTable tbody tr:hover {
    background-color: #f8f9fa;
}
/* USER HEADER BOX */
.user-info-box {
    background: linear-gradient(135deg, #855735, #f5c542);
    padding: 6px 14px;
    border-radius: 30px;
    color: #fff;
}

/* Avatar */
.user-avatar {
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: #888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Text */
.user-text {
    line-height: 1.1;
}

.welcome-text {
    font-size: 12px;
    opacity: 0.9;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
}

/* Logout button */
.logout-btn {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    padding: 0;
}

    .logout-btn:hover {
        color: #0d6efd;
        text-decoration: none;
    }


/*///////////////////////*/

/* ================= TOP HEADER ================= */
.top-header {
    background-color: #f4eddc; /* cream */
    border-bottom: 1px solid #d6d0c4;
    padding: 6px 0;
}

.app-title {
    color: #0b7a3b;
    font-weight: 700;
}

/* USER BOX */
.top-user-box {
    background: #f0b400;
    color: #fff;
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 14px;
}

.top-user-box .welcome-text {
    font-size: 12px;
    display: block;
}

/* ================= NAVBAR ================= */
.navbar-ams {
    background-color: #1e6793;
    padding: 4px 0;
}

.navbar-ams .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar-ams .nav-link:hover,
.navbar-ams .nav-link.active {
    text-decoration: underline;
}

/* LOGOUT */
.logout-link {
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 500;
}

.logout-link:hover {
    text-decoration: underline;
}

/* App name link */
.app-name-link {
    text-decoration: none !important;
}

/* App name text */
.app-name {
   color: #ffffff;
    ; /* Professional green */
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}


.supplier-container {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
}

.supplier-header {
    background-color: #0b7a0b;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.instruction-box {
    background-color: #e6eddc;
    padding: 15px;
    border: 1px solid #c5d3b2;
    margin-top: 10px;
    border-radius: 4px;
}

.custom-input {
    background-color: #eef0b6;
}

.btn-primary {
    background-color: #3b73af;
}

.btn-success {
    background-color: #5cb85c;
}



/* =========================================================
   VENDOR REGISTRATION FORM – PROFESSIONAL UI
   ========================================================= */

body {
    background-color: #f3f5f7;
}

/* Main Registration Card */
.vendor-card {
    border-radius: 14px;
    border: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

    /* Header */
    .vendor-card .card-header {
        background: linear-gradient(135deg, #198754, #146c43);
        font-size: 16px;
        letter-spacing: .5px;
    }

/* Instruction Box */
.vendor-instructions {
    background: linear-gradient(135deg, #eef7ff, #ffffff);
    border-left: 5px solid #0d6efd;
    font-size: 13px;
    border-radius: 10px;
}

/* Form Section Blocks */
.form-section {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.form-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #198754;
    border-bottom: 1px dashed #cfd8dc;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

/* Labels */
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* Inputs */
.form-control,
.form-select {
    border-radius: 8px;
    font-size: 14px;
    padding: 9px 12px;
    border: 1px solid #ced4da;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #198754;
        box-shadow: 0 0 0 .15rem rgba(25,135,84,.25);
    }

/* Input Groups */
.input-group .btn {
    border-radius: 0 8px 8px 0;
}

/* Validation */
.text-danger {
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Buttons */
.btn-success {
    padding: 10px 36px;
    font-weight: 600;
    letter-spacing: .3px;
    box-shadow: 0 6px 14px rgba(25,135,84,.35);
}

.btn-outline-secondary {
    padding: 10px 36px;
}

/* Right Login Panel */
.login-panel {
    position: sticky;
    top: 20px;
}

.section-header {
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
}

    .section-header:hover {
        background-color: #0b5ed7 !important;
    }

/* Responsive */
@media (max-width: 768px) {
    .form-section {
        padding: 12px;
    }
}