﻿body {
    background-color:#212529;
}

.urdu  {
    font-family: Jameel Noori Nastaleeq;
    direction: rtl;
}

h1 {
	color: #999;
}

h2 {
	color: #999;
}

.mainpagetitle {
    margin: 0 0 0 0;
    font-size:30px;
    font-weight:bold;
    color:#999;
    text-align:center;
}

.h2title {
	color:#fff;
}

.checkbox {
    background-color: #2a2f33;
}

.checkbox:hover {
    background-color: #212529;
}

h3, h6 {
	color: #fff;
}

h6 {
	color: #999;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.card {
	border-width:0px; border-style:solid; background-color:#343a40; border-color:#494C4F;
}

.accordion {
    background-color: #343a40;
}

.box {
	border-width:1px; border-style:solid; border-color:#494C4F; padding:20px; border-radius: 1.5rem;
}


div.boxNew {
	border-width:0px; border-style:solid; background-color: #E2D2FA; border-color:#E8E9EB; padding:20px; border-radius: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08),
              0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;	
	
}

div.boxicon {
	border-width:1px; border-style:solid; border-color:#494C4F; border-bottom:none;  border-radius: 1.5rem;
}

div.boxtitle {
	border-width:1px; border-style:solid; border-color:#494C4F; border-top:none; border-bottom-color:#333; background-color:#343a40; padding: 5px 0 0 0 ;  border-radius: 1.5rem;
}

div.boxtext {
	border-width:1px; border-style:solid; border-color:#494C4F; border-top:none; margin-bottom:20px;  border-radius: 1.5rem;
}

p, div {
    color :#999;
}
p.boxtextpadding {
	color: #fff;
	padding: 20px 10px 20px 10px;
}

i.icon-ms {
	font-size:4em;
	padding: 20px 0 20px 0;
	color:#999;
}

div.box:hover {
	background-color:#282828;
}

.paid-color {
    /*color:#2572cb;*/
    color:#5DADE2;
}

.nav-item {
	border-right-width:1px;
	border-right-style:solid;
	border-right-color:#303030;
	padding-left:5px;
	padding-right:5px;

}

.list-container {
	border-width:1px;
	border-style:solid;
	border-color:#202020;
	border-right:none;
	border-bottom:none;
	padding-right : 20px;
	padding-left : 20px;
}

.list-row {
	border-bottom-width:1px;
	border-bottom-style:solid;
	border-bottom-color:#202020;
	vertical-align:middle;
}

.list-row:hover {
    background-color:#2a2f33;
}

.list-col {
	border-right-width:1px;
	border-right-style:solid;
	border-right-color:#202020;
	vertical-align:middle;
	padding:10px;
}

.user-list-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 1050;
}

.user-list-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.user-list-sheet {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100%;
    background: #1f2226;
    color: #e0e0e0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #2f3338;
}

.user-list-sheet.is-open {
    transform: translateX(0);
}

.user-list-header {
    padding: 16px;
    border-bottom: 1px solid #2f3338;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-list-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.user-list-controls {
    display: grid;
    gap: 10px;
}

.user-list-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    margin-top: 12px;
}

.user-list-card {
    background: #2a2f33;
    border: 1px solid #343a40;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    color: inherit;
    cursor: pointer;
}

.user-list-card.is-selected {
    border-color: #6aa9ff;
    box-shadow: 0 0 0 2px rgba(106, 169, 255, 0.2);
}

.user-list-name {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.user-list-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b4046;
}

.user-list-summary-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #2a2f33;
    margin-right: 6px;
    font-size: 0.85rem;
}

.user-list-chip-add {
    background: rgba(0, 123, 255, 0.2);
    color: #8ac4ff;
}

.user-list-chip-remove {
    background: rgba(220, 53, 69, 0.2);
    color: #f28b96;
}

.user-list-empty {
    color: #9aa0a6;
    font-size: 0.9rem;
}

.user-list-section {
    margin-top: 16px;
}

.user-list-grid-add .user-list-card {
    border-color: #6aa9ff;
}

.user-list-grid-remove .user-list-card {
    border-color: #f28b96;
}

.user-list-trigger {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.user-list-summary {
    font-size: 0.9rem;
    color: #b0b6bd;
}

@media (max-width: 768px) {
    .user-list-sheet {
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 80vh;
        transform: translateY(100%);
        border-left: none;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }

    .user-list-sheet.is-open {
        transform: translateY(0);
    }
}

.list-head {
	background-color:#2a2f33;	
	border-right-color:#202020;
	/*color:#333;*/
	/*font-weight:bold;*/
}
.col-head {
	background-color:#2a2f33;	
	border-right-color:#202020;
	font-weight:600;
}

/* =========================
   Statistics Card base
========================= */

.analytics-widget.card {
    border: 1px solid #494C4F;
    background: #343a40 !important;
}

/* Override Bootstrap card background to match navbar */
.card-body {
    background-color: #343a40;
}

.card-header {
    background-color: #343a40;
}

.card-footer {
    background-color: #343a40;
}

.analytics-widget select,  .analytics-inputs  {
    border: 1px solid #494C4F;
    background: #343a40 !important;
    color : #999;
}


a:link, a:visited {
  color: #999;
  text-decoration: none;
}

a:link:active, a:visited:active {
  color: #999;
}

a:hover{
    text-decoration:none;
    color:#fff;
}




a.boxlink:link {
	text-decoration:none;
	
}

input {
    width : 100%;
}

.tajnid-search {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.tajnid-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 20px;
    z-index: 1;
}

.tajnid-search-input {
    padding-left: 42px;
    background: #343a40;
    border: 1px solid #494C4F;
    color: #fff;
}

.tajnid-search-input::placeholder {
    color: #aaa;
}

.tajnid-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #343a40;
    border: 1px solid #494C4F;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.tajnid-search-results-content {
    padding: 8px;
}

.tajnid-search-results-header {
    font-size: 12px;
    color: #aaa;
    padding: 8px;
    border-bottom: 1px solid #494C4F;
    margin-bottom: 4px;
}

.tajnid-search-results-label {
    font-size: 12px;
    color: #aaa;
    padding: 6px 8px 0;
}

.tajnid-search-result {
    display: flex;
    align-items: center;
    padding: 12px;
    margin: 4px 0;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    background: #343a40;
    border: 1px solid #494C4F;
    transition: all 0.2s;
}

.tajnid-search-result:hover {
    background: #2a2f33;
    transform: translateX(4px);
}

.tajnid-search-result-icon {
    font-size: 24px;
    margin-right: 12px;
    color: #1976d2;
    flex-shrink: 0;
}

.tajnid-search-result-body {
    flex: 1;
    min-width: 0;
}

.tajnid-search-result-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.tajnid-search-result-meta {
    font-size: 12px;
    color: #aaa;
    display: block;
}

.tajnid-search-empty {
    padding: 20px;
    text-align: center;
    color: #fff;
}

/* =========================
   Tajnid Upload Dropzone (scoped)
   Add wrapper: <div class="tajnid-upload"> ... </div>
========================= */

.tajnid-upload .container {
    padding: 50px 10%;
}

.tajnid-upload .box {
    position: relative;
    width: 100%;
}

.tajnid-upload .box-header {
    display: block;
    padding: 10px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    margin-bottom: 10px;
}

.tajnid-upload .box-tools {
    position: absolute;
    right: 10px;
    top: 5px;
}

.tajnid-upload .dropzone-wrapper {
    border: 2px dashed #91b0b3;
    color: #92b0b3;
    position: relative;
    height: 250px;
    border-radius: 12px;
}

.tajnid-upload .dropzone-desc {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    width: 70%;
    top: 80px;
    font-size: 16px;
}

.tajnid-upload .dropzone,
.tajnid-upload .dropzone:focus {
    position: absolute;
    outline: none !important;
    width: 100%;
    height: 150px;
    cursor: pointer;
    opacity: 0;
}

.tajnid-upload .dropzone-wrapper:hover,
.tajnid-upload .dropzone-wrapper.dragover {
    background: rgba(0, 0, 0, .04);
}

.tajnid-upload .preview-zone {
    text-align: center;
}

.tajnid-upload .preview-zone .box {
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
}

/* ✅ DO NOT override .btn-primary globally.
   If you need a crimson button on upload page: */
.tajnid-upload .btn-primary {
    background-color: crimson;
    border: 1px solid #212121;
}

/* ============================================================
   Transactions page (transactionsView.php) — dark variables
   ============================================================ */
.tx-page {
  --ink: #e8e4d8;
  --ink-mute: #9b9a92;
  --ink-dim: #6e6c64;
  --ink-strong: #ffffff;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --card: rgba(255, 255, 255, 0.025);
  --card-hover: rgba(255, 255, 255, 0.045);
  --card-open: rgba(255, 255, 255, 0.035);
  --card-deep: rgba(0, 0, 0, 0.18);

  --input-bg: rgba(0, 0, 0, 0.35);
  --input-bg-focus: rgba(0, 0, 0, 0.5);

  --accent-amber: #d4a13a;
  --accent-amber-dim: rgba(212, 161, 58, 0.18);
  --accent-amber-ink: #1a1208;

  --accent-green: #6fb98f;
  --accent-green-dim: rgba(111, 185, 143, 0.14);

  --accent-blue: #6ba5d4;
  --accent-blue-dim: rgba(107, 165, 212, 0.14);

  --accent-red: #d96868;
  --accent-red-dim: rgba(217, 104, 104, 0.14);
}
