@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Kaushan+Script&display=swap");
:root {
	--main-color: #7c00fe;
	--white-bg: #f7f7ff;
	--dark-bg: #e9e8ff;
	--text-color: #000;
}
body.active {
	--main-color: #b366ff; 
	--white-bg: #24204B;
	--dark-bg: #16122B;
	--text-color: #e5e5e7;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	border: none;
	outline: none;
	text-decoration: none;
}
body {
	font-family: "Ubuntu", sans-serif;
	background-color: var(--dark-bg);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	height: 100vh;
	margin: auto;
}
.add-data,
.login-data {
	width: 26rem;
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
	border-radius: 5px;
	background-color: var(--white-bg);
	padding: 0.8em 1.4rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transition: all 0.1s ease;
}
.add-data {
	width: 40rem;
	transform: scale(0.9);
}
.logo {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.logo span {
	font-family: "Kaushan Script", "Ubuntu", sans-serif;
	font-size: 1.2rem;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 0.5rem;
	letter-spacing: 2px;
	color: var(--text-color);
}
.logo img {
	width: 3.1rem;
	height: 3.1rem;
}
.logo h1 {
	color: var(--text-color);
	font-size: 1.15rem;
	font-weight: 500;
	margin: 6px 0 2rem 0;
}
h1 {
	color: #adadad;
	font-weight: 100;
	margin-bottom: 1.4rem;
	display: flex;
	align-items: center;
	gap: 5px;
}
h1 i {
	font-size: 1.5rem;
	margin-top: 1px;
}
form {
	width: 100%;
}
ul li {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.5rem;
}
ul li span {
	color: var(--text-color);
}
ul li .box-label {
	width: 6rem;
}
ul li .box-input,
ul li .box-input input,
ul li .box-input select {
	width: 100%;
	background-color: var(--white-bg);
	color: var(--text-color);
	border-radius: 5px;
}
ul li .box-label label {
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-color);
}
ul li .box-input input,
ul li .box-input select {
	border-bottom: 0.1rem solid var(--main-color);
	outline: none;
	padding: 0.5rem 5px;
}
.btn {
	margin-top: 1.5rem;
}
.btn button {
	padding: 0.4rem 1rem;
	color: #fff;
	border-radius: 10px;
	cursor: pointer;
	font-size: 1.1rem;
	letter-spacing: 1px;
	background-color: var(--main-color);
	width: 100%;
	margin-bottom: 0.3rem;
}
form p.login,
form p.daftar {
	text-align: center;
	color: var(--text-color);
	margin: 10px 0 0 0;
}
form p.login a,
form p.daftar a {
	color: var(--main-color);
	text-decoration: underline;
	cursor: pointer;
}
input[readonly] {
	background-color: #e9d4ff !important;
	color: #000 !important;
	border-radius: 5px;
	cursor: not-allowed;
}

@media only screen and (max-width: 768px) {
	.login-data {
		width: 90vw !important;
	}
	.add-data {
		width: 100vw !important;
	}
	.login-data h1,
	.add-data h1 {
		text-align: center;
	}
}