* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #fff;
  font-family: "Rubik", sans-serif;
}

/* ====== Login Form Styles ====== */

.login-form {
  background: #fff;
  width: 500px;
  margin: 65px auto;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.2);
}
.login-form h1 {
  padding: 35px 35px 0 35px;
  font-weight: 300;
}
.login-form .content {
  padding: 35px;
  text-align: center;
}
.login-form .input-field {
  padding: 12px 5px;
}
.login-form .input-field input {
  font-size: 16px;
  display: block;
  font-family: "Rubik", sans-serif;
  width: 100%;
  padding: 10px 1px;
  border: 0;
  border-bottom: 1px solid #747474;
  outline: none;
  transition: all 0.2s;
}
.login-form .input-field input::placeholder {
  text-transform: uppercase;
}
.login-form .input-field input:focus {
  border-color: #222;
}
.login-form a.link {
  text-decoration: none;
  color: #747474;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 20px;
}
.login-form .action {
  display: flex;
  flex-direction: row;
}
.login-form .action button {
  width: 100%;
  border: none;
  padding: 18px;
  font-family: "Rubik", sans-serif;
  cursor: pointer;
  text-transform: uppercase;
  background: #e8e9ec;
  color: #777;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 0;
  letter-spacing: 0.2px;
  outline: 0;
  transition: all 0.3s;
}
.login-form .action button:hover {
  background: #d8d8d8;
}
.login-form .action button:nth-child(2) {
  background: #2d3b55;
  color: #fff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 4px;
}
.login-form .action button:nth-child(2):hover {
  background: #3c4d6d;
}

/* ====== Alert Box ====== */

.alert {
  display: none;
  padding: 20px;
  background-color: #ff9800;
  color: white;
  margin-bottom: 15px;
  font-weight: bold;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

/* ====== Transaction Table Styles ====== */

.transaction-table {
  margin-top: 10vh;
}

.transaction-head {
  display: flex;
  justify-content: space-between;
  width: 800px;
  margin: 8px auto;
}

.transaction-head > h2 {
  padding: 14px 0;
}

.transaction-head > button {
  background-color: #2d3b55;
  border: 2px solid #2d3b55;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  outline: none;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
}

.transaction-head > button:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  background: #3c4d6d;
  transform: translateY(-2px);
  cursor: pointer;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 800px;
  margin: auto;
  table-layout: fixed;
}
th {
  background-color: #2d3b55;
  color: white;
}

td,
th {
  border: 1px solid #ddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #eee;
}

tr > td {
  word-wrap: break-word;
}

/* ====== Create transaction form Modal ====== */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 200px;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  margin-top: 0;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  border-radius: 4px;
  width: 500px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
}

.close {
  color: #000;
  font-size: 28px;
  font-weight: bold;
  padding-top: 35px;
  padding-right: 35px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
