/*
Get Ready Template
https://templatemo.com/tm-521-get-ready
*/
body {
    -webkit-text-size-adjust: 100%; /* Previne mărirea automată a textului pe iOS/Chrome mobile */
    text-size-adjust: 100%;
    background-color: #0b0b0b;
    background-image: url('/images/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Fixează fundalul să nu se miște la scroll */
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ddd;
    min-height: 100vh; /* Permite paginii să crească dacă e nevoie */
    display: block;    /* Eliminăm centrarea flex care dădea scroll eronat */
}

html {
    height: auto;      /* Lăsăm înălțimea să fie determinată de conținut */
    width: 100%;
    overflow-x: hidden;
}

button, input, select, textarea {
    font-family: inherit;
}

#home {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 1px; /* Acest singur pixel oprește "scurgerea" marginilor */
    overflow: hidden; /* Taie orice tentativă de scroll fantomă deasupra */
}

#home .container {
	width: 100%;
}

.home-info {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 8px;
    display: block; /* Scoatem flex-ul care centra pe verticală în mijlocul ecranului */
}

.index-info {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 8px;
    display: block; /* Scoatem flex-ul care centra pe verticală în mijlocul ecranului */
}

.hero-wrapper {
    width: 100%;
    margin-top: 0;    /* Spațiu sub logo */
    margin-bottom: 40px; /* Spațiu mare deasupra footer-ului */
    padding: 40px 0;    /* Spațiu în interiorul imaginii */
}

.hero-wrapper::before,
.hero-wrapper::after {
    content: "";
    display: table;
}

.ruler-top {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background-image: url(../ruler-top.webp);
	background-repeat: repeat-x;
}

.ruler-bottom {
	position: relative;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background-image: url(../ruler-bottom.webp);
	background-repeat: repeat-x;
}

.sticky {
  position: sticky;
  top: 0;
  transition: background-color 0.3s;
}

.sticky:active {
  background-color: red;
}

.logo-responsive {
    width: 90%;
    max-width: 400px;
    height: auto;
    display: block; /* Elimină un mic spațiu alb care apare uneori sub imagini */
    margin: 0 auto; /* O centrează dacă div-ul părinte permite */
}

.logo-v2-responsive {
    width: 50%;
    max-width: 150px;
    margin-top: 0;
    height: auto;
    display: inline-block; /* Elimină un mic spațiu alb care apare uneori sub imagini */
    margin: 0 auto; /* O centrează dacă div-ul părinte permite */
}

.logo-inline {
    height: 24px; /* Ajustează înălțimea să se potrivească cu textul tău */
    width: 150px;
    height: auto;
    vertical-align: middle; /* Aceasta este proprietatea magică */
    margin: 0 5px; /* Puțin spațiu la stânga și la dreapta */
    display: inline-block;
}

.crypto-link-container {
    display: inline-flex; /* Opțional: pentru un control și mai bun al alinierii */
    align-items: center;
}

/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/
h1 {
	font-family: 'Poppins', sans-serif;
	color: LightSeaGreen;
	font-size: 34px;
	font-weight: 700;
	line-height: 46px;
	margin: 40px 0 20px 0 ;
}

h2 {
	font-family: 'Poppins', sans-serif;
	color: #ccc;
	font-size: 26px;
	font-weight: 600;
	line-height: 36px;
	margin: 10px 0;

}

h3 {
	font-family: 'Poppins', sans-serif;
	color: #ccc;
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	margin: 10px 0;
}

p {
	color: #ccc;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.centered {
	text-align: center;
}

.text_field {
        text-align: justify;
        padding: 0 8px;
        margin: 0 auto;
}

.bold {
	font-weight: 600;
}

.justify {
        text-align: justify;
}

.footer {
	margin: 30px 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	color: DimGrey;
}

.footer a {
	font-size: 13px;
	line-height: 30px;
	font-weight: 400;
	color: DimGrey;
}

/* Stil comun pentru ambele butoane */
#backToTop, #goToBottom {
    position: fixed;
    right: 30px;
    z-index: 999999 !important;
    background-color: rgba(40, 167, 69, 0.5);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
    padding: 0;             /* Resetăm padding-ul care împingea iconița */
    display: inline-flex;   /* Activează modul de aliniere flexibilă */
    align-items: center;    /* Centrează pe verticală */
    justify-content: center;/* Centrează pe orizontală */
}

/* Back to Top stă la 95px de jos */
#backToTop { 
    bottom: 95px; 
    display: none; 
} 

/* Go to Bottom stă la 30px de jos */
#goToBottom { 
    bottom: 30px; 
    display: none;
}

#backToTop:hover, #goToBottom:hover {
    background-color: rgba(41, 210, 70, 0.5);
    transform: scale(1.1);
}

.small {
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	color: DimGrey;
}

.pds {
	color: #ddd;
	font-size: 14px;
	font-weight: 400;
	line-height: 23px;
	text-align: left;
	max-width: 95%;
}

.facolor {
	color: #ddd;
	padding: 0 2px 0 2px;
}

hr.dotted {
  border: none;
  height: 2px;
  background: DimGray;
  background: repeating-linear-gradient(90deg,DimGray,DimGray 6px,transparent 6px,transparent 12px);
}

/*---------------------------------------
     INDEX               
  -----------------------------------------*/  

.facolor_home {
    color: LightSeaGreen;
    padding: 0 2px 0 2px;
}

.feature-grid {
    display: grid;
    /* Forțăm exact 2 coloane pe desktop/tabletă */
    grid-template-columns: repeat(2, 1fr); 
    grid-gap: 30px; 
    padding: 20px;
    max-width: 800px; /* Opțional: limitează lățimea grilei pentru a nu fi prea lăbărțată */
    margin: 0 auto;   /* Centrează grila */
}
  
.feature-card {
    background: #1a1a1a;
    padding: 30px; border-radius: 15px;
    text-align: center;
    Border: 1px solid #444;
	border-radius: 8px;
}  
  
.cta-box {
    background: #1a1a1a;
    padding: 40px; border-radius: 20px;
    border: 1px dashed LightSeaGreen; margin: 50px 0; 
}  
  
.btn-home {
	background: #444;
	color: White;
	padding: 12px 40px;
	margin: 40px 0;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	font-size: 20px;
	display: inline-block;
	transition: 0.2s;
}

.btn-home:hover {
	background: DimGray;
	color: White;

}

.btn-hero {
	background: DarkCyan;
	color: White;
	padding: 12px 40px;
	margin: 40px 0;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	font-size: 20px;
	display: inline-block;
	transition: 0.2s;
}

.btn-hero:hover {
	background: LightSeaGreen;
	color: White;
}

/* Se aplică DOAR butoanelor de filtrare din pagina de admin */
.btn-filter {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Clasa pentru butonul activ, o vom folosi în JS */
.btn-filter.active {
    opacity: 1 !important;
    font-weight: bold;
}

.copyright {
    font-size: 10px;
    font-weight: 500;
    color: DimGrey;
    margin-bottom: 60px;
    white-space: nowrap;
}

/*---------------------------------------
     PAGINA CU PLATA              
  -----------------------------------------*/
.price-tag { 
 font-size: 32px; 
 font-weight: bold; 
 color: LightSeaGreen;
 margin: 10px 0; 
 }
  
.hr { 
 border: 0; 
 border-top: 1px solid DimGrey; 
 margin: 25px 0; 
 } 

/*---------------------------------------
     GENERAL               
  -----------------------------------------*/
html {
	-webkit-font-smoothing: antialiased;
}

a {
	color: Orange;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
}

a:hover {
	color: White;
	outline: none;
}

::-webkit-scrollbar {
	width: 0px;
	height: 0px;
}

* {
	box-sizing: border-box;
}

.hide {
        display: none;
}

.my_div:hover .hide {
        display: inline;
        color: FireBrick;
        font-size: 13px;
        font-weight: 500;
}

.toggle-btn {
        cursor: pointer;
        text-decoration: none;
}

.hidden-content {
        display: none;
}

.hidden-content.show {
        display: block;
}

.toggle-btn2 {
        display: inline-block;
        cursor: pointer;
        text-decoration: none;
}

.hidden-content2 {
        display: none;
}

.hidden-content2.show {
        display: block;
}

#toggle-all-btn {
        cursor: pointer;
        text-decoration: none;
}

.hidden-column {
        display: none;
}

.hidden-column.show {
        display: table-cell;
}

.button {
	background: DarkCyan;
	border: none;
	color: white;
	padding: 8px 18px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
	margin: 0;
}

.button:hover {
	background: LightSeaGreen;
	color: White;
}

.button-delete {
	background: FireBrick;
	border: none;
	color: white;
	padding: 8px 18px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	margin: 0;
}

.button-delete:hover {
	background: #b93838;
	color: White;
}

.btn {
	background: #333;
	border: 1px solid #666;
	color: #bbb;
	padding: 4px 20px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.button-group {
    display: flex;
    width: 100%;       /* Ocupă toată lățimea formularului */
    gap: 4px;         /* Spațiu între Moneda 1 și Moneda 2 */
    justify-content: space-between;
    align-items: flex-start; /* Aliniere sus pentru a nu decala dacă prețul LIVE variază */
    margin-bottom: 5px;   
}

/* Forțează cele două coloane să fie egale și să crească */
.button-group > div {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

/* Eliminăm marginea de jos a select-ului din grup pentru a nu dubla spațiul */
.button-group select {
    width: 100%;
    margin-bottom: 5px; 
}

.summary {
        cursor: pointer;
        font-size: 18px; 
        font-weight: 500; 
        padding: 20px 10px; 
        text-align: left; 
        color: #ccc;
}

label {
	display: block;
	margin: 0;
	color: #ddd;
	font-size: 14px;
	font-weight: 400;
        text-align: left;
}

.label-edit {
	display: block;
	margin: 0;
	color: #ddd;
	font-size: 14px;
	font-weight: 400;
}

select {
	width: 100%;
	min-width: 150px;
	background: #333;
	border: 1px solid #666;
	color: #ddd;
	padding: 8px;
	margin: 0 0 4px 0;
	border-radius: 4px;
	text-align: left;
	font-size: 16px;
}

input {
	width: 100%;
	background: #333;
	border: 1px solid #666;
	color: #ddd;
	padding: 8px;
	margin: 0 0 20px 0;
	border-radius: 4px;
	text-align: left;
	font-size: 16px;
}

.input_lab {
	width: 100%;
	background: #333;
	border: 1px solid #666;
	color: #ddd;
	padding: 8px;
	margin: 0 0 12px 0;
	border-radius: 4px;
	text-align: left;
	font-size: 16px;
}

input::placeholder {
	color: #999;
	font-size: 16px;
}

::selection {
  background: DimGrey;
  color: White;
}

.checkbox-container {
  margin-top: 20px;
  padding: 15px;
  background: #2a2a2a;
  border: 1px solid #666;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
}

.checkbox-container label {
  display: inline;
  margin: 0;
  margin-left: 10px;
  cursor: pointer;
}

input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  transform: scale(1.2);
}

.content-box {
	display: flex;
	flex-direction: column;
	border: 1px solid #666;
	border-radius: 8px;
	background: #1a1a1a;
	padding: 10px;
	margin-bottom: 10px;
	height: 100%;
	min-width: 300px;
	max-width: 400px;
}

.my_content-box {
	display: inline-block;
	border: 1px solid #666;
	border-radius: 8px;
	background: #1a1a1a;
	padding: 10px;
	margin-bottom: 10px;
	height: 100%;
    width: 400px;
}

.my_form {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #1a1a1a;
	padding: 10px;
    margin-top: 8px;
}

.form {
	display: block;
	align-items: center;
	text-align: left;
	background: #1a1a1a;
	padding: 10px;
    margin-top: 8px;
}

.flex-container {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1200px;
}

.chart-container {
	flex: 1;
	padding: 0;
	min-width: 300px;
}

#ratioChart {
	background: #222;
	border: 1px solid #666;
	border-radius: 4px;
	margin: 10px;
}

.disclaimer-box {
        background: rgba(0,0,0,0.2);
        padding: 10px;
        border-radius: 5px;
        border-left: 3px solid #e74c3c;
        margin: 15px 0;
        font-size: 13px;
        text-align: justify;
}

.table-wrapper {
	width: 100%;
	min-width: 300px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
} 

.table {
	background: #1a1a1a;
	border: 2px solid #666;
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
}

/* Highlight la trecerea mouse-ului */
.table tr:hover {
    background-color: rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease;
}

/* Colorăm doar rândurile care au clasa asset-row din admin_actives, dar sărim peste unul */
.asset-row:nth-of-type(4n+1) {
    background-color: rgba(255, 255, 255, 0.03);
}

th,
td {
    white-space: nowrap;
	padding: 10px 5px;
	border: 1px solid #666;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
}

th {
	background: #333;
	font-weight: 500;
	font-size: 14px;
	color: #bbb;
}

.triggered {
	color: Red;
}

.untriggered {
	color: LightSeaGreen;
}

@keyframes slideIn {
	from {
	transform: translateY(-100%);
	opacity: 0;
	}

	to {
	transform: translateY(0);
	opacity: 1;
	}
}

.notification-alert {
	padding: 10px 25px;
	margin: 10px auto;
	display: block;
	font-size: 14px;
	font-weight: 400;
	background: FireBrick;
	color: white;
	border-left: 4px solid Maroon;
	border-right: 4px solid Maroon;
	border-radius: 8px;
	max-width: 300px;
}

.badge-pending {
    color: FireBrick;
    font-size: 12px;
    font-weight: bold;
    padding: 0 10px;
    border-radius: 10px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite; /* Opțional: un mic efect de pulsare */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* RESPONSIVE - MOBILE */
@media screen and (max-width: 480px) {
    /* Setări pentru .my_content-box */
    .my_content-box {
        /* Ignoră lățimea maximă de 400px definită global */
        max-width: none; 
        
        /* Ocupă toată lățimea disponibilă */
        width: 100%;
        
        /* Padding-ul de 8px aplicat pe stânga și dreapta acționează ca marginea dorită */
        padding-left: 8px;
        padding-right: 8px;
        
        /* Elimină marginile laterale globale de 8px pe mobil, pentru a lăsa padding-ul să controleze spațierea */
        margin-left: 0;
        margin-right: 0;
        
        /* Asigură-te că lățimea totală include padding-ul */
        box-sizing: border-box; 
     }
             #logo_index {
        display: none !important;  
       }
}

/* Pentru telefoane mobile (ecran sub 600px), le punem pe o singură coloană */
@media screen and (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}