:root {
	--login-parallax: 0px;
	--banner-parallax: 0px;
}

*,
*::before,
*::after {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	heigh:1220px;
	background-image: url("fondo.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-color: #0b152f;
}
.autoindex_body, html
{
	font-family: Monaco, Geneva, sans-serif;
	font-size: 16px;
	
}

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

/* Images */
.autoindex_body img
{
	border: none;
}

.top-banner-wrap {
	position: relative;
	overflow: visible;
	max-width: min(920px, 96vw);
	margin: 0 auto;
}

.top-banner-image {
	display: block;
	max-width: 100%;
	height: auto;
	transform: translateY(calc(var(--banner-parallax) * 0.24));
	transition: transform 0.15s linear;
	will-change: transform;
}

.file-table-scroll {
	width: min(1080px, 100%);
	margin: 0 auto 16px;
	overflow-x: auto;
	overflow-y: visible;
	border-radius: 14px;
	-webkit-overflow-scrolling: touch;
}

.file-list-table {
	min-width: 760px;
	width: 100%;
	margin: 0;
	max-width: none;
}

/* Tables */
.autoindex_table
{
	width: 100%;
	border: none;
	border-collapse: separate;
	border-spacing: 0;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(6px);
	border-radius: 14px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
	max-width: 1080px;
	margin: 0 auto 16px;
}

.autoindex_body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 14px;
}
.light_row
{
	background: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}
.dark_row
{
	background: rgba(255, 255, 255, 0.55);
	font-size: 13px;
}
.autoindex_td
{
	font-size: 14px;
	font-family: verdana, lucidia, sans-serif;
	vertical-align: top;
	border: none;
	padding: 6px 10px;
	text-align: left;
	white-space: nowrap;
}
.autoindex_td_right
{
	font-size: 14px;
	font-family: verdana, lucidia, sans-serif;
	vertical-align: top;
	border: none;
	padding: 6px 10px;
	text-align: right;
	white-space: nowrap;
}
.autoindex_th
{
	font-size: 13px;
	background: linear-gradient(120deg, rgba(0, 184, 148, 0.9), rgba(255, 140, 66, 0.9));
	color: #0c193f;
	border: none;
	padding: 10px 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	position: sticky;
	top: 0;
	z-index: 1;
}

/* Links cambia color del contenido de las tablas */
.plain_link
{
	color: #ffffff;
	text-decoration: none;
}
.autoindex_a:link
{
	color: #000020;
	text-decoration: none;
}
.autoindex_a:visited, .autoindex_a:active, .autoindex_a:hover
{
	color: #00008F;
	text-decoration: none;
}
.light_row:hover, .dark_row:hover
{
	background: rgba(255, 255, 255, 0.9);
	box-shadow: inset 0 0 0 1px rgba(0, 199, 183, 0.45);
}

/* Buttons */
.button
{
	color: #707070;
	background-color: #F2F6FC;
	font-family: sans-serif;
	font-size: 11px;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
	cursor: pointer;
	border: none;
	padding: 3px 10px 3px 10px;
}

/* Misc. */
.paragraph
{
	background: rgba(255, 255, 255, 0.82);
	color: #0c193f;
	font-size: 13px;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	max-width: 1080px;
	margin: 0 auto;
}
.autoindex_hr
{
	color: #000020;
	background-color: rgba(0, 199, 183, 0.8);
	border: none;
	width: 75%;
	height: 1px;
}
.autoindex_small
{
	font-size: 11px;
}

/* Search and account tool panels */
.tools-table {
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	border: none;
	margin-top: 2px;
}

.tools-table > tbody > tr > td.tools-col {
	width: 50%;
	padding: 0 8px;
	vertical-align: top;
}

.tools-panel {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.tools-card {
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(240, 250, 255, 0.84));
	border-radius: 16px;
	box-shadow: 0 12px 26px rgba(9, 29, 62, 0.16);
	overflow: hidden;
}

.tools-card-body {
	padding: 14px 16px 12px;
	white-space: normal;
	font-size: 16px;
	font-weight: 700;
	color: #15305f;
	line-height: 1.3;
}

.tools-card-body > form {
	margin-top: 9px;
}

.tools-card-body p {
	margin: 6px 0;
	line-height: 1.25;
	font-weight: 500;
	font-size: 15px;
}

.tools-card-body input[type="text"],
.tools-card-body input[type="search"],
.tools-card-body input[type="number"],
.tools-card-body select {
	height: 38px;
	padding: 7px 11px;
	border: 1px solid #cbd9f2;
	border-radius: 10px;
	background: #ffffff;
	color: #173162;
	font-size: 14px;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tools-card-body input[type="text"]:focus,
.tools-card-body input[type="search"]:focus,
.tools-card-body input[type="number"]:focus,
.tools-card-body select:focus {
	border-color: #2ab68c;
	box-shadow: 0 0 0 3px rgba(42, 182, 140, 0.18);
}

.tools-card-body .button,
.tools-card-body input[type="submit"],
.tools-card-body button[type="submit"] {
	height: 38px;
	padding: 0 14px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #ff9b63, #2ab68c);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: center;
	box-shadow: 0 8px 18px rgba(18, 102, 75, 0.24);
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.tools-card-body .button:hover,
.tools-card-body input[type="submit"]:hover,
.tools-card-body button[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(18, 102, 75, 0.3);
}

.tools-card-body .autoindex_a {
	font-weight: 700;
	color: #1b2b74;
}

/* Upload forms */
.upload-shell {
	width: min(980px, 100%);
	margin: 10px auto 14px;
	border-collapse: separate;
	border-spacing: 0;
}

.upload-card-body {
	padding: 14px 16px;
	white-space: normal;
}

.upload-title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	color: #17407c;
	font-family: Monaco, Geneva, sans-serif;
}

.upload-form-detailed {
	display: grid;
	gap: 12px;
}

.upload-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.upload-row {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(25, 66, 120, 0.14);
}

.upload-label {
	font-weight: 700;
	color: #163b73;
	font-size: 14px;
	line-height: 1.25;
}

.upload-input {
	width: 100%;
	max-width: 100%;
	padding: 4px;
	font-size: 13px;
	color: #123468;
}

.upload-input::file-selector-button,
.upload-input::-webkit-file-upload-button {
	border: none;
	border-radius: 9px;
	padding: 7px 11px;
	margin-right: 10px;
	background: linear-gradient(135deg, #91a9f5, #27b7cf);
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.upload-actions {
	margin: 0;
}

.upload-submit {
	min-width: 116px;
	height: 38px;
}

.upload-continue-wrap {
	margin: 8px 0 0;
}

.upload-continue {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: #173d7a;
	text-decoration: none;
}

.upload-quick-form {
	margin: 0;
}

.upload-quick-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	line-height: 1.35;
	font-size: 14px;
	font-weight: 600;
	white-space: normal;
}

.upload-count {
	width: 64px;
	height: 36px;
	padding: 6px;
	text-align: center;
	border: 1px solid #c7d6ef;
	border-radius: 10px;
	font-size: 14px;
	color: #123468;
}

.upload-result-shell {
	width: min(760px, 100%);
}

.upload-result-card {
	padding: 14px 16px;
}

.upload-result-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.upload-result-block {
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(17, 67, 129, 0.14);
	background: rgba(255, 255, 255, 0.72);
	color: #14386e;
	font-size: 14px;
	line-height: 1.35;
}

.upload-result-block strong {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	color: #12376f;
}

.upload-ok {
	box-shadow: inset 0 0 0 1px rgba(31, 181, 109, 0.18);
}

.upload-error {
	box-shadow: inset 0 0 0 1px rgba(226, 109, 86, 0.2);
}

.upload-result-list {
	margin: 0;
	padding-left: 18px;
}

.upload-result-list li {
	margin: 0 0 4px;
	overflow-wrap: anywhere;
}

.upload-empty {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(22, 84, 166, 0.12);
	color: #184480;
	font-weight: 600;
}

/* Login hero */
.login-hero {
	position: relative;
	min-height: 72vh;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1.2rem, 4vw, 2.5rem) 4rem;
	overflow: hidden;
	white-space: normal;
	transform: none;
	transition: opacity 0.35s ease;
}

.login-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 184, 148, 0.55), rgba(255, 179, 64, 0.48));
	mix-blend-mode: multiply;
	pointer-events: none;
}

.login-hero::after {
	content: "";
	position: absolute;
	inset: 18% 8% auto auto;
	width: 260px;
	height: 260px;
	background: conic-gradient(from 120deg, rgba(255, 255, 255, 0.16), rgba(0, 184, 148, 0.3), rgba(255, 108, 99, 0.35), rgba(255, 255, 255, 0.1));
	filter: blur(12px);
	opacity: 0.8;
	border-radius: 50%;
	animation: pulse 12s ease-in-out infinite;
}

.loader {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(5, 10, 25, 0.65);
	backdrop-filter: blur(6px);
	z-index: 9999;
	transition: opacity 0.25s ease;
}

.loader.hidden {
	opacity: 0;
	pointer-events: none;
}

.loader-card {
	width: min(520px, 92vw);
	padding: 1rem 1rem 1.2rem;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(236, 247, 255, 0.92));
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.loader-text {
	margin-top: 0.65rem;
	color: #1d3557;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.kids-loader {
	width: 100%;
	height: auto;
	display: block;
}

.kids-group {
	transform-origin: center bottom;
	animation: kids-wave 1.8s ease-in-out infinite;
}

.kid {
	transform-origin: center 20px;
}

.kid-1 { animation: kid-bounce 1.2s ease-in-out infinite; }
.kid-2 { animation: kid-bounce 1.2s ease-in-out 0.1s infinite; }
.kid-3 { animation: kid-bounce 1.2s ease-in-out 0.2s infinite; }
.kid-4 { animation: kid-bounce 1.2s ease-in-out 0.3s infinite; }
.kid-5 { animation: kid-bounce 1.2s ease-in-out 0.4s infinite; }

@keyframes kids-wave {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-2px); }
}

@keyframes kid-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}

.login-card {
	position: relative;
	width: min(960px, 94vw);
	max-width: 100%;
	margin: 0 auto;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.94));
	backdrop-filter: blur(16px);
	border-radius: 20px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: 0 18px 50px rgba(9, 17, 43, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.5);
	overflow: hidden;
}

.login-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(1.2rem, 3vw, 1.8rem);
	align-items: stretch;
}

.login-grid > * {
	min-width: 0;
}

.login-panel {
	position: relative;
	white-space: normal;
}

.login-panel.info {
	display: grid;
	gap: 0.6rem;
	color: #ffffff;
	background: linear-gradient(180deg, #0f58c7 0%, #00c7b7 100%);
	border-radius: 16px;
	padding: clamp(1.2rem, 2.6vw, 1.8rem);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 12px 30px rgba(15, 88, 199, 0.26);
	overflow: hidden;
}

.login-panel.info::after {
	content: "";
	position: absolute;
	top: -12%;
	bottom: -12%;
	right: -18px;
	width: 70px;
	background:
		radial-gradient(circle at 0 20%, rgba(255,255,255,0.95) 18px, transparent 19px),
		radial-gradient(circle at 0 55%, rgba(255,255,255,0.95) 18px, transparent 19px),
		radial-gradient(circle at 0 90%, rgba(255,255,255,0.95) 18px, transparent 19px);
	background-repeat: no-repeat;
	background-size: 60px 60px;
	background-position: 0 0, 0 60px, 0 120px;
	opacity: 0.9;
}

.login-panel.form {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 16px;
	padding: clamp(1rem, 2.2vw, 1.35rem);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.login-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(255, 179, 64, 0.18), transparent 45%),
		radial-gradient(circle at 80% 0%, rgba(0, 184, 148, 0.2), transparent 40%);
	opacity: 0.9;
	pointer-events: none;
}

.login-blob {
	position: absolute;
	top: -20px;
	right: -60px;
	width: 240px;
	opacity: 0.25;
	filter: drop-shadow(0 10px 24px rgba(92, 124, 250, 0.28));
	animation: float 16s ease-in-out infinite;
}

.login-header {
	position: relative;
	z-index: 1;
	margin-bottom: 1.4rem;
	color: inherit;
}

.login-header::after {
	content: "";
	display: block;
	width: 72px;
	height: 4px;
	margin-top: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffdf85, #ff7f50, #00c7b7);
}

.login-kicker {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	color: #ffdf85;
	margin: 0 0 0.25rem 0;
}

.login-title {
	margin: 0;
	font-size: clamp(28px, 5vw, 34px);
	line-height: 1.2;
}

.login-subtitle {
	margin: 0.35rem 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 14px;
}

.login-highlights {
	margin: 0.2rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.login-highlights li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 0.75rem;
	border-radius: 12px;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 22px rgba(0, 0, 0, 0.12);
	color: #f8fbff;
	font-weight: 600;
}

.login-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: radial-gradient(circle, #ff7f50 0%, #00c7b7 80%);
	box-shadow: 0 0 10px rgba(255, 140, 66, 0.6);
	flex-shrink: 0;
	animation: pulse 3.5s ease-in-out infinite;
}

.contact-box {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.8rem;
	padding: 0.65rem 0.9rem;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	color: #f8fbff;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(4px);
	white-space: normal;
}

.contact-box span {
	overflow-wrap: anywhere;
}

.contact-whatsapp {
	text-decoration: none;
	background: linear-gradient(130deg, rgba(34, 201, 110, 0.9), rgba(18, 156, 78, 0.9));
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 10px 26px rgba(7, 133, 67, 0.42);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-whatsapp:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 14px 30px rgba(7, 133, 67, 0.5);
}

.contact-whatsapp:active {
	transform: translateY(0);
}

.contact-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.wa-float {
	position: fixed;
	right: 18px;
	bottom: 22px;
	width: 62px;
	height: 62px;
	border-radius: 999px;
	background: radial-gradient(circle at 35% 30%, #43f98d, #0ea54d 65%);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 0 rgba(34, 201, 110, 0.55), 0 10px 24px rgba(5, 78, 38, 0.45);
	text-decoration: none;
	z-index: 2200;
	animation: wa-pulse 2.1s ease-in-out infinite;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 0 0 12px rgba(34, 201, 110, 0.15), 0 12px 28px rgba(5, 78, 38, 0.5);
}

.wa-float svg {
	width: 31px;
	height: 31px;
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.3));
}

.autoindex_body.is-login-screen .wa-float {
	display: none;
}

.login-form {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.15rem;
}

.login-label {
	display: grid;
	gap: 0.4rem;
	font-size: 13px;
	color: #22335a;
	font-weight: 600;
}

.login-field {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid #dfe7f7;
	border-radius: 14px;
	padding: 0.7rem 0.95rem;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.login-field:focus-within {
	border-color: #ff8c42;
	box-shadow: 0 10px 30px rgba(255, 140, 66, 0.18), 0 0 0 3px rgba(0, 199, 183, 0.18);
	transform: translateY(-1px);
}

.login-input {
	width: 100%;
	padding: 0.35rem 0.5rem;
	border: none;
	background: transparent;
	font-size: 14px;
	color: #0c193f;
	outline: none;
}

.login-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #00a8a0;
	margin-right: 0.55rem;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.login-icon svg { width: 100%; height: 100%; }

.password-toggle {
	margin-left: 0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: rgba(0, 184, 148, 0.12);
	color: #0c8c80;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

.password-toggle:hover { background: rgba(0, 184, 148, 0.2); }
.password-toggle:active { transform: translateY(0.5px); }

.password-toggle .icon-eye-off { display: none; }
.password-toggle.is-hidden .icon-eye { display: none; }
.password-toggle.is-hidden .icon-eye-off { display: inline-block; }

.login-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 1rem;
	border: none;
	border-radius: 14px;
	background: linear-gradient(135deg, #ff7f50, #00c7b7);
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	box-shadow: 0 14px 34px rgba(255, 140, 66, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	position: relative;
	overflow: hidden;
}

.login-button:disabled,
.login-button.is-loading {
	opacity: 0.88;
	cursor: wait;
	transform: none;
}

.login-button:hover {
	transform: translateY(-1.5px);
	box-shadow: 0 18px 36px rgba(0, 199, 183, 0.32);
}

.login-button:active {
	transform: translateY(0);
	box-shadow: 0 10px 24px rgba(255, 140, 66, 0.38);
}

.login-button::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 55%);
	transform: scale(0);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.login-button.is-ripple::after {
	transform: scale(4);
	opacity: 1;
}

.login-btn-icon { width: 18px; height: 18px; }

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-16px) rotate(2deg); }
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.55; }
	50% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes wa-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 201, 110, 0.55), 0 10px 24px rgba(5, 78, 38, 0.45); }
	70% { box-shadow: 0 0 0 16px rgba(34, 201, 110, 0), 0 14px 28px rgba(5, 78, 38, 0.5); }
	100% { box-shadow: 0 0 0 0 rgba(34, 201, 110, 0), 0 10px 24px rgba(5, 78, 38, 0.45); }
}

@media (max-width: 640px) {
	.login-hero {
		padding-left: 0.6rem;
		padding-right: 0.6rem;
	}

	.login-card {
		width: 100%;
		border-radius: 18px;
		box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
		padding: 1rem;
	}

	.login-grid {
		grid-template-columns: 1fr;
	}

	.login-panel.info::after {
		display: none;
	}

	.login-panel.form {
		padding: 1rem;
	}

	.login-highlights li {
		font-size: 13px;
		line-height: 1.35;
	}

	.login-blob {
		width: 180px;
		top: -40px;
		right: -40px;
	}

	.login-title {
		font-size: 27px;
		word-break: break-word;
	}

	.login-subtitle {
		font-size: 13px;
	}
}

@media (max-width: 980px) {
	body {
		background-attachment: scroll;
	}

	.autoindex_body {
		align-items: stretch;
		padding: 10px;
	}

	.file-table-scroll {
		overflow-y: auto;
		max-height: 70vh;
		border: 1px solid rgba(255, 255, 255, 0.5);
		background: rgba(255, 255, 255, 0.18);
	}

	.file-list-table {
		min-width: 680px;
	}

	.autoindex_td,
	.autoindex_td_right {
		font-size: 13px;
		padding: 8px 9px;
	}

	.autoindex_th {
		font-size: 12px;
		padding: 9px 10px;
	}

	.tools-table {
		display: block;
		width: 100%;
		overflow-x: visible;
	}

	.tools-table > tbody,
	.tools-table > tbody > tr {
		display: block;
	}

	.tools-table > tbody > tr > td {
		display: block;
		width: 100%;
		padding: 0;
		margin-bottom: 12px;
	}

	.tools-table > tbody > tr > td > table {
		width: 100%;
	}

	.tools-table > tbody > tr > td.tools-col {
		width: 100%;
		padding: 0;
	}

	.tools-card {
		border-radius: 14px;
	}

	.tools-card-body {
		padding: 12px;
		font-size: 15px;
	}

	.tools-card-body p {
		font-size: 14px;
		line-height: 1.35;
	}

	.search-col .tools-card-body form p {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.search-col .tools-card-body form p br {
		display: none;
	}

	.search-col .tools-card-body input[type="text"],
	.search-col .tools-card-body select,
	.search-col .tools-card-body input[type="submit"] {
		width: 100%;
	}

	.account-col .tools-card-body form p {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}

	.account-col .tools-card-body input[name="num_uploads"] {
		width: 64px;
		height: 34px;
		padding: 6px;
		text-align: center;
		flex: 0 0 64px;
	}

	.account-col .tools-card-body input[type="submit"] {
		height: 34px;
		padding: 0 12px;
		font-size: 12px;
		flex: 0 0 auto;
	}

	.upload-row {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.upload-result-card {
		padding: 12px;
	}

	.upload-result-block {
		padding: 9px 10px;
		font-size: 13px;
	}

	.upload-result-block strong {
		font-size: 14px;
	}

	.upload-label {
		font-size: 13px;
	}

	.upload-input {
		font-size: 12px;
	}

	.paragraph {
		max-width: 100%;
	}

	.login-hero {
		padding: 1.2rem 0.9rem 2.2rem;
		min-height: auto;
	}

	.login-card {
		width: min(720px, 96vw);
	}

	.login-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.login-panel.info::after {
		display: none;
	}
}

@media (max-width: 420px) {
	.autoindex_body {
		padding: 8px;
		padding-bottom: 84px;
	}

	.login-hero {
		padding-left: 0.35rem;
		padding-right: 0.35rem;
	}

	.wa-float {
		right: 12px;
		bottom: 14px;
		width: 56px;
		height: 56px;
	}

	.wa-float svg {
		width: 28px;
		height: 28px;
	}

	.file-list-table {
		min-width: 620px;
	}

	.login-hero {
		padding: 0.7rem 0.35rem 1.2rem;
	}

	.login-card {
		border-radius: 14px;
		padding: 0.65rem;
	}

	.tools-card-body {
		padding: 10px;
		font-size: 14px;
	}

	.tools-card-body p {
		font-size: 13px;
	}

	.upload-card-body {
		padding: 10px;
	}

	.upload-title {
		font-size: 18px;
	}

	.upload-result-block {
		font-size: 12px;
	}

	.upload-result-block strong {
		font-size: 13px;
	}

	.upload-quick-line {
		font-size: 13px;
	}

	.login-panel.info {
		padding: 0.9rem;
		border-radius: 12px;
	}

	.login-title {
		font-size: 24px;
		line-height: 1.15;
	}

	.login-subtitle {
		font-size: 12px;
	}

	.login-highlights {
		gap: 0.4rem;
	}

	.login-highlights li {
		padding: 0.5rem 0.55rem;
		font-size: 12px;
	}

	.contact-box {
		font-size: 12px;
		padding: 0.55rem 0.65rem;
	}

	.login-field {
		padding: 0.55rem 0.7rem;
	}

	.login-input {
		font-size: 16px;
	}

	.login-button {
		padding: 0.8rem 0.85rem;
	}
}