* {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

@font-face {
	font-family: 'AlacritySans';
	src: url(../fonts/Alacrity-Sans-Regular.ttf);
}

a {
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-focus-ring-color: transparent;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}


body {
	background-image: url(../images/pattren-light.jpg);
	background-repeat: repeat;
	background-size: auto;
	background-position: fixed;
	text-decoration: none;
	font-family: 'AlacritySans', sans-serif !important;
	font-color: #000;
	max-width: 500px;
	margin: 0px auto;
}

i {
	vertical-align: middle;
}


input:focus {
	outline: none;
}

a:focus:not(:focus-visible) {
	outline: none;
}

input[type=number] {
	-moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hr-100vh{
  background: #fff;
  height: 100%;
  min-height: 100vh;
}

.w3-animate-zoom {
	animation: animatezoom 0.3s
}

@keyframes animatezoom {
	from {
		transform: scale(0)
	}

	to {
		transform: scale(1)
	}
}

#uploadWrapper {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
}

#uploadLabel {
	background: #181d3d;
	color: #fff;
	text-align: center;
	font-variant-caps: all-small-caps;
	font-weight: 600;
	font-size: 15px;
	padding: 12px 12px;
	width: 120px;
	clear: both;
	margin: 1% 2.5% 6% 0px;
	float: right;
	border-radius: 20px;
	filter: drop-shadow(0 0 12px rgba(24, 29, 61, .16));
	font-family: 'AlacritySans', sans-serif;
	cursor: pointer;
	margin-top: 10px;
}

#uploadInput {
	display: none;
}

#loadingOverlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	justify-content: center;
	align-items: center;
	max-width: 500px;
	margin: 0 auto;
}

.spinner {
	width: 48px;
	height: 48px;
	border: 5px solid #181d3d;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.data-list {
    width: 100%;
    margin: 0 auto;
    clear: both;
    font-variant: all-small-caps;
    font-family: 'AlacritySans', sans-serif !important;
    font-weight: bold;
    padding-bottom: 10px;
}

.data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #eee;
    border-radius: 18px;
    padding: 18px 10px;
    margin: 13px !important;
    background: #fff;
}

.circle {
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 17px;
    flex-shrink: 0;
}

.info {
    display: flex;
    gap: 5px;
    flex-grow: 1;
    margin-left: 10px;
    font-size: 16px;
    color: #333;
}

.copyable {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.1s;
}

.copyable:active {
    background: #e8f0fe;
}

.delete-btn {
    background: #fd6f84;
    border: none;
    color: white;
    font-size: 13px;
    border-radius: 4px;
    padding: 6px;
    width: 30px;
    cursor: pointer;
    font-variant: all-small-caps;
    font-family: 'AlacritySans', sans-serif !important;
    font-weight: bold;
}

.copy-btn {
    background: #57d438;
    border: none;
    color: white;
    font-size: 13px;
    border-radius: 4px;
    padding: 6px;
    width: 45px;
    cursor: pointer;
    font-variant: all-small-caps;
    font-family: 'AlacritySans', sans-serif !important;
    font-weight: bold;
    margin-right: 3px;
}

#add-data,#add-data-config {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	max-width: 500px;
	margin: 0px auto;
}

.add-data {
	background: #fff;
	padding: 30px 0px;
	border-radius: 12px;
	width: 95%;
	position: relative;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	margin: 0px auto;
	top: 30%;
}

.close-btn {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 24px;
	color: #333;
	cursor: pointer;
}

.form-lg,
.form-rg {
	width: 90%;
	margin: 10px auto 0px;
	display: block;
}

.form-lg .input,
.form-rg .input {
	background: transparent;
	border: 1px solid #BBB;
	border-radius: 4px;
	color: #777;
	padding: 15px 12%;
	margin-bottom: 17px;
	outline: none;
	transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	font-variant: all-small-caps;
	font-size: 15px;
}

.form-lg .submit,
.form-rg .submit {
	position: relative;
	overflow: hidden;
	background: #181d3d;
	color: #fff;
	font-variant: all-small-caps;
	font-weight: 800;
	text-align: center;
	padding: 15px 0px;
	border: 1px solid #181d3d;
	border-radius: 4px;
	font-size: 17px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.form-lg .submit::before,
.form-rg .submit::before {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: rgba(255, 255, 255, 0.3);
	transform: skewX(-20deg);
	pointer-events: none;
}

.form-lg .submit:hover::before,
.form-rg .submit:hover::before {
	animation: flash-slide 0.6s forwards;
}

@keyframes flash-slide {
	0% {
		left: -75%;
	}

	100% {
		left: 125%;
	}
}

.input-wrapper {
	position: relative;
	margin-bottom: 15px;
}

.input-wrapper i {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	left: 9%;
	font-size: 18px;
	pointer-events: none;
}

.input-wrapper input {
	height: 50px;
}

.form-lg .input::placeholder,
.form-rg .input::placeholder {
	padding-left: 0%;
	font-family: 'AlacritySans', sans-serif;
}

input[type="submit"],
button {
	font-family: 'AlacritySans', sans-serif;
}

.form-lg .input:focus,
.form-rg .input:focus {
	border-color: #181d3d;
	box-shadow: 0 0 7px rgba(103, 61, 230, 0.5);
}

.form-lg .input.error,
.form-rg .input.error {
	border-color: red !important;
	box-shadow: 0 0 7px rgba(255, 0, 0, 0.5) !important;
}

.input.error {
	border-color: red !important;
	box-shadow: 0 0 7px rgba(255, 0, 0, 0.5) !important;
}

.mid-label {
    position: absolute;
    top: -14px;
    left: 18px;
    background: #fd6f84;
    color: #fff;
    font-variant: all-small-caps;
    text-align: center;
    width: 110px;
    border-radius: 4px;
    padding: 4px 0px;
    font-size: 14px;
}

.btn-mid {
    background: #181d3d;
    color: #fff;
    text-align: center;
    font-variant-caps: all-small-caps;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 12px;
    width: 120px;
    border-radius: 20px;
    filter: drop-shadow(0 0 12px rgba(24, 29, 61, .16));
    font-family: 'AlacritySans', sans-serif;
    cursor: pointer;
    margin-top: 10px;
}

@keyframes spin { from { transform:rotate(0deg);} to { transform:rotate(360deg);} }