/*
Theme Name: Nextcoin
Author: Themefix
Description: Nextcoin - Bitcoin And Crypto Currency Mobile Template
Version: 2.1.0
*/
/* ====================================================================
 Table of contents
====================================================================
-General Variables
-Theme default css
-Animated Css
-Page Loader (PREMIUM SPINNER)
-Header
-Main Sidebar
-Logo Main
-Main Section (AICI ESTE FIXUL DE SPAȚIU)
-Footer
-Demo Section
-Custom Checkbox (Remember Me)
-Profile & Dark Modal Styles
-Content Protection
==================================================================== */

/* General Variables */
:root {
    --color1: #17161b;
    --color2: #3aa1b8;
    --color3: #2a2d3c;
    --color4: #edf1f9;
    --color5: #fff;
    --color6: #3366ff;
    --color7: #97a3b9;
    --color8: #22B973;
    --color9: #B92269;
    --pill: 2.5rem;
    --round: 50%;
    --full: 100%;
}
* {
    margin: 0;
    padding: 0; }
body,
html {
    /* Setăm fundalul global la noul Dark Premium */
    background-color: #0e1018;
    margin: 0;
    padding: 0;
    font-family: Nunito;
    font-size: 14px;
    color: var(--color4);
    line-height: 1.4;
    font-weight: 400;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Nunito;
    color: var(--color4);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0;
}
.fs-11{ font-size: 11px; }
.fs-12{ font-size: 12px; }
.fs-14{ font-size: 14px; }
.fs-16{ font-size: 16px; }
.wd-30 { width: 30px; }
.ht-30 { height: 30px; }
.mb-35{ margin-bottom: 35px; }
hr:not([size]) { background: var(--color4); }
p { font-family: Nunito; line-height: 1.5rem; font-size: .9rem; }
.ms-6{ margin-left: 4rem!important; }
.ms-7{ margin-left: 5rem!important; }
.pt-6 { padding-top: 4rem!important; }
ul { margin: 0; padding-left: 0; }
ul li, ol li { font-family: Nunito; font-size: 0.875rem; line-height: 1.5rem; list-style-type: none; }

.btn  { font-size: 14px; font-weight: 500; padding: .5rem 1rem; border-radius: 12px; }
.btn-main { color: var(--color5); background-image: linear-gradient(rgb(58, 130, 184) 0%, rgb(19, 79, 112) 100%); border:none; }
.btn-main:hover { color: var(--color3); }
.btn-check:focus+.btn, .btn:focus { box-shadow: none !important; }
a {color: inherit; text-decoration: none; }
a:hover, a:focus, ins { text-decoration:none; outline:none; color: inherit; }

.form-group { margin-bottom: 1rem; line-height: 1; }
.form-control { background: var(--color3); color: var(--color4); border: none; padding: .5rem 1rem; height: 41px; font-size: 14px; border-radius: 12px; }
select.form-select { background: var(--color3); color: var(--color4); border: none; padding: 0.5rem 1rem; height: 41px; font-size: 14px; border-radius: 12px; }
.form-control:focus { background: var(--color3); color: var(--color4); box-shadow: none !important; border-color: #ebebeb !important; }
.form-select { background-image: url(../img/icons/arrow-down-sign-to-navigate.svg); }
.form-select:focus { border-color: var(--color3) !important; box-shadow: none !important; }

.form-check-input { width: 2.25rem !important; height: 1.55em !important; margin-top: .25em; background-color: #fff; border-color: #fff; }
.form-check-input:checked { background-color: #F0B90A; border-color: #F0B90A; }
.form-check-input:focus { box-shadow: none !important; border-color: #F0B90A !important; }

.card { background: var(--color3); border-radius: 12px; }
.text-gray { color: var(--color7); }
.text-primary{ color: var(--color2) !important; }
.bg-lightblue{ background: #3366ff; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 5px #cdcdcd; border-radius: 12px; }
::-webkit-scrollbar-thumb { background: #cdcdcd; border-radius: 12px; }

.icon-effect { animation: tada 2s ease infinite; }

/* =======================================================
   Page Loader (PREMIUM SPINNER & DARK BACKGROUND)
======================================================= */
#loader-page {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #0e1018 !important; 
    z-index: 99999;
}

.premium-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #2ca9e1; 
    box-sizing: border-box;
    animation: spin-premium 1s linear infinite;
}

@keyframes spin-premium {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#line { display: none !important; }


/* Main Sidebar */
.main-sidebar {
    background-color: var(--color3);
    position: fixed; z-index: 9999; top: 0; left: -300px; height: 100%;
    overflow-y: auto; width: 290px; padding: 35px 20px; transition: all 0.3s ease-in;
}
.main-sidebar.active { left: 0; }
.bg-overlay {
    position: fixed; width: 100%; height: 100vh; top: 0; bottom: 0;
    opacity: 0; background-color: rgba(0, 0, 0, .7); visibility: hidden; z-index: 9999;
    transition: opacity .25s ease, visibility 0s ease;
}
.bg-overlay.active { visibility: visible; opacity: 1; }
.sidebar-close-toggler { position: absolute; right: 20px; top: 45px; transform: translateY(-50%); color: var(--color4); cursor: pointer;}

/* Header Main */
.header-main {
    background-color: rgba(14, 16, 24, 0.95); /* Dark semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    height: 70px; /* Înălțime fixă Header */
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.content-header { height: 70px; display: flex; align-items: center; justify-content: center; }

/* =======================================================
   MAIN SECTION (GLOBAL SPACING FIX)
   Aceasta este secțiunea care controlează spațiul pe TOATE paginile
======================================================= */
.main-content {
    position: relative;
    
    /* 1. Resetăm marginile vechi */
    margin-top: 0 !important; 
    
    /* 2. Adăugăm spațiu interior (padding) suficient */
    /* 70px (Header) + 40px (Spațiu respirabil) = 110px */
    padding-top: 110px !important; 
    
    /* 3. Spațiu jos pentru Footer */
    padding-bottom: 90px;
    
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Asigură că totul pleacă de sus */
}

/* Card Styles Global */
.card-content { text-align: left; width: 100%; display: block; border-radius: 22px; padding: 15px; }

/* Footer Section */
.footer-bar {
    position: fixed; bottom: 0; left: 0; right: 0; width: 100%; height: 65px;
    background: #0e1018; border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-around; align-items: center;
    border-radius: 20px 20px 0 0; z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
}

/* Scrollbar Fixes */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }

/* Custom Checkbox */
.round-checkbox {
    width: 24px; height: 24px; background-color: transparent; border: 2px solid #0d6efd;
    border-radius: 50%; appearance: none; outline: none; cursor: pointer; position: relative; flex-shrink: 0;
    margin-right: 12px !important;
}
.round-checkbox:checked { background-color: #0d6efd; box-shadow: 0 0 10px rgba(13, 110, 253, 0.5); }
.round-checkbox:checked::after {
    content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 12px;
    border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.remember-label { margin-bottom: 0; cursor: pointer; color: #aaa; font-size: 15px; user-select: none; line-height: 24px; }
.form-group.d-flex.align-items-center { min-height: 30px; }

/* Content Protection */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; }
img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; user-drag: none; pointer-events: none; }