/* style.css - AREX INTEL DASHBOARD */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================= LOGIN WRAPPER ================= */
.login-wrapper {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-card {
  background-color: #1e293b;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #334155;
}

.login-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #ffffff;
}

.login-card p {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}

.sub-text {
  font-size: 12px !important;
  color: #64748b !important;
  margin-bottom: 30px !important;
}

.btn-discord {
  display: inline-block;
  background-color: #5865F2;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s;
  width: 100%;
}

.btn-discord:hover {
  background-color: #4752C4;
}

/* ================= DASHBOARD WRAPPER ================= */
.dashboard-wrapper {
  width: 100%;
  max-width: 600px;
  background-color: #1e293b;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid #334155;
  overflow: hidden;
  margin: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: #0f172a;
  border-bottom: 1px solid #334155;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #5865F2;
}

#userName {
  font-weight: 600;
  font-size: 15px;
  color: #f8fafc;
}

.btn-logout {
  background-color: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-logout:hover {
  background-color: #ef4444;
  color: white;
}

.dashboard-content {
  padding: 40px 30px;
  text-align: center;
}

.dashboard-content h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #ffffff;
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.input-group input {
  flex: 1;
  background-color: #0f172a;
  border: 1px solid #334155;
  padding: 12px 16px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.input-group input:focus {
  border-color: #5865F2;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-danger:hover {
  background-color: #dc2626;
}

/* ================= RESULT BOX ================= */
.result-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: left;
  word-break: break-all;
}

.result-box.success {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  color: #4ade80;
}

.result-box.error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #f87171;
}

.short-link {
  color: #38bdf8;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}