/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");

:root {
	--bs-body-font-family: "IBM Plex Sans", sans-serif;
	--app-btn-bg: rgb(5, 95, 91);
	--app-shell-bg: rgb(228, 231, 227);
	--app-navbar-bg: #212529;
}

body {
	font-family: "IBM Plex Sans", sans-serif;
}

.app-shell {
	min-height: 100vh;
	background-color: var(--app-shell-bg);
	color: #212529;
}

.app-navbar {
	background-color: var(--app-navbar-bg);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 72px;
  color: #fff;
}

.app-navbar-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
}

.app-navbar-brand {
	position: relative;
	z-index: 1;
}

.app-navbar-logo {
	height: 38px;
	width: auto;
	display: block;
}

.app-navbar-center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: auto;
}

.header-navigation {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.header-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.app-navbar-link,
.app-navbar-link:visited {
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	font-weight: 500;
	line-height: 1;
}

.app-navbar-link:hover,
.app-navbar-link:focus {
	color: #fff;
	text-decoration: none;
}

.app-navbar-client-logo {
	height: 28px;
	width: auto;
	display: block;
	max-width: min(32vw, 280px);
}

.app-navbar .navbar-nav {
	align-items: center;
	margin-left: auto;
	position: relative;
	z-index: 1;
}

.app-navbar .dropdown {
	position: relative;
}

.app-navbar-account {
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.5rem 0;
}

.app-navbar-account:hover,
.app-navbar-account:focus {
	color: #fff;
}

.app-navbar-avatar {
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-navbar .dropdown-menu {
	position: absolute;
	top: 100%;
	right: 0;
	left: auto;
	min-width: 12rem;
	margin-top: 0.75rem;
	border: 0;
	border-radius: 0.75rem;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
	.app-navbar-center-logo {
		height: 22px;
		max-width: 42vw;
	}

	.app-navbar-account span {
		display: none;
	}
}

.alert {
	border: 0;
	border-radius: 0.75rem;
	box-shadow: 0 8px 18px rgba(33, 37, 41, 0.08);
	font-weight: 500;
	margin-bottom: 1rem;
	padding: 0.875rem 1rem;
}

.alert-success {
	background-color: rgba(5, 95, 91, 0.12);
	color: #0f5f5b;
}

.alert-danger {
	background-color: rgba(220, 53, 69, 0.12);
	color: #842029;
}

input,
button,
select,
textarea {
	font-family: inherit;
}

.btn,
button,
input[type="submit"],
input[type="button"] {
	background-color: var(--app-btn-bg);
	border: 0;
	border-radius: 100px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 600;
	height: 42px;
	justify-content: center;
	line-height: 22px;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	user-select: none;
	vertical-align: middle;
	-webkit-tap-highlight-color: transparent;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:focus,
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
	background: rgba(5, 95, 91, 0.8);
	color: #fff;
	text-decoration: none;
}

.auth-login-body {
	margin: 0;
	min-height: 100vh;
	background:
		linear-gradient(rgba(24, 28, 34, 0.72), rgba(24, 28, 34, 0.72)),
		url("https://scs.apirasol.com/assets/containers_sw-1e37ae00c5efb71a42f1d47a7640d81516bc0d1098efab84e0050a664047689a.png");
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	color: #fff;
}

.auth-login-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 100vh;
	padding: 5rem 1.5rem 2rem;
}

.auth-login-main > .alert {
	width: min(100%, 372px);
	margin: 0;
	border: 0;
	border-radius: 0.75rem;
	box-shadow: 0 8px 18px rgba(24, 28, 34, 0.18);
	font-weight: 500;
	padding: 0.875rem 1rem;
	text-align: center;
}

.auth-login-main > .alert-success {
	background-color: rgba(5, 95, 91, 0.18);
	color: #eaf7f6;
}

.auth-login-main > .alert-danger {
	background-color: rgba(220, 53, 69, 0.2);
	color: #fff;
}

.auth-login-shell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.75rem;
	width: 100%;
	max-width: 520px;
}

.auth-login-brand {
	text-align: center;

  img {
    width: 200px;
  }
}

.auth-login-tagline {
	margin-top: 0.6rem;
	font-size: clamp(1.95rem, 4vw, 2.2rem);
	line-height: 1.1;
	font-weight: 300;
	margin-bottom: 0;
}

.auth-login-card {
	background: #fff;
	border-radius: 6px;
	padding: 2rem 2.1rem;
	width: min(100%, 372px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.auth-login-form {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.auth-input-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #d4d8de;
	border-radius: 100px;
	padding: 0.35rem 0.8rem;
	background-color: #fff;
	height: 48px;
}

.auth-input-field {
	border: 0;
	outline: 0;
	box-shadow: none;
	width: 100%;
	
	font-weight: 400;
	padding: 0;
	color: #3d4652;
	background: transparent;
}

.auth-input-field::placeholder {
	color: #3d4652;
}

.auth-input-pill:focus-within {
	border-color: #9ca3af;
}

.auth-input-icon {
	color: #7b8490;
	font-size: 1.15rem;
	line-height: 1;
	margin-left: 0.7rem;
}

.btn.auth-signin-btn {
	display: flex;
	width: 100%;
	margin-top: 0.4rem;
	justify-content: center;
}

.auth-remember-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	color: #111827;
	font-weight: 600;
	line-height: 1.08;
	margin-top: 0.7rem;
	margin-bottom: 0;
}

.auth-remember-row .form-check-input {
	margin-top: 0;
	width: 1rem;
	height: 1rem;
	border-color: #9ca3af;
	border-radius: 0.25rem;
}

.auth-remember-row .form-check-label {
	line-height: 1.08;
}

.auth-forgot-link {
	text-align: center;
	margin-top: 0.35rem;
}

.auth-forgot-link a {
	color: #111827;
	font-weight: 300;
	line-height: 1.4;
	text-underline-offset: 0.14em;
}

.dashboard-page {
	padding: 1rem 0 2rem;
}

.dashboard-hero {
	max-width: 900px;
	margin: 0 auto 1.5rem;
}

.dashboard-kicker {
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgba(33, 37, 41, 0.7);
}

.dashboard-title {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.1;
}

.dashboard-subtitle {
	max-width: 720px;
	font-size: 1.05rem;
	color: rgba(33, 37, 41, 0.78);
}

.dashboard-upload-card {
	max-width: 900px;
	margin: 0 auto;
	border: 0;
	border-radius: 1rem;
}

.dashboard-upload-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.dashboard-dropzone {
	appearance: none;
	background: rgba(5, 95, 91, 0.06);
	border: 2px dashed rgba(5, 95, 91, 0.28);
	border-radius: 1rem;
	color: #0f5f5b;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.75rem;
	min-height: 240px;
	padding: 1.5rem;
	width: 100%;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
	text-decoration: none;
}

.dashboard-dropzone:hover,
.dashboard-dropzone:focus-visible,
.dashboard-dropzone.is-dragover {
	background: rgba(5, 95, 91, 0.1);
	border-color: rgba(5, 95, 91, 0.5);
	transform: translateY(-1px);
}

.dashboard-dropzone-icon {
	font-size: 2rem;
	line-height: 1;
	font-weight: 700;
}

.dashboard-dropzone-label {
	font-size: 1.2rem;
	font-weight: 600;
	text-align: center;
}

.dashboard-file-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dashboard-file-list li {
	background: rgba(33, 37, 41, 0.06);
	border-radius: 999px;
	padding: 0.4rem 0.75rem;
	font-size: 0.95rem;
	color: rgba(33, 37, 41, 0.85);
}

.dashboard-upload-success {
	max-width: 720px;
	margin: 1rem auto 0;
	border: 0;
	border-radius: 1rem;
}

.dashboard-upload-success-icon {
	background: rgba(5, 95, 91, 0.12);
	border-radius: 999px;
	color: #0f5f5b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 4rem;
	width: 4rem;
	font-size: 1.75rem;
	font-weight: 700;
}

.dashboard-reports-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.dashboard-reports-list li {
	background: rgba(33, 37, 41, 0.05);
	border-radius: 0.6rem;
	padding: 0.7rem 0.9rem;
}

.dashboard-reports-list a {
	color: #0f5f5b;
	text-decoration: none;
	font-weight: 500;
}

.dashboard-report-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.portal-file-icon {
	width: 1.1rem;
	text-align: center;
}

.portal-file-icon--pdf {
	color: #dc3545;
}

.portal-file-icon--excel {
	color: #198754;
}

.dashboard-reports-list a:hover,
.dashboard-reports-list a:focus {
	text-decoration: underline;
}

#reportsTab .nav-link {
	color: #212529;
	font-weight: 500;
}

#reportsTab .nav-link.active {
	color: #0f5f5b;
	border-color: #dee2e6 #dee2e6 #fff;
}

@media (max-width: 900px) {
	.auth-login-main {
		padding: 2rem 1rem;
	}

	.auth-login-shell {
		max-width: 480px;
		margin: 0 auto;
	}

	.auth-login-card {
		width: 100%;
		padding: 1.5rem;
	}

	.auth-login-logo {
		font-size: clamp(2.4rem, 9vw, 3.2rem);
	}

	.auth-login-tagline {
		font-size: clamp(1.4rem, 6vw, 1.8rem);
	}

	.auth-remember-row {
		font-size: 1.5rem;
	}

	.auth-forgot-link a {
		font-size: 1rem;
	}

	.dashboard-page {
		padding: 0.5rem 0 1.5rem;
	}

	.dashboard-dropzone {
		min-height: 200px;
	}
}
