
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    transition: background 0.3s, color 0.3s;
    overflow: hidden;
}

button {
  color: #000;
}


.dark-mode {
    background: #1e1e1e;
    color: white;
}

.dark-mode a {
    color: white;
}


.dark-mode .header,
.dark-mode .sidebar,
.dark-mode .dropdown-content {
    background: #333;
    border-color: #444;
}



.dark-mode .dropdown-btn {
    background-color: transparent;
	color: white;
}

.dark-mode .dropdown-btn:hover {
    background: #444;
    color: #f1f1f1;
}

.dark-mode .dropdown-content a {
    color: white;
}

.dark-mode .dropdown-content a:hover {
    background: #555;
}


.container {
    display: flex;
	
}


.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    border-bottom: 2px solid #ddd;
}

.header-logo {
    max-width: 320px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}


.blockchain-dropdown,
.keplr-dropdown {
    position: relative;
    display: inline-block;
}


.dropdown-btn {
    background: white;
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    height: 54px;
}

.dropdown-btn:hover {
    background: #f0f0f0;
}

.dark-mode .dropdown-btn:hover {
    background: #444;
}



.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
    font-size: 14px;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: #f0f0f0;
}

.show {
    display: block;
}

.dropdown-icon {
    border-radius: 0px;
    width: 30px;
    height: 30px;
    padding: 0.5rem;
}


.dark-mode-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
    border: 1px solid #ccc;
    height: 54px;
    width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 5px;
}

.dark-mode-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease-in-out;
}


.dark-mode #darkModeIcon {
    fill: yellow;
}

.dark-mode-btn:hover {
    background: #f0f0f0;
}

.dark-mode .dark-mode-btn:hover {
    background-color: #444;
    color: #f1f1f1;
}


.sidebar {
    min-width: 250px;
    background: white;
    padding: 20px;
    height: calc(100vh - 100px); 
    display: flex;
    flex-direction: column; 

}




.sidebar-logo {
    width: 100%;
    max-width: 180px;
    display: block;
    margin: 10px auto;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 10px 0;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background: #e0e0e0;
}

nav ul li a.active {
    background: #4CAF50; 
    color: white;
    font-weight: bold;
}





.dark-mode .faucet {
    background-color: black !important;
	border: 1px solid white;
    color: white;
    padding: 20px;
    border-radius: 5px;
}



.dark-mode nav ul li a {
    color: white;
    background: #333;
}

.dark-mode nav ul li a:hover {
    background: #444;
}

.dark-mode nav ul li a.active {
	background: #4CAF50 !important;
}


.dark-mode .sidebar {
    background: #333;
    color: white;
}

.dark-mode nav ul li a {
    color: white;
    background: #333;
}

.dark-mode nav ul li a:hover {
    background: #444;
}


.sidebar-footer {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    margin-top: auto;
}

.sidebar-footer a {
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
}


.footer-icon {
    width: 24px;
    height: 24px;
    fill: black; 
    transition: fill 0.3s;
}


.sidebar-footer a:hover .footer-icon {
    fill: #555;
}


.dark-mode .sidebar-footer {
    border-top: 1px solid #555;
}

.dark-mode .footer-icon {
    fill: white; 
}

.dark-mode .sidebar-footer a:hover .footer-icon {
    fill: #bbb; 
}



.content {
    flex-grow: 1;
    padding: 20px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}


.disabled {
    pointer-events: none;  
    color: gray;  
    cursor: not-allowed; 
    opacity: 0.6;  
}









.wallet-list {
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.wallet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.token-icon {
    width: 30px;
    height: 30px;
}

.token-name {
    font-weight: bold;
    flex-grow: 1;
    margin-left: 10px;
}

.token-balance {
    font-weight: bold;
    margin-right:10px;
}

.send-btn {
    background: white;
    border: 1px solid #ccc;
    padding: 10px 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.send-btn:hover {
    background: #f0f0f0;
}





















.staking-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}


.staking-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    flex: 1;
    text-align: center;
    border: 1px solid black;
}

.staking-box h3 {
    background: #d3d3d3;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
    border: 1px solid black;
}


.staking-actions {
    display: flex;
    gap: 10px;
}


.stake-btn, .withdraw-btn {
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.stake-btn {
    background: #4CAF50;
    color: white;
}

.withdraw-btn {
    background: #d3d3d3;
    color: black;
}


.dark-mode .staking-box {
    background: black;
    color: white;
    border: 1px solid #ddd;
}

.dark-mode .staking-box h3 {
    background: black;
  
    border: 1px solid #ddd;
}

.dark-mode .stake-btn {
    background: #66bb6a;
}

.dark-mode .withdraw-btn {
    background: #555;
    color: white;
}




.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}


.modal-content {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    margin: 15% auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
}

.modal-dark {
    background: #222 !important;
    color: #f1f1f1 !important;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
}


.buttonok {
    background: black;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}


.modal-dark button {
    background: white !important;
    color: black !important;
}

.modal-dark button:hover {
    background: #888 !important;
}


.modal-content a {
    color: blue;
    text-decoration: none;
}


.modal-dark a {
    color: white !important;
}

.modal-dark a:hover {
    color: #ddd !important; 
}



.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-menu-button {
    background: white;
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    height: 54px;
}


.lang-menu-content {
    display: none;
    position: absolute;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.lang-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
    font-size: 14px;
    transition: background 0.3s ease;
}

.lang-menu-button:hover {
    background: #f0f0f0;
}




.lang-selector.active .lang-menu-content {
    display: block;
}


.lang-menu-dark .lang-menu-button {
    background-color: transparent;
	color: white;
}

.lang-menu-dark .lang-menu-button:hover {
    background-color: #444;
    color: #f1f1f1;
}

.lang-menu-dark .lang-menu-content {
    background-color: #111;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

.lang-menu-dark .lang-menu-item {
    color: #ddd;
}

.lang-menu-dark .lang-menu-item:hover {
    background-color: #333;
}


.swap-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.swap-button {
    width: 100%;
}


.dark-mode .swap-container {
    background: black;
    box-shadow: 0px 4px 6px rgba(255, 255, 255, 0.1);
    border: 1px solid #ddd;
}
.dark-mode .form-control, 
.dark-mode .form-select {
    background: #333;
    color: #fff;
    border-color: #ddd;
}




.proposal-card {

    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    background: #f8f9fa;
}
.dark-mode {
    background: #121212;
    color: #ffffff;
}
.dark-mode .proposal-card {
    background: #1e1e1e;
    border-color: #444;
}

.burger-menu {
	display:none;
	background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
    border: 1px solid #ccc;
    height: 54px;
    width: 54px;
   
    align-items: center;
    justify-content: center;
	border-radius: 5px;
}

.burger-menu.active {
	background: #f0f0f0;
}

.dark-mode .burger-menu {
	background-color: transparent;
    color: white;
}

.dark-mode .burger-menu.active {
	background-color: #444;
    color: #ffffff;
}



.keplr-dropdown {
    position: relative;
    display: inline-block;
}


.keplr-dropdown .dropdown-btn {
    background: white;
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    height: 54px;
}


.keplr-dropdown .dropdown-btn:hover {
    background: #f0f0f0;
}


.keplr-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}


.keplr-dropdown .dropdown-content.show {
    display: block;
}


.keplr-dropdown .dropdown-content a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: black;
    font-size: 14px;
    transition: background 0.3s ease;
}


.keplr-dropdown .dropdown-content a:hover {
    background: #f0f0f0;
}


.keplr-dropdown .dropdown-btn svg {

    fill: black;
    transition: fill 0.3s ease;
}


.dark-mode .keplr-dropdown .dropdown-btn {
    background: #333;
    color: white;
    border: 1px solid #ccc;
}

.dark-mode .keplr-dropdown .dropdown-btn:hover {
    background: #444;
}

.dark-mode .keplr-dropdown .dropdown-content {
    background: #222;
    border: 1px solid #444;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.dark-mode .keplr-dropdown .dropdown-content a {
    color: white;
}

.dark-mode .keplr-dropdown .dropdown-content a:hover {
    background: #333;
}


.dark-mode .keplr-dropdown .dropdown-btn svg {
    fill: white;
}


#keplr-icon {
    margin-right: 10px;
    font-size: 18px;
}



.burger-menu {
  display: none;
}


@media only screen and (min-width: 360px) and (max-width: 410px) {
	body {
		overflow-y:scroll;
	}
  .header {
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
  }
  .header-logo {
    max-width: 320px;
    padding: 10px;
  }
  .header-right {
    gap: 5px;
    margin-top: 5px;
  }
  .dropdown-btn {
    padding: 6px 8px;
   
    height: 54px;
  }
  .dark-mode-btn,
  .burger-menu {
    height: 54px;

  }
  .dropdown-icon {
    display: none;
  }
  
  .container {
    flex-direction: column;
  }
  

  .sidebar {
    position: fixed;
    left: 0;
    width: 250px;
    height: 85vh;
    background: white; 
    padding: 20px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
  }
 
  .sidebar.active {
    transform: translateX(0);
  }
  
  
  
  .content {
    padding: 10px;
  }
  
 
  .burger-menu {
    display: flex;
    align-items: center;
    justify-content: center;

  }
  .staking-container {
   
      flex-direction: column;
      gap: 10px; 
  }
  .staking-box {
    
      padding: 10px;
  }
}


@media only screen and (min-width: 411px) and (max-width: 768px) {
	body {
		overflow-y:scroll;
	}
  .header {
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
  }
  .header-logo {
    max-width: 320px;
    padding: 10px;
  }
  .header-right {
    gap: 5px;
    margin-top: 5px;
  }
  .dropdown-btn {
    padding: 6px 8px;
   
    height: 54px;
  }
  .dark-mode-btn,
  .burger-menu {
    height: 54px;
  
  }
  .dropdown-icon {
    display: none;
  }
  
  .container {
    flex-direction: column;
  }
  

  .sidebar {
    position: fixed;

    left: 0;
    width: 250px;
    height: 88vh;
    background: white;
    padding: 20px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  
  .content {
    padding: 10px;
  }
  

  .burger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .staking-container {

      flex-direction: column;
      gap: 10px; 
  }
    .staking-box {
     
      padding: 10px;
  }
}


