﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@import url(colors.css);

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn {
    border-radius: .375rem !important;
    height: 40px !important;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  overflow: initial;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%; 
  white-space: nowrap;
  line-height: 40px; /* Vertically center the text there */
}




/* -------------------------------------------------- */
/* remove the up/down button from number input field */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}


/* Center the title */
.page-title {
    text-align: center;
}

/* -------------------------------------------------- */
/* Buttons */

.btn-primary {
    background-color: var(--fam-yellow);
    border-color: var(--fam-yellow);
    color: #303030;
}

.btn-primary:hover {
    background-color: #fbeb33;
    border-color: #fbeb33;
    color: #606060;
}


.btn-primary:active, .btn-primary:focus {
    background-color: #cb8b00 !important;
    border-color: #cb8b00 !important;
    color: #000000 !important;
    box-shadow: none !important;
}


/*.btn-outline-primary {
    border-color: #fbbb03;
    color: #606060;
    border-width: 3px;
}

.btn-outline-primary:hover {
    background-color: #fbbb03;
    border-color: #fbbb03;
    color: #303030;
    border-width: 3px;
}

.btn-outline-primary:active, .btn-outline-primary:focus {
    background-color: #cb8b00 !important;
    border-color: #cb8b00 !important;
    color: #000000 !important;
    box-shadow: none !important;
}*/



/* primary outline button */
a.btn-outline-primary,
button.btn-outline-primary {
    display: inline-block; /* Ensures both elements behave similarly */
    text-decoration: none; /* Remove underline from <a> */
    color: #606060; /* Use the same text color */
    border-color: #fbbb03; /* Match border color */
    border-width: 3px; /* Match border width */
    padding: 0.375rem 0.75rem; /* Match padding */
    font-size: inherit; /* Ensure font sizes are consistent */
    background-color: transparent; /* Ensure no background color */
    cursor: pointer; /* Make the `<a>` look clickable */
    border-radius: 8px; /* Rounds the corners */
}

a.btn-outline-primary:hover,
button.btn-outline-primary:hover {
    background-color: #fbbb03;
    border-color: #fbbb03;
    color: #303030;
    border-radius: 8px; /* Ensure rounding on hover */
}

a.btn-outline-primary:active, a.btn-outline-primary:focus,
button.btn-outline-primary:active, button.btn-outline-primary:focus {
    background-color: #cb8b00 !important;
    border-color: #cb8b00 !important;
    color: #000000 !important;
    box-shadow: none !important;
    border-radius: 8px; /* Ensure rounding when active or focused */
}



/* danger outline button */
a.btn-outline-danger,
button.btn-outline-danger {
    display: inline-block; /* Ensures both elements behave similarly */
    text-decoration: none; /* Remove underline from <a> */
    color: var(--fam-red); /* Use the same text color */
    border-color: var(--fam-red); /* Match border color */
    border-width: 3px; /* Match border width */
    padding: 0.375rem 0.75rem; /* Match padding */
    font-size: inherit; /* Ensure font sizes are consistent */
    background-color: transparent; /* Ensure no background color */
    cursor: pointer; /* Make the `<a>` look clickable */
    border-radius: 8px; /* Rounds the corners */
}

a.btn-outline-danger:hover,
button.btn-outline-danger:hover {
    background-color: var(--fam-red);
    border-color: var(--fam-red);
    color: #FFFFFF;
    border-radius: 8px; /* Ensure rounding on hover */
}

a.btn-outline-danger:active, a.btn-outline-danger:focus,
button.btn-outline-danger:active, button.btn-outline-danger:focus {
    background-color: #AC0515 !important;
    border-color: #AC0515 !important;
    color: #000000 !important;
    box-shadow: none !important;
    border-radius: 8px; /* Ensure rounding when active or focused */
}


.table thead th {
    background-color: #3284A7;
    color: #ffffff; 
}

.table-hover tbody tr:hover td {
    background-color: #3284A740 !important; /* Custom hover color */
    transition: background-color 0.3s ease; /* Smooth transition effect */
}


/*.table-striped tbody tr:nth-of-type(odd) {
    background-color: #72C4F7 !important;*/ /* Custom color for odd rows */
/*}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff;*/ /* Custom color for even rows (if needed) */
/*}

.table-striped tbody tr:hover {
    background-color: #e0f7fa;*/ /* Light blue hover effect */
/*}*/



.dropdown-item:hover {
    background-color: var(--fam-yellow);
    color: black; /* Optional: Adjust text color for better contrast */
}


.dropdown-item.text-danger:hover,
.dropdown-item.text-danger:focus,
.dropdown-item.text-danger:active {
    background-color: #dc3545; /* Bootstrap danger */
    color: white !important;
}


/* --------------------------------- */
/* Search filter */
.search-filter {
    display: flex;
    align-items: center; /* Vertically align label and input */
    margin-bottom: 15px;
}

.input-search-filter {
    min-width: 300px;
    width: 30%;
    border: 1px solid var(--fam-blue) !important;
}


.label-search-filter {
    width: auto; /* Set a fixed width for labels */
    text-align: left; /* Align label text to the right */
    padding-right: 10px; /* Add some space between label and input */
}


.fam-blue {
    background: var(--fam-blue);
}

.fam-red-color {
    color: var(--fam-red);
}


.tile-card {
    border: 2px solid var(--fam-yellow);
    transition: box-shadow 0.3s ease, color 0.3s ease;
    color: black;
}

.tile-card:hover {
    box-shadow: 0 0 12px 4px var(--fam-yellow); /* glowing yellow border */
    color: black;
}

.tile-card:hover .card-title,
.tile-card:hover .card-text,
.tile-card:hover i {
    color: black;
}

.tile-card i {
    color: black !important;
    transition: color 0.3s ease;
}


.input-field-custom::placeholder {
    color: #a5a5a5 !important;
}



/* ************************************************************************************************************************* */
.tile-card-2 {
    border: 1px solid #ccc; /* gray edge */
    border-radius: 10px; /* round corners */
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


