@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --primary-color: #4e73df;
  --secondary-color: #2e59d9;
  --success-color: #1cc88a;
  --info-color: #36b9cc;
  --warning-color: #f6c23e;
  --danger-color: #e74a3b;
  --dark-color: #2c3e50;
  --light-color: #f8f9fc;
  --gray-color: #6c757d;
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Inter", sans-serif;
  /* --font-primary: "Roboto", sans-serif;
    --font-secondary: "Roboto", sans-serif; */
  --sidebar-width: 250px;
  --header-height: 60px;
}

.login-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.login-header {
  background-color: #f8f9fa;
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
}

.login-body {
  padding: 30px;
}

h1 {
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 24px;
}

.subheading {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 0;
}

.form-control {
  height: 50px;
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid #e1e5eb;
  padding-left: 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #7a5cf0;
  box-shadow: none;
  outline: none;
}

.forgot-password {
  text-align: right;
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.forgot-password a {
  color: #7a5cf0;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password a:hover {
  color: #5a3cc0;
  text-decoration: underline;
}

.login-btn {
  background: linear-gradient(to right, #7a5cf0, #5a3cc0);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  height: 50px;
  width: 100%;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: linear-gradient(to right, #6a4ce0, #4a2cb0);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(90, 60, 192, 0.3);
}

.form-check-label {
  font-size: 14px;
  color: #6c757d;
}

.form-check-input:checked {
  background-color: #7a5cf0;
  border-color: #7a5cf0;
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  top: 17px;
  right: 15px;
  color: #adb5bd;
}

.required-icon {
  color: var(--danger-color);
  font-size: 8px;
  margin-left: 2px;
  position: absolute;
  top: 5px;
}
.form--group {
  margin-bottom: 1.25rem;
}

.form--group label {
  color: #5e5f61;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
  position: relative;
  font-weight: 500;
}

.subscribe-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, rgba(78, 115, 223, 0.08), rgba(34, 211, 238, 0.08));
}

.subscribe-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.subscribe-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.subscribe-text {
  color: #64748b;
  margin: 0;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  min-width: 280px;
}

.subscribe-input {
  height: 48px;
  min-width: 260px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0 18px;
  outline: none;
  font-size: 14px;
}

.subscribe-input:focus {
  border-color: #4e73df;
  box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
}

.subscribe-btn {
  height: 48px;
  border-radius: 999px;
  border: none;
  padding: 0 22px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #4e73df, #22d3ee);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(78, 115, 223, 0.35);
}

@media (max-width: 767.98px) {
  .subscribe-card {
    padding: 22px;
  }

  .subscribe-form {
    width: 100%;
    justify-content: flex-start;
  }

  .subscribe-input {
    width: 100%;
  }

  .subscribe-btn {
    width: 100%;
  }
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: #2b2d42;
  color: #fff;
  transition: all 0.3s;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 15px 20px;
  background-color: #1a1b25;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.sidebar-header h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.sidebar-menu {
  padding: 15px 0;
  list-style: none;
  margin: 0;
}

.sidebar-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

.sidebar-menu li a {
  padding: 12px 20px;
  display: block;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active > a {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-menu li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar-menu .dropdown-toggle::after {
  position: absolute;
  right: 20px;
  top: 18px;
}

.sidebar-menu .submenu {
  list-style: none;
  padding-left: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background-color: #222332;
}

.sidebar-menu .submenu.show {
  max-height: 500px;
}

.sidebar-menu .submenu li a {
  padding-left: 50px;
  font-size: 13px;
}

/* Main Content Styles */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  padding: 15px;
  transition: all 0.3s;
}

/* Header Styles */
.header {
  height: var(--header-height);
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.header-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.header-user {
  display: flex;
  align-items: center;
}

.header-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Widget Styles */
.widget {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.widget-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.widget-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.widget-icon.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.widget-icon.success {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.widget-icon.warning {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.widget-value {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0;
}

.widget-subtitle {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
}

.widget-chart {
  height: 200px;
  margin-top: 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .sidebar {
    width: 0;
    transform: translateX(-100%);
  }

  .sidebar.show {
    width: var(--sidebar-width);
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .toggle-sidebar {
    display: block;
  }
}

.verification-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  width: 420px;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.verification-header {
  padding: 30px 20px;
}

.verification-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(79, 104, 223, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.verification-icon i {
  font-size: 32px;
  color: var(--primary-color);
}

.verification-description {
  color: #666;
  font-size: 15px;
  margin-bottom: 0;
}

.email-highlight {
  font-weight: 500;
  color: #333;
  word-break: break-all;
}

.verification-form {
  padding: 0 20px 30px;
}

.code-inputs {
  display: flex;
  gap: 8px;
  margin: 30px 0;
  justify-content: center;
}

.code-input {
  width: 45px;
  height: 55px;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}

@media (max-width: 400px) {
  .code-input {
    width: 40px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 340px) {
  .code-input {
    width: 35px;
    height: 45px;
    font-size: 18px;
  }
  .code-inputs {
    gap: 5px;
  }
}

.code-input:focus {
  border-color: var(--primary-color);
  box-shadow: none;
  outline: none;
}

/* For mobile browsers that show a numeric keypad */
.code-input {
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

.verify-btn {
  background: linear-gradient(to right, var(--primary-color), #7651dc);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  width: 100%;
  transition: all 0.3s;
}

.verify-btn:hover {
  background: linear-gradient(to right, #3f58cf, #6641cc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 104, 223, 0.3);
}

.verify-btn:disabled {
  background: #e1e1e1;
  color: #999;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.verification-footer {
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.resend-text {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.resend-link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.resend-link:hover {
  text-decoration: underline;
}

.timer {
  font-weight: 500;
  color: #666;
}

/* Touch-friendly targets for mobile */
@media (max-width: 767px) {
  .resend-link {
    padding: 5px;
    display: inline-block;
    margin-top: 5px;
  }
}

.authorization-body {
  background: linear-gradient(135deg, var(--primary-color) 0%, #7651dc 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 20px;
}
