:root {
  --primary-color: #5b21b9;
  --secondary-color: #5b21b9;
  --error-color: #ff0000;
  --input-border-color: #7429ec;
  --text-color:#fff;
  --text-font-size:14px;
  --button-bg-color:#fff;
  --button-text-color:#000;
  --login-box-shadow-color: rgba(0, 0, 0, 0.5);
  --text-font-size: 14px;
  --logo-url:'';
  --tilt-bg-color1: #ffc;
 --tilt-bg-color2: #ccc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
#login {
  width: 50%;
  height: 100%;
  color: var(--text-color);
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

#login h1 a {
  text-indent: -9999px;
  overflow: hidden;
  display: none;
}

form.shake #user_login,
form.shake #user_pass {
  color: var(--error-color);
}

#login_error p {
  color: var(--error-color);
  margin-bottom: 10px;
  line-height: 1.4em;
  letter-spacing: 0.5px;
  font-size: 13px;
  border: 1px solid var(--error-color);
  padding: 10px 5px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#loginform label {
  color: var(--text-color);
  font-size: var(--text-font-size);
  pointer-events: none;
}

#loginform input:focus + label {
  color: var(--primary-color);
}


#loginform .wp-pwd {
  position: relative;
}

#loginform .wp-pwd button {
  position: absolute;
  right: 10px;
  top: 4px;
  background-color: transparent;
  border: none;
  color: var(--primary-color);
}

#loginform input.input {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  border-bottom: 2px solid var(--text-color);
  padding: 5px;
  color: var(--text-color);
}



#loginform input.input:focus {
  border: none;
  outline: none;
  border-bottom: 2px solid var(--border-color);
}


#loginform input[type="submit"] {
  position: relative;
  width: 100%;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  background: linear-gradient(#450d99, #7429ec, #450d99, #7429ec);
  left: 0;
  border-radius: 40px;
  outline: none;
  padding: 15px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  z-index: 1;
  overflow: hidden;
}

#loginform input[type="submit"]::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#08040e, #7429ec, #08040e, #7429ec);
  z-index: -1;
  transition: 0.5s;
  overflow: hidden;
}


.forgetmenot {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  #login #nav,
  #login #backtoblog {
    text-align: center;
  }
  
  #login #nav a,
  #login #backtoblog a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--text-font-size);
  }
  #nav {
    color: var(--text-color);
  }
  #login #nav a:hover,
  #login #backtoblog a:hover {
    color: var(--primary-color);
  }

@media (max-width: 480px) {
  #login {
    width: 100%;
    padding: 30px;
  }
  body {
    padding: 10px;
  }
}
@media (max-width: 768px) {
  body {
    padding: 20px;
  }
}



/**
** ADVANCE CSS 
**/
.tilted-background {
  position: relative;
  display: flex;
  width: 750px;
  height: 450px;
  border: 2px solid var(--border-color);
  box-shadow: 0px 0px 20px var(--border-color);
  overflow: hidden;
}

.tilted-background .bg-animation {
  position: absolute;
  top: 0;
  right: 0;
  width: 850px;
  height: 600px;
  background: linear-gradient(45deg, var(--tilt-bg-color1), var(--tilt-bg-color2));
  transform: rotate(10deg) skewY(40deg);
  transform-origin: bottom right;
  border-bottom: 3px solid var(--border-color);
  z-index: 1;
  overflow: hidden;
}
#side-bar {
  width: 50%;
  height: 100%;
  z-index: 15;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo-container {
  width: 100%;
  height: 100px;
  background-image: url(https://najeebmedia.com/wp-content/uploads/2023/11/NM-Logo-Ready-1-e1700110139404.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .tilted-background {
    flex-direction: column-reverse;
  }
  #side-bar {
    width: 100%;
  }
  .tilted-background .bg-animation {
    display: none;
  }
}



