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

body{
    font-family:"Inter","Segoe UI",sans-serif;
    background:
    radial-gradient(circle at top left,#1e293b 0%,#0f172a 40%,#020617 100%);
    min-height:100vh;
    color:#ffffff;
    padding:40px 18px;
    overflow-x:hidden;
}

/* =========================
PAGE TITLE
========================= */
h1{
    text-align:center;
    font-size:42px;
    font-weight:800;
    margin-bottom:45px;
    letter-spacing:-1px;
    color:#ffffff;
    text-shadow:0 4px 20px rgba(255,255,255,0.08);
}

/* =========================
CONTAINER
========================= */
.notes-container{
    max-width:980px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* =========================
CARD
========================= */
.note-card{
    position:relative;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-radius:22px;
    padding:24px 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    overflow:hidden;
    transition:0.35s ease;
    box-shadow:
    0 10px 40px rgba(0,0,0,0.35);
}

/* Glow Effect */
.note-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:80%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );
    transition:0.8s;
}

.note-card:hover::before{
    left:130%;
}

.note-card:hover{
    transform:translateY(-5px) scale(1.01);
    border-color:rgba(59,130,246,0.35);
    box-shadow:
    0 20px 60px rgba(37,99,235,0.18);
}

/* =========================
LEFT SIDE
========================= */
.note-left{
    display:flex;
    align-items:center;
    gap:22px;
}

/* =========================
NUMBER BOX
========================= */
.note-no{
    min-width:54px;
    height:54px;
    border-radius:16px;
    background:linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    color:#ffffff;
    box-shadow:
    0 10px 25px rgba(37,99,235,0.35);
}

/* =========================
SUBJECT TITLE
========================= */
.note-title{
    font-size:18px;
    font-weight:600;
    line-height:1.5;
    color:#f8fafc;
    max-width:550px;
}

/* =========================
STATUS
========================= */
.note-status{
    display:flex;
    align-items:center;
}

/* =========================
BUTTON BASE
========================= */
.note-btn{
    text-decoration:none;
    border:none;
    outline:none;
    padding:12px 22px;
    border-radius:14px;
    font-size:14px;
    font-weight:700;
    letter-spacing:0.3px;
    transition:0.25s ease;
    display:flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
}

/* =========================
ACTIVE BUTTON
========================= */
.note-btn.active{
    background:linear-gradient(
        135deg,
        #22c55e,
        #16a34a
    );
    color:#ffffff;
    box-shadow:
    0 10px 25px rgba(34,197,94,0.3);
}

.note-btn.active:hover{
    transform:translateY(-2px);
    box-shadow:
    0 16px 35px rgba(34,197,94,0.45);
}

/* =========================
COMING SOON
========================= */
.note-btn.disabled{
    background:rgba(255,255,255,0.08);
    color:#94a3b8;
    border:1px solid rgba(255,255,255,0.08);
    cursor:not-allowed;
}

/* =========================
MOBILE
========================= */
@media(max-width:768px){

    body{
        padding:25px 14px;
    }

    h1{
        font-size:28px;
        margin-bottom:30px;
    }

    .note-card{
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
        padding:22px;
    }

    .note-left{
        width:100%;
    }

    .note-title{
        font-size:16px;
    }

    .note-status{
        width:100%;
    }

    .note-btn{
        width:100%;
    }
}