@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

* {
  box-sizing: border-box;
}
html,
body,
#root,
#defaultLayout,
#guestLayout {
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #d1d5db;
  background-color: #1c1c1e;
}

input {
  outline: 0;
  background: #2c2c2e;
  width: 100%;
  border: 2px solid #3a3a3c;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  color: #e5e7eb;
  transition: all 0.3s;
}

input:focus {
  border-color: #5e81ac;
}

.btn,
.btn-add,
.btn-edit,
.btn-delete,
.btn-page {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #4c566a;
  border: 0;
  text-decoration: none;
  padding: 15px;
  color: #eceff4;
  font-size: 16px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

.btn-add,
.btn-edit,
.btn-delete,
.btn-page {
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  border-radius: 4px;
}
.btn-add {
  background-color: #4c566a;
}
.btn-delete {
  background-color: #bf616a;
  margin-left: 10px;
}
.btn-page {
  background-color: #3b4252;
  color: #d8dee9;
  margin: 3px;
}
.btn-page.active {
  background-color: #81a1c1;
  color: #2e3440;
}
.btn-page:disabled {
  background-color: #3a3a3c;
  color: #6c6f74;
}

.btn-logout {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  color: #d8dee9;
  transition: all 0.3s;
  border-radius: 6px;
  margin-left: 25px;
}
.btn-logout:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn:hover,
.btn:active,
.btn:focus {
  background: #4c566a;
}

.pagination {
  padding-top: 25px;
}

.text-center {
  text-align: center;
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

table > thead > tr > th {
  text-align: left;
  padding: 0.5rem 0.5rem;
  background-color: #3b4252;
  color: #eceff4;
}

table > tbody > tr > td {
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid #3b4252;
  white-space: nowrap;
}

.card {
  background-color: #2c2c2e;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.alert {
  padding: 1rem;
  background-color: #bf616a;
  color: white;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.notification {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  padding: 1rem 1.5rem;
  background-color: #a3be8c;
  color: #2c2c2e;
  border-radius: 0.5rem;
}

/* Login/Signup forms*/

.login-signup-form {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-signup-form .form {
  width: 360px;
  position: relative;
  z-index: 1;
  background: #2c2c2e;
  max-width: 360px;
  padding: 34px;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
}

.login-signup-form .title {
  font-size: 20px;
  margin-bottom: 1rem;
  text-align: center;
  color: #eceff4;
}

.login-signup-form .form .message {
  margin: 15px 0 0;
  color: #a3be8c;
  font-size: 16px;
  text-align: center;
}

.login-signup-form .form .message a {
  color: #81a1c1;
  text-decoration: none;
}

/* Login/Signup form */

#defaultLayout {
  display: flex;
}

#defaultLayout aside {
  width: 240px;
  background-color: #4c566a;
  padding: 1rem;
}

#defaultLayout aside > a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

#defaultLayout aside > a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#defaultLayout .content {
  flex: 1;
}

#defaultLayout header {
  height: 80px;
  padding: 2rem 3rem;
  background-color: #2c2c2e;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#defaultLayout main {
  padding: 2rem;
}

.animated {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-info {
  margin-top: 25px;
}
