/* =========================================
   TASKVEXA - GLOBAL RESPONSIVE CSS
========================================= */

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #080d18;
  color: #f5f7fa;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* =========================================
   HEADER
========================================= */

header {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 14px 18px;

  background: #0b101c;
  border-bottom: 1px solid #1d2635;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  color: #4ade80;
  font-size: 22px;
}

header a {
  color: #e5e7eb;
  text-decoration: none;
}

/* =========================================
   MAIN - FULL SCREEN
========================================= */

main {
  display: block !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;

  padding: 24px 20px 50px !important;
}

/* =========================================
   COMMON CONTAINERS
========================================= */

.container,
.content,
.page-container,
.main-container,
.wrapper {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================================
   SECTIONS
========================================= */

main > section {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================================
   CARDS
========================================= */

.card,
.task-card,
.admin-card,
.wallet-box,
.payment-box,
.deposit-box,
.history-box,
.dashboard-card {
  width: 100% !important;
  max-width: none !important;

  margin-left: 0 !important;
  margin-right: 0 !important;

  background: #111827;

  border: 1px solid #1f2937;
  border-radius: 14px;

  padding: 20px;

  margin-bottom: 18px;
}

/* =========================================
   TEXT
========================================= */

h1,
h2,
h3,
h4 {
  color: #f8fafc;
}

p {
  color: #cbd5e1;
}

/* =========================================
   FORMS
========================================= */

form {
  width: 100% !important;
  max-width: none !important;
}

.form-group {
  width: 100%;
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #f1f5f9;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100% !important;
  max-width: none !important;

  min-height: 44px;

  padding: 11px 13px;

  background: #0b1220;
  color: #f8fafc;

  border: 1px solid #334155;
  border-radius: 8px;

  font-family: inherit;
  font-size: 15px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #4ade80;
}

/* =========================================
   BUTTONS
========================================= */

button,
.btn {
  min-height: 44px;

  padding: 11px 18px;

  border: none;
  border-radius: 8px;

  background: #4ade80;
  color: #06110a;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;
}

button:disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================
   STATUS
========================================= */

.success {
  color: #4ade80 !important;
}

.error {
  color: #f87171 !important;
}

.pending {
  color: #fbbf24 !important;
}

.live {
  color: #4ade80 !important;
}

/* =========================================
   WALLET
========================================= */

.balance,
.wallet-balance {
  color: #4ade80;
  font-size: 30px;
  font-weight: 700;
}

/* =========================================
   PAYMENT DETAILS
========================================= */

.payment-detail {
  width: 100%;

  background: #0b1220;

  border: 1px solid #263244;

  padding: 14px;

  border-radius: 9px;

  margin: 10px 0;
}

.payment-detail strong {
  display: block;
  margin-bottom: 5px;
}

.account-number {
  display: inline-block;

  color: #4ade80;

  font-size: 20px;
  font-weight: 700;

  word-break: break-word;
}

/* =========================================
   IMAGES
========================================= */

img {
  max-width: 100%;
  height: auto;
}

.screenshot-preview {
  width: 100%;
  max-width: 500px;
  max-height: 350px;
  object-fit: contain;
  margin-top: 10px;
  border-radius: 8px;
}

/* =========================================
   TABLE
========================================= */

.table-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* =========================================
   DASHBOARD GRID
========================================= */

.dashboard-grid,
.admin-grid {
  width: 100% !important;
  max-width: none !important;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  header {
    width: 100% !important;
    padding: 13px 12px;
  }

  main {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding: 16px 10px 40px !important;
  }

  .container,
  .content,
  .page-container,
  .main-container,
  .wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  main > section {
    width: 100% !important;
    max-width: none !important;
  }

  .card,
  .task-card,
  .admin-card,
  .wallet-box,
  .payment-box,
  .deposit-box,
  .history-box,
  .dashboard-card {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding: 15px;
  }

  .dashboard-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  input,
  textarea,
  select {
    width: 100% !important;
    font-size: 16px;
  }

  button,
  .btn {
    width: 100%;
  }

  header {
    flex-direction: column;
    align-items: center;
  }

  nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

}

/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 480px) {

  main {
    padding: 12px 8px 35px !important;
  }

  .card,
  .task-card,
  .admin-card,
  .wallet-box,
  .payment-box,
  .deposit-box,
  .history-box {
    padding: 13px;
  }

   }
