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: 60px;
}


.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.bottom-info-box {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6vh;
    background-color: #3498db;
    color: white;
    text-align: center;
    line-height: 6vh;
    font-size: 18px;
    z-index: 9999;
}

.bottom-info-box-close-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

.bottom-info-box.error {
    background-color: #d10202;
}

.row-error {
    border: 2px solid #dc3545 !important;
}

.form-select[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.input-wrapper {
    position: relative;
}

    .input-wrapper input {
        /* Adjust based on suffix width */
        box-sizing: border-box;
    }

    .input-wrapper .suffix {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        pointer-events: none;
        /* Makes sure clicks go through to input */
        color: #999;
    }


button#showConfirm {
    padding: 12px 28px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background-color: #4a90e2;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.4);
    transition: background-color 0.3s ease;
}

    button#showConfirm:hover {
        background-color: #357ABD;
    }

dialog {
    border: none;
    padding: 30px 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90vw;
    font-size: 18px;
    color: #333;
}

    dialog::backdrop {
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(3px);
    }

.buttons {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

dialog button {
    padding: 10px 22px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    user-select: none;
    min-width: 90px;
}

#cancelBtn {
    background: #e0e0e0;
    color: #555;
}

    #cancelBtn:hover {
        background: #cfcfcf;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

#okBtn {
    background-color: #4a90e2;
    color: white;
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.5);
}

    #okBtn:hover {
        background-color: #357ABD;
        box-shadow: 0 6px 14px rgba(53, 122, 189, 0.6);
    }