/* ===== HEADER ===== */
#toast-container.toast-top-right {
  top: calc(60px); /* navbar + gap */
}

.admin-header {
    width: 100%;
    height: 60px;
    background: #E8FFF5;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

/* Adjust body to start below header */
.admin-body {
    margin-top: 60px;
    height: calc(100vh - 50px);
    overflow-y: auto;
    background: #f8f9fa;
}

/* ==== LEFT MENU ==== */
.admin-nav-left,
.admin-nav-right {
    display: flex;
    align-items: center;
    padding: 0 20px 0 0;
}

.admin-nav-left {
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
}

.admin-nav-left li {
    margin-right: 25px;
}

.admin-nav-left li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.admin-nav-left li a:hover {
    color: #007bff;
}

/* Logout Button */
.logout-btn {
    text-decoration: none;
    color: #fff;
    background: #d9534f;
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: 600;
}

.logout-btn:hover {
    background: #c9302c;
    color: #fff;
}


/* Fullscreen background */
.login-bg {
    background-image: url('/millwork_calculator/assets/images/background.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Login Box */
.login-box {
    background: #fff;
    min-height: 380px;
    max-width: 680px;
    width: 100%;
    padding: 40px 35px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    text-align: center;
}

/* Remove Bootstrap box-sizing only for login section */
.login-box,
.login-box h2 {
    box-sizing: content-box !important;
}

.login-title {
  letter-spacing: 1.1px;
  color: #010101;
  font-size: 55px;
  font-weight: 600;
  text-align: center;
  line-height: 90px;
  margin-bottom: 20px;
}
.input-field .form-control {
	border: 1px solid #70707036;
	margin-bottom: 15px;
	margin-top: 5px;
	padding-right: 60px;
}

.input-field .form-control::placeholder {
	font-size: 16px;
	font-weight: 400;
	color: #A4A4A4;
	line-height: 36px;
	font-family: 'Lato', sans-serif;
}

form .form-control {
    height: 50px;
}

#bahamasCsvUpload {
    cursor: pointer;
    padding-top: 18px;
    padding-left: 32px;
}

form .form-control {
	border-radius: 30px;
	/* border: 1px solid black; */
	background: #fff;
	height: 59px;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 400;
	color: #A4A4A4;
	line-height: normal;
	padding-right: 44px;
	font-family: 'Lato', sans-serif;
    max-width: 100%;
    min-width: 80%;
}

 .form-control {
  color: black !important;
}

/* Button */
.login-btn {
    background: linear-gradient(90deg, #00a778, #00c0e8);
    color: #fff;
    font-weight: 600;
    font-size: 30px;
    padding: 12px;
    border-radius: 30px;
    border: none;
    height: 70px;
    width: 150px
}
.customBtn {
    background: linear-gradient(90deg, #00a778, #00c0e8);
    border-radius: 25px;
    text-transform: uppercase;
}

.login-btn:hover {
    opacity: 0.85;
    color: #fff;
}

label.error {
    color: red !important;
    font-size: 13px;
    margin-top: 5px;
    display: block; /* Ensures it stays below input */
    position: relative !important; /* Prevent floating */
    text-align: left;
}
  
/* Add red border to wrong inputs */
/* .input-error {
    border: 1px solid red !important;
} */

.input-field {
    margin-bottom: 15px;
}

.login-box .form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: left;
}

.btn-teal {
    background-color: var(--bs-teal) !important;
    color: #0f0f0f !important;
    border-color: var(--bs-teal) !important;
}

.btn-custom {
    background-color: var(--bs-info) !important;
    color: #0f0f0f !important;
    border-color: var(--bs-gray-dark) !important;
}

.btn-customl:hover {
    background-color: #0cb0e2 !important; /* darker teal */
    border-color: #096ddf !important;
    color: #fff !important;
}

/* popup design  */
.modal-dialog {
    width: 100%;
    max-width: 700px;;
}

.modal-dialog form {
    background: #fff;
    width: 100%;
    height: 100%;
	border-radius: 30px;
}

.modal-dialog form .modal-content {
    border: 0;
    padding: 0;
    border-radius: 30px;
}

.modal-dialog form .modal-content .modal-header-section {
    padding: 20px;
    font-size: 26px;
	border: 0;
}

.modal-content .form-label {
    font-weight: 600;
    margin-bottom: 5px;
}

.modal-dialog form .modal-body {
    padding: 20px;
}

.modal-dialog form .modal-body textarea {
    height: 150px;
    border-radius: 20px;
    border: 1px solid #ddd;
    resize: none;
    text-transform: capitalize;
}

.modal-dialog form .modal-content .modal-footer {
    border: 0;
    padding: 20px;
}

.modal-dialog form .modal-content .modal-footer button {
    margin: 0;
    width: 100%;
    max-width: 180px;
    border: 0;
    margin-right: 15px;
}

.modal-dialog form .modal-content .modal-footer>div {
    width: 100%;
}

.modal-dialog form .modal-content .modal-footer button:hover {
    border: 0;
}

.modal-dialog form .modal-body .row .text-center {
    width: 100%;
    padding: 0 0 15px;
}

.modal-dialog form .modal-body .row .text-center:last-child {
    padding: 0;
}

.modal-dialog form .modal-content .close {
    font-size: 35px;
    background: var(--multicolor);
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
	border:0;
}
.modal-header-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 30px;
    font-size: 30px;
    font-weight: 600;
}

button.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(90deg, #00a778, #00c0e8);
    border-radius: 50%;
    color: white;
    padding: 5px 7px 14px 7px;
    opacity: 1;
}

.modal-dialog form .modal-body label {
    text-align: initial !important;
    display: block;
}

.modal-dialog form .modal-body input+ label {
    padding: 10px 0 0;
    text-transform: capitalize;
    font-size: 15px;
}

.logout-popup .modal-content .modal-footer {
    justify-content: center;
}

.modal-dialog.logout-popup .modal-footer button.btn { height: 50px; max-width: initial; }
.modal-dialog.logout-popup .modal-footer button.btn { height: 45px; max-width: fit-content; width: auto; padding: 0 20px; font-size: 22px; font-weight: 600; }

.admin-nav-left a.active {
    color: #000 !important;
    background: #0ed881 !important;    
}

.table td, .table th {
    border-right: 1px solid #dee2e6 !important;
}

.table td:last-child,
.table th:last-child {
    border-right: none !important;
}

.table td {
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 400px; /* optional */
}

