/*Account Manger Style Sheet*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');


/*Reset CSS*/
* {box-sizing: border-box;}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	overflow: hidden;
	font-weight: 300;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {color: var(--clr-dark);}
img {width: 100%; display: block; margin: 0 auto;}

option {font-weight: 300;}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--clr-primary) var(--clr-mid-gray);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--clr-mid-gray);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--clr-primary);
  border-radius: 20px;
  border: 2px solid var(--clr-light-gray);
}



/*Colors*/
:root {
	--clr-accent:#000e46;
	--clr-primary: #828de4;
	--clr-secondary: #4a68dc;
	--clr-dark: #4b4b4b;
	--clr-light-gray:#f4f4f4;
	--clr-mid-gray: #ddd;
	--clr-gray: #e9e9ed;
	--clr-red: #f63131;
	--clr-green: #4bc477;
	--clr-yellow: #ffbf29;
	--clr-white: #ffffff;
	
}

/*Fonts*/
:root {
	--font-primary: 'Poppins', sans-serif;
}

.btn {
  cursor: pointer;
  padding: 16px;
  background: var(--clr-secondary);
  color: var(--clr-white);
  text-decoration: none;
  border-radius: 4px;
  border: none;
  text-align: center;
  transition: 0.25s all ease-in-out;
}

.btn.disable {
  background: var(--clr-dark);
}
.btn.btn-back {
	background: var(--clr-white);
color: var(--clr-dark);
}

.btn.btn-cancel, .btn-delete {
  background: var(--clr-red);
}
.btn.btn-save {
  background: var(--clr-green);
}

.edit-entry .btn.btn-edit {
	display: block;
}

.edit-entry .btn.btn-add {
	display: none;
}

.btn-copy {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
  border: none;
  background: transparent;
  padding: 10px;
  font-size: 28px;
  text-decoration: none;
  color: #b5b5b5;
  cursor: pointer;
}
/*Search*/
.top-bar-search {
  text-align: center;
  visibility: hidden;
}

.search-field {
display: flex;
flex-direction: row;
gap: 6px;
}

.btn.btn-search {
  padding: 6px;
}

.input-search {
  width: 100%;	
  padding: 7px;
  border-radius: 5px;
  border: none;
  vertical-align: middle;
}

.message-box-results {
  background: #ff0b0bcc;
  padding: 12px;
  text-align: center;
  margin: 0 auto;
  min-width: 360px;
  border-radius: 36px;
  color: #fff;
}

.label-tag {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--clr-dark);
}

.app-wrapper {
  position: relative;
}

/*Login Page*/
.backdrop {
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: url('../media/security-background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--clr-secondary);
}

.logo-icon {
  width: 96px;
  margin: 10px auto;
}
.form-container.login {
  padding: 28px;
  background: var(--clr-white);
  border-radius: 16px;
  box-shadow: 0px 10px 18px #0003;
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.headerbox {
  margin-bottom: 16px;
}
.headerbox p {
  letter-spacing: 1px;
  color: inherit;
  margin-bottom: 0.3rem;
  letter-spacing: 1.6;
}
.input-box:last-of-type {margin-top: 16px;}
.input-box .form-input {
  width: 100%;
  padding:12px 12px 12px 36px;
  font-size: 16px;
  margin-bottom: 12px;
}
.icon {
  position: relative;
}
.input-box .icon::before {
  position: absolute;
  top: -1px;
  left: 11px;
  font-size: 19px;
  color: var(--clr-secondary);
}
.error {
  font-size: 14px;
  padding: 12px 6px;
  background: #f63131c9;
  color: #fff;
  border-radius: 6px;
  margin-bottom: 16px;
}
.btn.btn-main-login {
  font-size: inherit;
  letter-spacing: 1px;
  width: 160px;
}

.ooops {
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}


/*App Components*/

/*Top Bar*/
.top-bar {
  background: var(--clr-accent);
  color: var(--clr-white);
  padding: 21px 16px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}
.top-bar .col {
  flex: 1 1;
}
.top-bar .col:last-of-type {
  text-align: right;
}
.top-bar i {
  font-size: 18px;
  vertical-align: middle;
}

.top-bar-title i {
  margin-right: 6px;
}
.tob-bar-title-name {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.app-logo {
  max-width: 32px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.top-bar-menu .btn {
  background: var(--clr-white);
  color: var(--clr-secondary);
  border-radius: 32px;
  padding: 10px 13px;
}

.btn.btn-delete:hover {
  background: var(--clr-red);
  color: var(--clr-white);
  transition: 0.25s all ease-in-out;
}

.top-bar-menu .btn.btn-menu {
  background: transparent;
  color: #fff;
  padding: 0;
  border-radius: unset;
  margin-left: 10px;
}

.sub-menu {
  display: none;	
  position: absolute;
  background: var(--clr-white);
  width: 50%;
  max-width: 260px;
  height: 100%;
  padding: 12px;
  right: 0;
  top: 74px;
  box-shadow: 0px 10px 10px #0002;
}

.btn-submenu {
  display: block;
  text-align: left;
  text-decoration: none;
  color: var(--clr-dark);
  border: 1px solid var(--clr-mid-gray);
  padding: 12px;
  margin-bottom: 12px;
}

.btn-submenu:hover {
  color: var(--clr-secondary);
  border-color: var(--clr-secondary);
}

/*Bottom Bar*/
.bottom-bar {
  padding: 21px 16px;
  background: var(--clr-white);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
}

.button-positions {
  position: absolute;
  top: -36px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  z-index: 9999;
}

.bottom-bar .btn {
	border-radius: 100%;
	box-shadow: 0px 6px 6px #0003;
	margin: 0px 6px;
	width: 62px;
	height: 62px;
	font-size: 28px;
	display: inline-block;
}
.bottom-bar .btn  span {vertical-align: middle;}
.bottom-bar button.btn  span {vertical-align: unset;}

.copyright {
  font-size: 13px;
  text-align: center;
  display: inline-block;
  margin-top: 12px;
}
/*Content Wraper*/
.content-wrapper {
  background: var(--clr-gray);
  height: 100vh;
  overflow-y: scroll;
  padding: 16px 16px 180px;
}


.flex-components {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  text-align: center;
  gap: 16px;
}

.item-category-component {
  width: calc((100% - 1em) / 2);
  max-width: 260px;
  background: #fff;
  padding: 21px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.item-category-component:hover {
  box-shadow: 0px 4px 20px #0001;
}
.type-icon {
  font-size: 64px;
  color: var(--clr-primary);
}
.type-name {
  font-weight: 900;
}

.type-label {
  font-size: 13px;
  margin-bottom: 6px;
}

.item-component {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background: #fff;
  padding: 18px;
  border-bottom: 2px solid var(--clr-secondary);
}

.item-component .col {flex: 1 1 auto;}
.col:first-of-type  {text-align: left;}
.col:last-of-type  {text-align: right;}


.data-listing {
  flex: 1;
  text-align: left;
}

.row-listing {
  padding: 18px 0px;
  margin-bottom: 18px;
}

.row-listing:first-of-type {
  border-bottom: 1px solid var(--clr-mid-gray);
}

.entry-box {
  position: relative;
  display: block;
}

.entry-box::before {
  position: absolute;
  font-size: 32px;
  color: var(--clr-secondary);
  left: 4px;
  top: 7px;
}

.row-listing select {padding: 10px;}

.non-input {
  width: 100%;
  font-size: 17px;
  font-weight: 900;
  font-family: var(--font-primary);
  border: 1px solid var(--clr-primary);
  border-radius: 4px;
  padding: 10px 10px 10px 42px;
  margin-bottom: 21px;
  background: var(--clr-white);
  color: inherit;
}

.non-input[disabled] {
	border: 1px solid transparent;
}

.settings-page .container-components .btn, .settings-page  .container-components .btn.disable {
  width: 154px;
  display: inline-block;
}


.settings-page .container-components .row-listing:last-of-type{
  text-align: center;
}

.titles {
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 18px;
}

.title-label {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 18px;
  color: var(--clr-secondary);
}
.title-label i {
  font-size: 24px;
  font-weight: inherit;
  vertical-align: middle;
  margin-right: 9px;
}


/*Mobile Styles*/

@media screen and (max-width: 480px){
.top-bar .col {
  flex: 1 1 auto;
}
.top-bar-search {
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  padding: 24px;
  background: var(--clr-yellow);
}
	
.search-field {
  display: flex;
  flex-direction: row;
  gap: 6px;
  justify-content: center;
}	

}