:root {
    --primary-color: #ff9900;
    --secondary-color: #ffcc00;
    --text-dark: #222;
    --text-medium: #888;
    --background-light: #f9f9f9;
    --background-white: #fff;
    --shadow-elevation-1: 0 2px 6px rgba(0,0,0,0.1);
    --shadow-elevation-2: 0 -3px 10px rgba(0,0,0,0.15);
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--background-light);
    color: var(--text-dark);
    padding-bottom: 70px;  
}

.top-header {
    background: #ffc107 !important;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-elevation-1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.app-title {
	font-size: 22px;
	font-weight: inherit;
	color: #767557;
}

.ai-label {
    color: black;
    font-weight: 700;
    margin-right: 5px;
    font-size: 24px;
}

.search-box input {
	width: 100%;
	padding: 7px 14px;
	border-radius: 19px;
	border: none;
	outline: none;
	font-size: 15px;
	border: 2px solid #e5e7eb;
	margin-left: -14px;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffc107;
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
    z-index: 9999;
}

.bottom-nav .tab-item {
    text-align: center;
    flex: 1;
}

.bottom-nav .tab-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: color 0.3s;
}

.bottom-nav .tab-item a .icon {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-nav .tab-item a:hover,
.bottom-nav .tab-item a.active {
    color: #007bff;  
}
 
.merview {
	color: #2f3948;
	margin-left: 19px;
	margin-top: 18px;
}
.market-overview {display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 15px; padding: 20px; margin-top: -14px;}
.overview-card {
	background: white;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 3px 8px rgba(0,0,0,0.08);
	border-left: 6px solid #fdc857;
	border-bottom: 1px solid #fdc857;
	border-right: 1px solid #fdc857;
	border-top: 1px solid #fdc857;
}
.overview-card p {margin:0; color:#777;}
.overview-card h2 {margin-top:24px; font-size:24px;}
 
.top-crypto-header {display:flex; justify-content:space-between; align-items:center; margin-bottom:15px; flex-wrap:wrap;}
.view-switcher {display:flex; gap:10px; padding: 33px 30px;}
.btn-view {background:transparent; border:none; font-size:18px; cursor:pointer; padding:6px 10px; border-radius:8px; transition: all 0.2s;}
.btn-view.active {color:#ff9900; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.1);}
@media (max-width:480px) {.top-crypto-header {flex-direction:column; align-items:flex-start; gap:10px;}}
 
.crypto-section {padding:20px; background-color:#f8f9fa; margin-bottom: 102px;}
.crypto-grid {display:grid; grid-template-columns:repeat(3,1fr); gap:20px; transition: all 0.3s ease;}
.crypto-grid.list {display:flex; flex-direction:column;}
.crypto-card {background-color:#fff; border-radius:12px; padding:15px; box-shadow:0 4px 12px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s;}
.crypto-card:hover {transform:translateY(-4px); box-shadow:0 6px 20px rgba(0,0,0,0.12);}
.card-header {display:flex; justify-content:space-between; align-items:center; margin-bottom:10px;}
.coin-info {display:flex; align-items:center; gap:10px;}
.coin-info img {width:36px; height:36px;}
.coin-name {font-weight:700; font-size:16px;}
.coin-fullname {font-size:12px; color:#6c757d;}
.badge {padding:4px 10px; border-radius:12px; font-size:12px; font-weight:700;}
.text-success {background-color:#e6f4ea; color:#28a745;}
.price-label {font-size:12px; color:#6c757d; margin-bottom:2px;}
.coin-price {font-weight:700; font-size:18px; margin-bottom:10px;}
.mini-chart {width:100%; height:50px; background:linear-gradient(to top,#cce5ff 30%,#fff 30%); border-radius:6px;}
 
@media (max-width:992px) {.crypto-grid {grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px) {.crypto-grid {grid-template-columns:1fr;}}
.fw-bold.mb-0 {
	margin-left: 20px;
	font-size: 20px;
}
.card-footer {
    display: flex;
    justify-content: space-between;
}

.card-footer span {
    font-weight: 600;
}

.order-header {
    background-color: #ffc107; 
    width: 100%;
    padding: 15px 0; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); 
    display: flex;
    align-items: center;
    position: relative; 
    border-bottom: 3px solid #f7a000; 
}
.logo-img {
    width: 45px; 
    height: 45px;
    object-fit: cover;  
    border-radius: 50%; 
    position: absolute;
    left: 25px; 
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); 
}
.order-header-title {
    color: #333;
    font-size: 2em; 
    font-weight: 600; 
    margin: 0;
    padding-left: 90px;
}
.order-container {
    display: flex;
    justify-content: center;
    gap: 30px; 
    padding: 40px 20px;
    width: 100%; 
    max-width: 1200px; 
}
.order-card {
    background-color: #ffffff;
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    padding: 25px;
    flex: 1; 
    min-height: 450px; 
    transition: transform 0.3s ease; 
}

.order-card:hover {
    transform: translateY(-3px); 
}

.order-card h3 {
    font-size: 1.6em;
    color: #2c3e50; 
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee; 
}
.active-orders-card h3 {
    border-bottom: none; 
}

.no-active-orders {
    text-align: center;
    padding: 80px 0;
    color: #95a5a6; 
}

.hourglass-icon {
    font-size: 5em; 
    color: #ecf0f1; 
    margin-bottom: 15px;
    display: block; 
}

.closed-order-item {
    border: 2px solid #d4edda; 
    background-color: #f8fcf9; 
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.closed-order-item:hover {
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.1);
}

.order-details-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.buy-info {
    font-size: 1.2em;
    font-weight: 700;
    color: #28a745; 
    background-color: #e6ffed;
    padding: 5px 10px;
    border-radius: 5px;
}

.amount-info {
    text-align: right;
}

.amount-label {
    display: block;
    font-size: 0.85em;
    color: #999;
    text-transform: uppercase;
}

.amount-value {
    font-size: 1.6em;
    font-weight: 700;
    color: #34495e; 
}

.asset-name {
    font-size: 1.8em;
    font-weight: 800;
    color: #2c3e50;
    margin-top: 0; 
    margin-bottom: 20px;
}

.order-details-bottom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-top: 1px dashed #ecf0f1;
    padding-top: 15px;
}

.detail-group {
    font-size: 0.95em;
    margin-right: 15px;
    flex-basis: 30%; 
}

.detail-label {
    display: block;
    color: #7f8c8d;
    margin-bottom: 4px;
    font-weight: 500;
}

.detail-value {
    font-weight: 700;
    color: #34495e;
}

.profit-up {
    color: #28a745; 
    font-size: 1.2em;
}

.completed-info {
    font-size: 0.8em;
    color: #b3c0c5;
    margin-top: 15px;
    border-top: 1px solid #f0f2f5;
    padding-top: 8px;
    text-align: right;
}


 .market-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    font-family: "Poppins", sans-serif; 
}

.order-box, .chart-box, .stats-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1.5px solid #fdc857;
}

.market-input {
	width: 100%;
	padding: 12px 5px;
	border-radius: 6px;
	border: 2px solid #ddd;
	margin-bottom: 53px;
	margin-top: 9px;
	background: none;
}

.crypto-selected {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #eff6ff;
	padding: 15px;
	border-radius: 14px;
	margin-bottom: 15px;
	margin-top: -29px;
	border: 1px solid #cae1ff;
}

.crypto-selected img {
    width: 28px;
    margin-right: 6px;
}

.leverage-group {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
	margin-top: 14px;
}

.lev-btn {
    flex: 1;
    padding: 12px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.lev-btn.active {
    background: #007bff;
    color: #fff;
}
.balance-row {
	display: flex;
	justify-content: space-between;
	background: #fefce8;
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 15px;
	border-left: 5px solid #fdc857;
}

.calc-box {
	background: #f2f7ff;
	padding: 15px;
	border-radius: 6px;
	margin-bottom: 15px;
	border-left: 5px solid #51a2ff;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.buy-up {
	flex: 1;
	background: #00c950;
	color: #fff;
	border: none;
	padding: 18px;
	border-radius: 13px;
	font-size: 18px;
	line-height: 23px;
	font-weight: 500;
    cursor: pointer;
}

.buy-down {
    flex: 1;
    background: #fb2c36;
    color: #fff;
    border: none;
	padding: 18px;
	border-radius: 13px;
	font-size: 18px;
	line-height: 23px;
	font-weight: 500;
    cursor: pointer;
}

.stats-box {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
}

.stats-box .stat {
    text-align: center;
}

   /* ==================================== */
        /* VARIABLE DEFINITIONS */
        /* ==================================== */
        :root {
            --primary-color: #ffc107;  
            --secondary-color: #e91e63;  
            --bg-color: #f7f9fc;
            --light-bg: #fff;
            --text-dark: #333;
            --text-gray: #555;
            --border-light: #eee;
        }
        .summary-box {
             background: #fefbd5;
             border-radius: 15px; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); margin-bottom: 20px; }
            .summary-amount {
            font-size: 2.2em;
            font-weight: 700;
            color: var(--text-dark);
            margin-top: -8px;
            margin-bottom: -2px;
        }
        .top-actions { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
        .action-btn { flex: 1; padding: 12px 10px; border: 1.5px solid var(--primary-color); border-radius: 10px; background-color: var(--light-bg); color: var(--text-gray); font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); }
        .balance-cards-row {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
            background: #fff;
            padding: 12px;
            border-radius: 10px;
        }
        .balance-card { flex: 1; background-color: var(--light-bg); border-radius: 10px; padding: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); border: 1px solid var(--border-light); text-align: center;}
        .card-amount { font-size: 1.4em; font-weight: 600; margin: 5px 0 0; }
        .red-text { color: #dc3545; }
        
        .nav-bar { display: flex; justify-content: space-around; background-color: var(--primary-color); padding: 8px 0; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1); max-width: 450px; margin: 0 auto; }
        .nav-item { flex: 1; text-align: center; color: var(--text-dark); font-size: 0.7em; cursor: pointer; display: flex; flex-direction: column; align-items: center; padding: 5px 0; }
        .nav-item.active { font-weight: 600; background-color: rgba(0, 0, 0, 0.1); border-radius: 8px; }

        /* ==================================== */
        /* 2. MODAL BASE STYLES (IMPROVED & COMPACT) */
        /* ==================================== */
        .modal-overlay { 
            display: none; 
            position: fixed; 
            z-index: 1000; 
            left: 0; 
            top: 0; 
            width: 100%; 

            background-color: rgba(0, 0, 0, 0.6); 
            justify-content: center; 
            align-items: center; 
        }
        .modal-content { 
            background-color: var(--light-bg);
            padding: 10px 25px 20px; 
            border-radius: 20px; 
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); 
            width: 90%;
            max-width: 400px; 
            position: relative;
            transform: scale(0.95); 
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            opacity: 0;
            height: 573px;
        }
        .modal-overlay[style*="flex"] .modal-content {
            transform: scale(1);
            opacity: 1;
        }
        .close-btn { 
            position: absolute; 
            top: 15px; 
            right: 20px; 
            color: var(--text-gray); 
            font-size: 30px; 
            font-weight: 400; 
            cursor: pointer; 
            transition: color 0.2s;
        }
        .close-btn:hover {
            color: var(--text-dark);
        }
        .modal-title { 
            text-align: center; 
            font-size: 1.6em; 
            font-weight: 700; 
            color: var(--text-dark); 
            margin-bottom: 20px; 
            padding-top: 10px;
        }
        
        .recharge-form label, .details-form label { 
            display: block; 
            font-size: 0.9em; 
            color: var(--text-dark); 
            font-weight: 500;
            margin-top: 12px; 
            margin-bottom: 5px; 
        }
        .recharge-form input, .details-form input {
            width: 100%; 
            padding: 12px; 
            border: 2px solid #ddd; 
            border-radius: 10px; 
            font-size: 1em; 
            box-sizing: border-box; 
            margin-bottom: 8px; 
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .recharge-form input:focus, .details-form input:focus {
            border-color: var(--primary-color); 
            box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2); 
            outline: none;
        }

        .alert-box { 
            display: flex; 
            align-items: center; 
            justify-content: flex-start; 
            background-color: #fff3cd; 
            color: #856404; 
            border: 1px solid #ffeeba; 
            padding: 12px; 
            border-radius: 10px; 
            margin-top: 15px; 
            gap: 10px;
            font-size: 0.9em;
        }
        
        .button-group { 
            display: flex; gap: 10px; 
            margin-top: 25px; 
        }
        .submit-btn, .cancel-btn { 
            flex: 1; 
            padding: 16px; 
            border: none; 
            border-radius: 10px; 
            font-size: 1.1em; 
            font-weight: 600; 
            cursor: pointer; 
            transition: opacity 0.2s, background-color 0.2s; 
        }
        .submit-btn { 
            background-color: var(--primary-color); 
            color: var(--text-dark); 
        }
        .cancel-btn { 
            background-color: #e9ecef; 
            color: #6c757d; 
            border: 1px solid #ced4da; 
        }
        .submit-btn:hover, .cancel-btn:hover { opacity: 0.9; }

        .send-money-section { 
            padding-bottom: 15px; 
            margin-bottom: 15px; 
            border-bottom: 1px solid #f0f0f0; 
        }
        .send-to-header p {
            margin: 0;
            font-size: 1em;
            font-weight: 500;
            color: var(--text-dark);
        }
        .send-to-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .bkash-label { 
            background-color: var(--secondary-color); 
            color: #fff; 
            padding: 5px 10px; 
            border-radius: 6px; 
            font-size: 0.9em;
            font-weight: 600;
        }
        .send-money-instruction {
            font-size: 0.9em;
            color: var(--text-gray);
            margin-top: 8px;
        }
        .bkash-number-container {
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            background-color: #fce4ec; 
            border-radius: 10px; 
            padding: 12px 15px; 
            border: 1px solid #f8bbd0;
        }
        .copy-btn {
            background: none;
            border: none;
            color: var(--secondary-color);
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: background-color 0.2s;
            font-size: 24px;
            line-height: 1;
        }
        .copy-btn:hover {
            background-color: rgba(233, 30, 99, 0.1);
        }
        .bkash-number { 
            font-size: 1.6em; 
            font-weight: 700; 
            color: var(--secondary-color); 
            margin: 0; 
        }
  
        .step-buttons {
            display: flex; 
            gap: 8px; 
            margin-bottom: 25px; 
            padding: 5px; 
            background-color: #e9ecef; 
            border-radius: 12px;
        }

        .step-btn {
            flex: 1; 
            padding: 12px 10px; 
            border: none; 
            border-radius: 10px; 
            font-size: 1em; 
            font-weight: 600; 
            cursor: pointer; 
            background-color: transparent; 
            color: var(--text-gray); 
            transition: all 0.3s;
        }

        /* Active State CSS */
        .step-btn.active-bkash { 
            background-color: var(--light-bg); 
            color: var(--text-dark); 
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
        } 
        .step-btn.active-bank { 
            background-color: var(--primary-color); 
            color: var(--text-dark); 
            box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4); 
        } 
        .form-section { margin-top: 10px; }
        .dashboard-container {
        background-color: #f7f9fc;
          /* padding: 14px 156px 127px 175px; */
        }
        .card-shadow { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); }
        .header {
            font-size: 1.8em;
            font-weight: 600;
            color: #333;
            margin-bottom: 25px;
            padding: 0 20px;
            text-align: center;
        }

        .user-info-box {
            background-color: #fff;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border: 1px solid #eee;
            margin: 0 20px 25px 20px;
              box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .user-details {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }

        .user-avatar {
            background-color: #ffc107;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            overflow: hidden;  
        }
        
     
        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover; 
            display: block;
        }
        .user-name-email h3 {
            margin: 0;
            font-size: 1.1em;
            font-weight: 600;
            color: #333;
        }

        .user-name-email p {
            margin: 0;
            font-size: 0.8em;
            color: #888;
        }

        .profile-actions {
            display: flex;
            gap: 10px;
            font-size: 0.9em;
        }
        
        .action-link {
            padding: 8px 12px;
            border-radius: 8px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            text-decoration: none;
        }

        .edit-profile {
            color: #555;
            border: 1px solid #ccc;
            background-color: #f9f9f9;
        }

        .logout {
            color: #dc3545;
            border: 1px solid #dc3545;
            background-color: #fff;
        }
        .info-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
            padding: 0 20px;
        }

        .info-card {
            background-color: #fff;
            border-radius: 10px;
            padding: 15px 10px;
            border: 1px solid #ffc107; 
            min-height: 100px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .card-icon-label {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }
        
        .card-icon-label span {
            font-size: 18px;
            color: #ffc107;
            margin-right: 5px;
        }

        .card-value {
            font-size: 1.4em;
            font-weight: 700;
            color: #333;
            margin: 5px 0 0 0;
        }

        .card-subtext {
            font-size: 0.75em;
            color: #888;
            margin-top: auto;
        }
        
        .card-level-value {
            font-size: 1.2em;
            font-weight: 700;
            color: #333;
            margin: 5px 0 0 0;
        }
 
        .system-messages {
            background-color: #fff;
            border-radius: 10px;
            padding: 15px 20px;
            margin-bottom: 25px;
            min-height: 100px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border: 1px solid #eee;
            margin: 0 20px 25px 20px;
        }

        .system-messages-header {
            display: flex;
            align-items: center;
            font-size: 0.95em;
            font-weight: 600;
            color: #555;
            margin-bottom: 10px;
        }
        
        .system-messages-header .material-icons-outlined {
            color: #ffc107;
            margin-right: 8px;
        }

        .no-messages {
            text-align: center;
            color: #aaa;
            font-size: 0.9em;
        }

        .settings-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            padding: 0 20px;
        }
        
        .settings-card {
            background-color: #fff;
            border-radius: 10px;
            padding: 15px;
            border: 1px solid #eee;
        }
        
        .setting-header {
            display: flex;
            align-items: center;
            font-size: 0.9em;
            font-weight: 600;
            color: #555;
            margin-bottom: 15px;
        }

        .setting-header .material-icons-outlined {
            color: #ffc107;
            margin-right: 8px;
        }

        .setting-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            font-size: 0.9em;
            color: #333;
        }
        
        .setting-item-border {
             border-bottom: 1px solid #eee;
        }
        
        .setting-item-border:last-child {
            border-bottom: none;
        }
        
        /* Switch/Toggle styling */
        .switch {
            width: 40px;
            height: 20px;
            background-color: #ccc;
            border-radius: 10px;
            position: relative;
        }

        .switch.on {
            background-color: #ffc107;
        }

        .switch-handle {
            width: 16px;
            height: 16px;
            background-color: #fff;
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: 0.4s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.4);
        }

        .switch.on .switch-handle {
            transform: translateX(20px);
        }
/*===================== login - section=====================  */
/* ===========================
   GLOBAL STYLES
=========================== */
.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ===========================
   LOGIN CARD
=========================== */
.login-card {
    width: 420px;
    background: #fff;
    padding: 45px 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin: 60px auto;
}

.login-card img {
    width: 70px;
    margin-bottom: 20px;
}

.login-card h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-card p {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Login Inputs */
.login-card input[type="email"],
.login-card input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff9c4;
    font-size: 14px;
}

/* Login Button */
.login-card button {
	width: 100%;
	padding: 19px 16px !important;
	background-color: #2e5bff;
	color: #fff;
	font-size: 16px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.3s ease;
	margin-bottom: 9px !important;
    margin-top: 15px !important;
}

.login-card button:hover {
    background-color: #1a3ed8;
}

.login-card a {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #2e5bff;
    text-decoration: none;
}

.login-card a:hover {
    text-decoration: underline;
}


/* ===========================
   SIGNUP CARD (crypto-box)
=========================== */
.crypto-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 35px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    margin: 100px auto;
}

.crypto-box .crypto-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

/* Signup Heading */
.crypto-box h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.box-sub-heading {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

/* Signup Form */
.user-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.user-form input {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.3s ease;
}

.user-form input:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 8px rgba(74,144,226,0.3);
    outline: none;
}

/* Special highlighted inputs */
.input-focus-highlight {
    background-color: #fffacd;
    border-color: #f7e7c4;
}

/* Signup Button */
.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #4A90E2, #357ABD);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #357ABD, #4A90E2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Signup bottom text */
.login-link-area {
    margin-top: 22px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.login-link-area a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.login-link-area a:hover {
    text-decoration: underline;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (min-width: 451px) and (max-width: 967px) {
    .market-wrapper {
        width: 89%;
    }
    .Bitcoin-title {
	color: #007bff;
}
.order-container {
	 display: block;
}
.dashboard-container {
	background-color: #f7f9fc;
}
.order-container {
	padding: 0px;
}
}

@media (max-width: 450px) {
    .login-card,
    .crypto-box {
        padding: 25px 20px;
        margin-top: 60px;
    }
.order-container {
	padding: 0px;
}
    .crypto-box h1,
    .login-card h2 {
        font-size: 22px;
    }

    .box-sub-heading,
    .login-card p {
        font-size: 13px;
    }
    .market-wrapper {
	width: 89%;
}
.Bitcoin-title {
	color: #007bff;
	 
}
.dashboard-container {
	background-color: #f7f9fc;
	 
}
.order-container {
	 display: block; 
 
}
 
.page-wrapperjj {
	  padding: 0px !important;  
}
.stats-box .stat {
	font-size: 13px;
}
}
/* .market-wrapper {
	text-align: right;
} */
.Bitcoin-title {
	color: #007bff;
	/* margin-right: 639px; */
}
.jin-sonkha {
	background-color: #e6f4ea;
	color: #28a745;
	margin-left: 55px;
	font-size: 12px;
}

.nece-title{
    color:#00c950
}
.page-wrapperjj{
    padding:24px;
}

/* Card */
.ui-card{
    background:#fff;
    border-radius:18px;
    margin-bottom:22px;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
    overflow:hidden;
}

/* Header */
.ui-card-header{
    background:#fffbd6;
    padding:16px 20px;
    font-weight:600;
    font-size:16px;
    color:#1f2a44;
    border-bottom:1px solid #fdeaa2;
}

.ui-card-header.flex{
    display:flex;
    align-items:center;
    gap:8px;
}

/* Body */
.ui-card-body{
    padding:45px 20px;
    color:#8a94a6;
    font-size:15px;
}

.ui-card-body.center{
    text-align:center;
}

.ui-card-body.large{
    padding:70px 20px;
}
.empty-icon{
    font-size:64px;
    color:#d1d6de;
    display:block;
    margin-bottom:10px;
}

.dashboard-container { padding: 20px; max-width: 1200px; margin: 0 auto; }
.header { margin-bottom: 25px; font-size: 1.8em; font-weight: 700; color: #333; }
.main-content { display: grid; grid-gap: 20px; }
.card-shadow { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); background: #fff; border-radius: 12px; padding: 20px; }
.user-info-box { display: flex; justify-content: space-between; align-items: center; }
.user-details { display: flex; align-items: center; gap: 15px; }
.user-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #4CAF50; }
.user-name-email h3 { margin: 0; font-size: 1.5em; font-weight: 600; }
.user-name-email p { margin: 0; color: #777; font-size: 0.9em; }
.profile-actions { display: flex; gap: 15px; }
.action-link { display: flex; align-items: center; gap: 5px; text-decoration: none; color: #4CAF50; font-weight: 600; padding: 8px 15px; border-radius: 8px; transition: background 0.3s; }
.action-link:hover { background: #e8f5e9; }
.logout { color: #f44336; }
.logout:hover { background: #ffebee; }

.info-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.info-card { text-align: left; }
.card-icon-label { display: flex; align-items: center; gap: 8px; color: #555; font-size: 0.9em; margin-bottom: 10px; }
.card-value { font-size: 2.2em; font-weight: 700; margin: 0; color: #333; }
.card-level-value { font-size: 1.8em; font-weight: 700; margin: 0; color: #4CAF50; }
.card-subtext { color: #888; margin: 5px 0 0; font-size: 0.8em; }

.system-messages { padding: 20px; }
.system-messages-header { font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.no-messages { color: #888; font-style: italic; text-align: center; }

.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.settings-card { padding: 20px; }
.setting-header { font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.setting-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.setting-item-border { border-top: 1px solid #eee; }


   .tx-tablezz {
    width: 100%;
    border-collapse: collapse;
}

.tx-tablezz th,
.tx-tablezz td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.status.ongoing { color: #f39c12; }
.status.winning { color: #1bbf6b; }
.status.loss { color: #e74c3c; }

.account-button {
	color: #000;
	padding: 15px;
	background: none;
	border: 1px solid #ccc;
	border-radius: 10px;
	font-weight: 500;
}








.rrr{
    border-radius: 10px;
    max-width: 260px;
}

.rrr p{
    margin: 0 0 14px;
    text-align: center;
}

.rrr p:last-child{
    margin-bottom: 0;
}

.rrr-value{
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.rrr-label{
    font-size: 13px;
    color: #64748b;
    letter-spacing: 0.5px;
}
