/* public/stylesheets/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('./staking.css');
a{ text-decoration: none; 
    color: inherit; 
}



:root {
  --background-dark: #0D1117;
  --container-bg: #161B22;
  --border-color: #30363d;
  --primary-blue: #3081F7;
  --primary-blue-hover: #459cff;
  --text-primary: #C9D1D9;
  --text-secondary: #8B949E;
  --accent-purple: #8B5CF6;
  --success-green: #28a745;
  --error-red: #dc3545;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-dark);
  color: var(--text-primary);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.1), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(48, 129, 247, 0.1), transparent 40%);
}

/* Styles for centering content, like the login page */
.body-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-container {
  width: 100%;
  padding: 20px;
}

.login-form {
  max-width: 400px;
  margin: 0 auto;
  background-color: var(--container-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header .crypto-icon {
  font-size: 48px;
  color: var(--primary-blue);
  margin-bottom: 15px;
  display: block;
  transform: rotate(-15deg);
  animation: float 4s ease-in-out infinite;
}

.register-form .form-header .crypto-icon {
  transform: rotate(15deg);
  animation-name: float-alt;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-15deg);
  }
  50% {
    transform: translateY(-10px) rotate(-10deg);
  }
}

@keyframes float-alt {
  0%, 100% {
    transform: translateY(0) rotate(15deg);
  }
  50% {
    transform: translateY(-10px) rotate(10deg);
  }
}

.form-header h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.form-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 16px;
}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 45px;
  background-color: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input::placeholder {
  color: var(--text-secondary);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(48, 129, 247, 0.3);
}

.options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.forgot-password {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: var(--primary-blue-hover);
  text-decoration: underline;
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  box-shadow: 0 4px 15px rgba(48, 129, 247, 0.2);
  transform: translateY(-2px);
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-secondary);
  margin: 25px 0;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.separator span {
  padding: 0 15px;
  font-size: 14px;
}

.btn-wallet {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-wallet:hover {
  background-color: rgba(255, 255, 255, 0.05);

  border-color: var(--text-primary);
}

.btn-wallet i {
  color: var(--accent-purple);
}

.signup-link {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: var(--text-secondary);
}

.signup-link a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
  color: var(--primary-blue-hover);
}

/* --- Notification Styles --- */
.notification {
    background-color: var(--container-bg);
    border-radius: 8px;
    padding: 1.25rem 2.5rem 1.25rem 1.5rem;
    position: relative;
    width: 100%;
    max-width: 600px; /* Coincide con el ancho del form-card */
    margin-bottom: 1.5rem;
    border-left: 5px solid;
    animation: fadeIn 0.5s ease-out;
}

.notification.is-success {
    border-color: var(--success-green);
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
}

.delete-notification {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    -webkit-appearance: none;
    background: rgba(10, 10, 10, 0.2);
    border: none;
    border-radius: 290486px;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    width: 20px;
    transition: background-color 0.2s;
}
.delete-notification:hover {
    background: rgba(10, 10, 10, 0.3);
}
.delete-notification::before, .delete-notification::after {
    background-color: white;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform-origin: center center;
    width: 2px;
    height: 50%;
}
.delete-notification::after {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}
