:root {
    --primary-color: #ff1493;
    --secondary-color: #00ffff;
    --background-color: #0a0a1e;
    --text-color: #ffffff;
    --header-bg: rgba(10, 10, 30, 0.95);
    --card-bg: rgba(255, 255, 255, 0.05);
    --hover-color: rgba(255, 20, 147, 0.2);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.dashboard-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: var(--header-bg);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--background-color);
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.5);
    font-family: 'Orbitron', sans-serif;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
}

.nav-items {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--hover-color);
}

.nav-item i {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Main Content Styles */
.main-content {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    margin: 0;
}

.user-profile {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: var(--hover-color);
}

.username {
    margin-right: 10px;
    font-weight: 500;
}

.user-profile i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.2);
}

.dashboard-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.dashboard-card p {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: var(--primary-color);
}

.chart-container {
    width: 100%;
    height: 300px;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 1rem;
    }

    .nav-items {
        display: flex;
        overflow-x: auto;
    }

    .nav-item {
        flex-shrink: 0;
    }

    .main-content {
        padding: 1rem;
    }
}

/* Add some fancy effects */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 20, 147, 0.5), 0 0 10px rgba(0, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 20, 147, 0.8), 0 0 30px rgba(0, 255, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 20, 147, 0.5), 0 0 10px rgba(0, 255, 255, 0.5);
    }
}


.balance-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.balance-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    flex: 1;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.balance-card:last-child {
    margin-right: 0;
}

.balance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.2);
}

.balance-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.balance-usd {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: var(--primary-color);
}

.balance-mearth {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

.transaction-count {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: var(--primary-color);
}

.last-transaction {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.last-transaction h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.transaction-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-type {
    background-color: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.transaction-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.transaction-date {
    font-size: 0.9rem;
    opacity: 0.7;
}

.market-cap {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
}

.market-cap h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.exchange-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.exchange-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(255, 20, 147, 0.2);
}

.exchange-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.currency-name {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.exchange-rate {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.price-up {
    color: #00ff00;
    transition: color 0.3s ease;
}

.price-down {
    color: #ff0000;
    transition: color 0.3s ease;
}

.price-change {
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.positive-change {
    color: #00ff00;
}

.negative-change {
    color: #ff0000;
}

.chart-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .chart-container h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
  }

  .transactions-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .transactions-header h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
  }
  
  .pagination {
    display: flex;
    align-items: center;
  }
  
  .pagination button {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .pagination button:hover {
    color: var(--primary-color);
  }
  
  .pagination .page-info {
    color: var(--text-color);
    margin: 0 1rem;
  }
  
  .transactions-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.1);
  }
  
  .transactions-header-row {
    background-color: var(--header-bg);
    color: var(--secondary-color);
  }
  
  .th {
    padding: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .th:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .transactions-body .tr {
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: background-color 0.3s ease;
  }
  
  .transactions-body .tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  .transactions-body .tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .td {
    padding: 1rem;
  }
  
  .transaction-type {
    background-color: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.9rem;
  }
  
  .transaction-amount {
    font-weight: bold;
    color: var(--primary-color);
  }

  .wallet-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .wallet-header {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
  }
  
  .wallet-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .wallet-address {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .wallet-address span {
    font-weight: bold;
    margin-right: 1rem;
  }
  
  .address-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
  }
  
  #wallet-address {
    flex-grow: 1;
    overflow-x: auto;
    padding-right: 1rem;
  }
  
  .copy-btn {
    position: relative;
    background-color: var(--secondary-color);
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .copy-btn:hover {
    background-color: var(--primary-color);
  }
  
  .wallet-balance {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .balance-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    flex: 1;
    margin-right: 1rem;
  }
  
  .balance-card:last-child {
    margin-right: 0;
  }
  
  .balance-usd {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
  }
  
  .balance-mearth {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0.5rem 0 0 0;
  }
  
  .wallet-created {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
  }

  .copy-btn .tooltip {
    position: absolute;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .copy-btn.copied .tooltip {
    opacity: 1;
  }
  
  .copy-btn.copied i {
    color: var(--primary-color);
  }
  
  @keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  
  .copy-btn.copied i::before {
    content: '\f00c';  /* Font Awesome checkmark icon */
    animation: checkmark 0.5s ease-in-out;
  }


  .send-money-container {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .section-title {
    color: #FF1493;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .section-title i {
    margin-right: 10px;
  }
  
  .modern-form .form-group {
    margin-bottom: 1.5rem;
  }
  
  .input-icon-wrapper {
    position: relative;
  }
  
  .input-icon-wrapper i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #00FFFF;
    font-size: 1.2rem;
  }

  
  
  .modern-form input,
  .modern-form select {
    width: 80%;
    padding: 15px 15px 15px 50px;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #2A2D43;
    border: 2px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
  }
  
  .modern-form input:focus,
  .modern-form select:focus {
    outline: none;
    border-color: #FF1493;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
  }
  
  .modern-form input::placeholder,
  .modern-form select::placeholder {
    color: #8A8D9F;
  }
  
  .currency-toggle {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  
  .currency-toggle input[type="radio"] {
    display: none;
  }
  
  .currency-toggle label {
    padding: 5px 15px;
    background-color: #2A2D43;
    color: #8A8D9F;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .currency-toggle input[type="radio"]:checked + label {
    background-color: #FF1493;
    color: #FFFFFF;
  }
  
  .submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #FF1493, #00FFFF);
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.3);
  }
  
  .submit-btn i {
    margin-left: 10px;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: translateY(-50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .modal-content h4 {
    color: #FF1493;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .transaction-details {
    margin-bottom: 2rem;
  }
  
  .detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  
  .label {
    color: #00FFFF;
    font-weight: bold;
  }
  
  .value {
    color: #FFFFFF;
  }
  
  .modal-actions {
    display: flex;
    justify-content: space-between;
  }
  
  .confirm-btn,
  .cancel-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .confirm-btn {
    background-color: #FF1493;
    color: #FFFFFF;
  }
  
  .cancel-btn {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
  }
  
  .confirm-btn:hover,
  .cancel-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
  }
  
  .hidden {
    display: none;
  }
  