﻿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: 0;
}

.divgeneral {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius:3px;
}

.tablegeneral {
    border-collapse: collapse;
    table-layout: auto; /* Auto-fit based on data */
    font-size: .9em;
}

.tablegeneral th, .tablegeneral td {
    padding: 2px;
    border: 1px solid lightgray;
    white-space: nowrap; /* Prevent unwanted wrapping */
}

.dynamiclisttable {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Auto-fit based on data */
    font-size: .9em;
}

    .dynamiclisttable th, .dynamiclisttable td {
        padding: 6px;
        border: 1px solid lightgray;
        white-space: nowrap; /* Prevent unwanted wrapping */
    }

    .dynamiclisttable .fill-space {
        width: 100%; /* filler column takes remaining space */
    }

.headermain {
    border-bottom: 1px solid lightgray;
    height: 35px;
    display: flex;
    align-items: center;
    font-weight: bold;
    /*justify-content: center;*/
}

.btngeneral {
    background-color: #f0f3f5;
    border-radius: 15px;
    border: 1px solid #7aa7c7;
    box-shadow: rgba(255, 255, 255, .5) 0 0 0 0 inset;
    box-sizing: border-box;
    color: #39739d;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,system-ui,"Segoe UI","Liberation Sans",sans-serif;
    font-size: 13px;
    font-weight: 400;
    /* line-height: 1.15385;*/
    line-height: 1;
    margin: 0;
    outline: none;
    /* padding: 6px .8em;*/
    padding: 5px .6em;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    white-space: nowrap;
}

    .btngeneral:hover,
    .btngeneral:focus {
        background-color: #b3d3ea;
        color: #2c5777;
    }

    .btngeneral:focus {
        box-shadow: 0 0 0 1px rgba(0, 149, 255, .15);
    }

    .btngeneral:active {
        background-color: #a0c7e4;
        box-shadow: none;
        color: #2c5777;
    }

button {
    height: 28px;
    padding: 5px;
    background: MediumSeaGreen;
    border: none;
    color: #fff;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
}

    button:hover {
        background: #005fcc;
    }

    /* 🔴 Disabled state */
    button:disabled {
        background: #b5b5b5;
        color: #666;
        cursor: not-allowed;
        opacity: 0.7;
    }

        /* ❌ Prevent hover effect when disabled */
        button:disabled:hover {
            background: #b5b5b5;
        }
