*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#f5f7fb;
    color:#111827;
}

/* =========================
   LOGIN PAGE
========================= */

.login-page{
    width:100%;
    height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:20px;
}

.login-box{
    width:100%;
    max-width:420px;

    background:#ffffff;

    padding:50px;

    border-radius:24px;

    box-shadow:0 10px 40px rgba(0,0,0,0.05);

    border:1px solid #edf0f5;
}

.login-top{
    margin-bottom:35px;
}

.login-top h1{
    font-size:38px;
    margin-bottom:10px;
}

.login-top p{
    color:#6b7280;
    font-size:15px;
}

/* FORM */

.form-group{
    margin-bottom:20px;
}

.form-group input{
    width:100%;

    padding:16px 18px;

    border-radius:14px;

    border:1px solid #dbe2ea;

    background:#fafafa;

    font-size:15px;

    outline:none;

    transition:0.3s ease;
}

.form-group input:focus{
    border-color:#2563eb;

    background:#ffffff;

    box-shadow:0 0 0 4px rgba(37,99,235,0.08);
}

/* BUTTON */

.login-btn{
    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    background:#2563eb;

    color:white;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s ease;
}

.login-btn:hover{
    background:#1d4ed8;

    transform:translateY(-2px);
}

/* =========================
   DASHBOARD LAYOUT
========================= */

.container{
    display:flex;
    min-height:100vh;
}

/* SIDEBAR */

.sidebar{
    width:240px;

    background:#ffffff;

    border-right:1px solid #e5e7eb;

    padding:30px 20px;
}

.logo{
    font-size:28px;
    font-weight:700;

    margin-bottom:50px;
}

.menu{
    display:flex;
    flex-direction:column;

    gap:10px;
}

.menu a{
    text-decoration:none;

    color:#374151;

    padding:14px 18px;

    border-radius:14px;

    transition:0.3s ease;

    font-weight:500;
}

.menu a:hover{
    background:#eff6ff;

    color:#2563eb;
}

.menu .active{
    background:#2563eb;

    color:white;
}

/* MAIN CONTENT */

.main-content{
    flex:1;

    padding:40px;
}

/* HEADER */

.header{
    margin-bottom:50px;
}

.header h1{
    font-size:36px;

    margin-bottom:10px;
}

.header p{
    color:#6b7280;

    font-size:16px;
}

/* MARKET SECTION */

.market-section{
    margin-bottom:50px;
}

.section-title{
    font-size:24px;

    font-weight:600;

    margin-bottom:25px;
}

/* CARD GRID */

.card-grid{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:25px;
}

/* MARKET CARDS */

.market-card{
    background:#ffffff;

    padding:30px;

    border-radius:22px;

    text-decoration:none;

    color:inherit;

    border:1px solid #edf0f5;

    box-shadow:0 6px 25px rgba(0,0,0,0.04);

    transition:0.3s ease;
}

.market-card:hover{
    transform:translateY(-5px);

    border-color:#2563eb;

    box-shadow:0 15px 35px rgba(37,99,235,0.10);
}

.icon{
    font-size:42px;

    margin-bottom:20px;
}

.market-card h3{
    font-size:22px;

    margin-bottom:10px;
}

.market-card p{
    color:#6b7280;

    font-size:15px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

    .sidebar{
        display:none;
    }

    .main-content{
        padding:20px;
    }

    .header h1{
        font-size:28px;
    }

    .login-box{
        padding:35px;
    }

}
/* ======================================
   BTC JOURNAL PAGE
====================================== */

.journal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:40px;
}

.journal-header h1{
    font-size:38px;
    margin-bottom:8px;
}

.journal-header p{
    color:#6b7280;
}

.add-trade-btn{
    background:#2563eb;
    color:white;

    border:none;

    padding:14px 24px;

    border-radius:14px;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    transition:0.3s ease;
}

.add-trade-btn:hover{
    background:#1d4ed8;

    transform:translateY(-2px);
}

/* STATS */

.stats-grid{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:20px;

    margin-bottom:40px;
}

.stat-card{
    background:white;

    padding:25px;

    border-radius:20px;

    box-shadow:0 6px 25px rgba(0,0,0,0.04);

    border:1px solid #edf0f5;
}

.stat-card h3{
    font-size:28px;

    margin-bottom:10px;
}

.stat-card p{
    color:#6b7280;
}

.green h3{
    color:#10b981;
}

/* MONTH SECTION */

.month-section{
    display:flex;

    gap:30px;

    margin-bottom:50px;
}

.month-card{
    display:flex;
    flex-direction:column;
    align-items:center;

    gap:12px;
}

.circle{
    width:110px;
    height:110px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:22px;
    font-weight:700;
}

.profit .circle{
    background:rgba(16,185,129,0.12);

    border:8px solid #10b981;

    color:#10b981;
}

.loss .circle{
    background:rgba(239,68,68,0.10);

    border:8px solid #ef4444;

    color:#ef4444;
}

/* TABLE */

.table-wrapper{
    background:white;

    border-radius:24px;

    padding:30px;

    box-shadow:0 6px 25px rgba(0,0,0,0.04);

    border:1px solid #edf0f5;
}

.table-header{
    font-size:24px;
    font-weight:600;

    margin-bottom:25px;
}

table{
    width:100%;

    border-collapse:collapse;
}

thead{
    background:#f9fafb;
}

th{
    text-align:left;

    padding:18px;

    font-size:14px;

    color:#6b7280;
}

td{
    padding:20px 18px;

    border-top:1px solid #f1f5f9;
}

.profit-text{
    color:#10b981;
    font-weight:600;
}

.loss-text{
    color:#ef4444;
    font-weight:600;
}

.status{
    padding:8px 14px;

    border-radius:30px;

    font-size:12px;
    font-weight:700;
}

.profit-badge{
    background:rgba(16,185,129,0.12);
    color:#10b981;
}

.loss-badge{
    background:rgba(239,68,68,0.10);
    color:#ef4444;
}
