@import url(https://db.onlinewebfonts.com/c/ae238c3ee498c52a23aab0d9f5e94d6b?family=dana-fanum+regular);

/* Start Global Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "dana-fanum regular";
  text-decoration: none;
  scroll-behavior: smooth;
  outline: none;
}

:root {
  --bg-color: #1e3a8a;
  --second-bg-color: #e1b373;
  --text-color: #fff;
  --main-color: #ffd700;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  background: rgb(26, 26, 26);
  background: linear-gradient(
    98deg,
    rgba(26, 26, 26, 1) 0%,
    rgb(22, 1, 93) 100%
  );
  color: var(--text-color);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

/* End Global Variables */
.toast {
  position: fixed;
  top: 32px;
  right: 32px;
  width: 260px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast .wrapper {
  background: rgba(30, 58, 138, 0.97);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  padding: 12px 16px;
  min-height: 40px;
  font-size: 14px;
  direction: rtl;
  animation: slideIn 0.3s cubic-bezier(.4,2,.6,1);
  border-right: 4px solid #2f83ff;
}

.toast .wrapper.success { border-right-color: #47cf73; }
.toast .wrapper.info    { border-right-color: #2f83ff; }
.toast .wrapper.warning { border-right-color: #ffc107; }
.toast .wrapper.error   { border-right-color: #dc3545; }

.toast .icon {
  font-size: 18px;
  margin-left: 10px;
  flex-shrink: 0;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

.wrapper {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.main {
  margin: 12px 16px 12px 56px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main::before {
  font-size: 24px;
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
}

.success-icon::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #47cf73;
}

.info-icon::before {
  content: "\f05a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #2f83ff;
}

.warning-icon::before {
  content: "\f071";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffc107;
}

.error-icon::before {
  content: "\f06a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #dc3545;
}

.success {
  border-left: 4px solid #47cf73;
}

.info {
  border-left: 4px solid #2f83ff;
}

.warning {
  border-left: 4px solid #ffc107;
}

.error {
  border-left: 4px solid #dc3545;
}

/* Start Header */
.header {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 11%;
  padding: 3rem;
  display: flex;
  background: rgba(255, 255, 255, 0.052);
  border: 3px solid rgba(255, 255, 255, 0.171);
  box-shadow: 0 0 10px rgba(215, 214, 214, 0.022);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3.8rem;
  color: #1e3a8a;
  font-weight: 600;
}

.logo span {
  color: var(--second-bg-color);
}

/* .logo {
  font-size: 3.8rem;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
} */

.logo span {
  color: var(--second-bg-color);
}

.navbar {
  margin-left: 8rem;
}

.navbar a {
  font-size: 3rem;
  color: var(--text-color);
  margin-right: 7rem;
  transition: 0.3s;
  text-decoration: none;
}

.navbar a:hover {
  color: var(--second-bg-color);
}

#login {
  cursor: pointer;
  position: relative;
  padding: 8px 18px;
  font-size: 16px;
  color: var(--text-color);
  border: 2px solid var(--bg-color);
  border-radius: 34px;
  background-color: var(--bg-color);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}
#login a {
  text-decoration: none;
  color: var(--text-color);
}

#login::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: var(--second-bg-color);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#login:hover::before {
  scale: 3;
}

#login:hover {
  color: #212121;
  scale: 1.1;
  border: 2px solid var(--second-bg-color);
  box-shadow: 0 0px 20px var(--second-bg-color);
}

#login:active {
  scale: 1;
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
  position: relative;
  z-index: 102;
  cursor: pointer;
  transition: all 0.3s ease;
}

#login-icon {
  font-size: 3.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: 0.3s;
  display: none;
}

#cart-icon {
  font-size: 3.5rem;
  color: var(--text-color);
  cursor: pointer;
  margin-top: 1.6rem;
  transition: 0.3s;
  margin-right: 1rem;
  position: relative;
  display: none;
}

#cart-icon.has-items {
  display: block;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--second-bg-color);
  color: #1f1f1f;
  font-size: 1.2rem;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

#cart-icon:hover {
  color: var(--second-bg-color);
}

@media (max-width: 1948px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 1800px) {
  html {
    font-size: 53%;
  }

  .header {
    width: 76%;
  }

  .navbar a {
    font-size: 2.6rem;
    margin-right: 5rem;
  }
}

@media (max-width: 1600px) {
  .header {
    position: absolute;
    top: 4rem;
    width: 98%;
  }
}

@media (max-width: 1200px) {
  .home-content h1 {
    width: auto;
    font-size: 5rem;
  }

  .home-content p {
    width: auto;
    font-size: 2.2rem;
  }

  .home-img img {
    width: 30vw;
  }

  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 991px) {
  section {
    padding: 10rem 3% 2rem;
  }

  #menu-icon {
    display: block;
  }

  .header {
    position: fixed;
    top: 3rem;
    height: 11rem;
    padding: 2rem 3%;
    background: rgba(26, 26, 26, 0.345);
    backdrop-filter: blur(20px);
  }

  #menu-icon {
    display: block;
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
  }

  #login {
    display: none;
  }
  .navbar {
    position: fixed;
    top: -24px;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.808);
    transition: 0.5s ease;
    z-index: 999;
  }

  .navbar.active {
    z-index: 1000;
  }

  .navbar.active {
    right: -4%;
  }

  .navbar a {
    display: block;
    font-size: 1.8rem;
    margin: 1.5rem 0;
    padding: 1rem 3rem;
    text-align: right;
    color: var(--text-color);
  }

  .navbar a:hover {
    color: var(--second-bg-color);
  }

  .menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  #menu-icon {
    font-size: 4.2rem;
    z-index: 1000;
    position: fixed;
  }

  .home {
    flex-direction: column;
  }

  .navbar .logo {
    margin-bottom: 3rem;
    order: -1;
  }

  #login-icon {
    position: relative;
    top: 0.5rem;
    display: block;
  }

  .logo {
    font-size: 3.8rem;
    color: #1e3a8a;
    font-weight: 600;
    /* margin-bottom: 3rem; */
    text-align: center;
    width: 93%;
  }

  #menu-icon {
    display: block;
  }

  #menu-icon.bx-x {
    position: fixed;
    top: 5px;
    z-index: 1001;
  }

  .navbar.active {
    right: -4%;
    z-index: 1000;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .navbar a {
    display: block;
    font-size: 2.5rem;
    margin: 2rem 0;
  }

  #login {
    display: none;
  }

  #login-icon {
    display: block;
  }

  .logo {
    text-align: center;
  }

  .heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 45%;
  }

  .header {
    padding: 1.5rem;
  }

  .logo {
    font-size: 3.5rem;
  }
}

.account-container {
  max-width: 900px;
  margin: 18rem auto 4rem;
  padding: 0 2rem;
}

.account-content {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-title {
  font-size: 2.8rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.email-notification {
  background: #e1b373a2;
  backdrop-filter: blur(10px);
  border: 1px solid var(--second-bg-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-color);
}

.notification-content i {
  font-size: 2.4rem;
  color: var(--bg-color);
}

.notification-content span {
  font-size: 1.4rem;
  flex: 1;
}

.panel-section {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
}

.section-title {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.personal-info-section,
.other-info-section {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
}

.user-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 2rem;
}

.user-row:last-child {
  margin-bottom: 0;
}

.user-row label {
  font-size: 1.5rem;
  color: var(--text-color);
  min-width: 120px;
  text-align: right;
}

.user-row input[type="text"] {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-color);
  font-size: 1.4rem;
  direction: rtl;
  transition: border-color 0.3s ease;
}

.user-row input[readonly] {
  cursor: not-allowed;
}

.validation-error {
  color: #dc3545;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  text-align: right;
  min-height: 1.8rem;
}

.panel-btn {
  padding: 0.8rem 2.5rem;
  border-radius: 8px;
  border: none;
  background: #0066ff;
  color: var(--text-color);
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.panel-btn:hover:not(:disabled) {
  background: #0052cc;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .account-container {
    margin: 15rem 1rem 2rem;
    padding: 0 1rem;
  }

  .main-title {
    font-size: 2.4rem;
    margin-bottom: 3rem;
  }

  .account-content {
    padding: 2rem;
  }

  .panel-section {
    padding: 2rem;
  }

  .notification-content {
    flex-direction: column;
    text-align: center;
  }

  .user-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .user-row label {
    min-width: 100%;
    text-align: right;
  }

  .user-row input[type="text"] {
    width: 100%;
  }

  .panel-btn {
    width: 100%;
    margin-top: 1rem;
  }
}
