@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600;700&display=swap");

body {
  font-family: "Barlow Semi Condensed", sans-serif;
}

.alert {
  padding: 0.5rem;
}

.form-wrap h1,
.form-wrap .form-label {
  font-weight: 600;
}

/* General styles */
body {
  background-color: #0d5546;
  color: #000;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  color: #0d5546;
}

/* Centering the content */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* Form styles */
.form-wrap {
  background-color: #ffffff;
  color: #0d5546;
  border: 2px solid #0d5546;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1400px;
  text-align: center;
}

/* Input field styles */
.form-control {
  border: 1px solid #0d5546;
  border-radius: 5px;
  padding: 10px;
}

.form-control:focus {
  border-color: #0d5546;
  box-shadow: 0 0 5px rgba(13, 85, 70, 0.5);
}

/* Button styles */
.btn-primary {
  background-color: #0d5546;
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #084231;
}

/* Error messages */
.text-danger {
  color: #d9534f;
  font-size: 14px;
}

/* Logo styles */
.logo {
  margin-bottom: 20px;
}

.logo img {
  max-width: 120px;
  height: auto;
}

/* Checkbox styles */
.form-check-label {
  color: #0d5546;
}

/* Links */
a {
  color: #ffc107;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
  /* min-height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #1b132; */
  position: relative;
  /* overflow: hidden; */
}

.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 60%;
  height: 60%;
  z-index: 0;
  /* overflow: hidden; */
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: moveSphere 20s infinite ease-in-out;
}

.sphere-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(45deg, #ff3366, #ff6b3d);
  top: -300px;
  left: -300px;
  animation-delay: -5s;
}

.sphere-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(45deg, #4433ff, #3dceff);
  bottom: -250px;
  right: -250px;
  animation-delay: -2s;
}

.sphere-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #7400ff, #ff00d4);
  top: 50%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes moveSphere {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  25% {
    transform: translate(100px, 50px) rotate(90deg) scale(1.1);
  }

  50% {
    transform: translate(50px, 100px) rotate(180deg) scale(1);
  }

  75% {
    transform: translate(-50px, 50px) rotate(270deg) scale(0.9);
  }
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: floatParticle 8s infinite linear;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.login-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
  color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: slideIn 0.6s ease-out forwards;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);

  transform: skewX(-15deg);
  transition: 0.5s;
}

.login-container:hover::before {
  left: 100%;
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #fff, #ccc);
  /*background:#ededed;*/
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.form-input:focus+.input-icon {
  color: white;
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: #ffc107;
  color: black;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  transition: 0.5s;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.submit-button:hover::before {
  left: 100%;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.social-button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: 0.3s ease;
}

.social-button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

.social-button:hover::before {
  transform: translateY(0);
}

.divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.4);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 1rem;
  font-size: 0.9rem;
}

.additional-options {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.additional-options a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.additional-options a:hover {
  opacity: 0.8;
}

.error-message {
  color: #ff4477;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .login-container {
    margin: 1rem;
    padding: 2rem;
  }

  .login-header h1 {
    font-size: 2rem;
  }
}

/* Reset and General Styles */
body {
  
    margin-top: 2%;
  font-family: Arial, sans-serif;
  background-color: #1b1c31;
  color: #fff;
}

/* Dashboard Layout */
.dashboard-container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 250px;
  background-color: #2c2c2c;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 2px solid #444;
}

.user-info {
  text-align: center;
  margin-bottom: 30px;
}

.user-info .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #444;
}

.user-info h3 {
  margin: 5px 0;
  font-size: 18px;
  color: #f5ba42;
}

nav ul {
  list-style: none;
  padding: 0;
  width: 100%;
}

nav ul li {
  margin: 10px 0;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  display: block;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #444;
}

.dashboard-main {
  flex-grow: 1;
  padding: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logout-button {
  background-color: #f05a5a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #c04a4a;
}

.dashboard-content .overview,
.dashboard-content .wallets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: #2c2c2c;
  border: 1px solid #444;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.card h3 {
  margin-bottom: 10px;
  color: #f5ba42;
}

/* Sidebar styles */
.sidebar {
  width: 250px;
  background: var(--sidebar-bg);
  color: var(--text-color);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px;
  transition: all 0.3s ease;
}

.sidebar .user-info {
  text-align: center;
  margin-bottom: 30px;
}

.sidebar .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid var(--accent-color);
}

.sidebar h3 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  margin-bottom: 15px;
}

.sidebar nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 5px;
  display: block;
  transition: background-color 0.3s;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
  background-color: var(--accent-color);
  color: #fff;
}