/* Base colors and styles */
:root {
  --base-bgcolor: #354152; /* خلفية الصفحة */
  --base-color: #7e8ba3; /* لون النص الافتراضي */
  --base-font-weight: 300;
  --base-font-size: 1rem;
  --base-line-height: 1.5;
  --base-font-family: Helvetica Neue, sans-serif;
  --input-placeholder-color: #7e8ba3;
  --link-color: #7e8ba3;
  --grid-max-width: 25rem;
  --grid-width: 100%;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  background-color: var(--base-bgcolor);
  color: var(--base-color);
  font: var(--base-font-weight) var(--base-font-size) / var(--base-line-height) var(--base-font-family);
  margin: 0;
  min-height: 100%;
}

.align {
  align-items: center;
  display: flex;
  flex-direction: row;
}

.align__item--start {
  align-self: flex-start;
}

.align__item--end {
  align-self: flex-end;
}

.site__logo {
  margin-bottom: 2rem;
}

input {
  border: 0;
  font: inherit;
}

input::placeholder {
  color: var(--input-placeholder-color);
}

.form__field {
  margin-bottom: 1rem;
}

input {
  outline: 0;
  padding: .5rem 1rem;
  color: #000; /* النص باللون الأسود */
}

input[type="email"],
input[type="password"] {
  width: 100%;
}

.grid {
  margin: 0 auto;
  max-width: var(--grid-max-width);
  width: var(--grid-width);
}

h2 {
  font-size: 2.75rem;
  font-weight: 100;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

svg {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--link-color);
}

.register {
  box-shadow: 0 0 250px #000;
  text-align: center;
  padding: 4rem 2rem;
  background-color: #fff; /* خلفية الفورم بيضاء */
}

input {
  border: 1px solid #242c37;
  border-radius: 999px;
  background-color:#fff;
  text-align: center;
}

input[type="email"],
input[type="password"] {
  background-repeat: no-repeat;
  background-size: 1.5rem;
  background-position: 1rem 50%;
}

input[type="email"] {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="#242c37"><path d="M256.017 273.436l-205.17-170.029h410.904l-205.734 170.029zm-.034 55.462l-205.983-170.654v250.349h412v-249.94l-206.017 170.245z"/></svg>');
}

input[type="password"] {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="#242c37"><path d="M195.334 223.333h-50v-62.666c0-61.022 49.645-110.667 110.666-110.667 61.022 0 110.667 49.645 110.667 110.667v62.666h-50v-62.666c0-33.452-27.215-60.667-60.667-60.667-33.451 0-60.666 27.215-60.666 60.667v62.666zm208.666 30v208.667h-296v-208.667h296zm-121 87.667c0-14.912-12.088-27-27-27s-27 12.088-27 27c0 7.811 3.317 14.844 8.619 19.773 4.385 4.075 6.881 9.8 6.881 15.785v22.942h23v-22.941c0-5.989 2.494-11.708 6.881-15.785 5.302-4.93 8.619-11.963 8.619-19.774z"/></svg>');
}

input[type="submit"] {
  background-image: linear-gradient(160deg, #8ceabb 0%, #378f7b 100%);
  color: #fff;
  margin-bottom: 6rem;
  width: 100%;
}
