:root{

    --anthub-green:#8dcc35;
    --anthub-black:#000000;
    --anthub-bg:#0b0b0b;
    --anthub-card:#181818;
    --anthub-text:#ffffff;
    --anthub-muted:#9a9a9a;

}
body{

    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:var(--anthub-bg);
    color:var(--anthub-text);

}

.sidebar{
    position:fixed;
    left:0;
    top:0;
    width:230px;
    height:100vh;
    background:var(--anthub-black);
    padding:20px;
    box-sizing:border-box;
}

.sidebar h1{
    color:var(--anthub-green);
    margin-bottom:5px;
}

.sidebar h2{
    color:var(--anthub-green);
    margin-bottom:35px;
}

.sidebar p{
    color:#aaa;
    font-size:12px;
    margin-bottom:30px;
}

.sidebar a{
    display:flex;
    align-items:center;
    gap:12px;
    color:#ffffff;
    text-decoration:none;
    padding:14px 16px;
    margin-bottom:10px;
    border-radius:12px;
    transition:all .25s ease;
    font-size:15px;
    font-weight:500;
}

.sidebar a:hover{

    background:#181818;
    color:var(--anthub-green);

}

.content{
    margin-left:250px;
    padding:30px;
}

/* Dashboard Cards */

.stat-card{
    background:var(--anthub-card);
    border:none;
    border-radius:16px;
    color:white;
    text-align:center;
    padding:25px;
    transition:.25s;
}

.stat-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.4);
}

.stat-card h5{
    color:var(--anthub-green)
}

/* General Panels */

.panel,
.card{
    background:#2d2d2d;
    border:none;
    border-radius:16px;
    color:white;
    padding:20px;
    margin-bottom:20px;
}

/* Page Header */

.page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

/* Buttons */

.add-btn{

    background:var(--anthub-green);

    color:#ffffff;

    border:none;

    padding:12px 22px;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:.25s;

}


.add-btn:hover{

    background:var(--anthub-green);

    transform:translateY(-2px);

}

.add-btn:hover{
    background:var(--anthub-green);
}

.save-btn{
    width:100%;
    padding:14px;
    background:var(--anthub-green);
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:.25s;
}

.save-btn:hover{
    background:var(--anthub-green);
}

/* Empty State */

.empty-state{
    background:#2b2b2b;
    border-radius:15px;
    padding:60px;
    text-align:center;
    color:#cccccc;
}

.empty-state h2{
    font-size:60px;
    margin:0;
}

.empty-state h3{
    margin-top:10px;
    color:white;
}

.empty-state p{
    max-width:450px;
    margin:15px auto 0;
    line-height:1.6;
}

/* Modal */

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

.modal-content{
    background:#2b2b2b;
    width:500px;
    margin:80px auto;
    padding:30px;
    border-radius:15px;
    position:relative;
}

.close{
    position:absolute;
    top:15px;
    right:20px;
    font-size:30px;
    cursor:pointer;
}

/* Form Inputs */

.modal input,
.modal select{
    width:100%;
    padding:12px;
    margin-top:6px;
    margin-bottom:18px;
    background:#3b3b3b;
    color:white;
    border:none;
    border-radius:8px;
    box-sizing:border-box;
}
.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}


.stat-number{

    font-size:40px;

    font-weight:bold;

    color:var(--anthub-green);

    margin:15px 0;

}


.stat-card p:last-child{

    color:#999;

}


.welcome-panel{

    margin-top:30px;

}


.status-row{

    display:flex;

    justify-content:space-between;

    padding:15px 0;

    border-bottom:1px solid rgba(255,255,255,.05);

}


.status-offline{

    color:#999;

}


@media(max-width:900px){

    .dashboard-grid{

        grid-template-columns:1fr 1fr;

    }

}


@media(max-width:600px){

    .dashboard-grid{

        grid-template-columns:1fr;

    }

}
.colony-grid{

display:grid;

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

gap:25px;

}


.colony-card{

background:#2d2d2d;

padding:25px;

border-radius:18px;

transition:.25s;

}


.colony-card:hover{

transform:translateY(-5px);

box-shadow:0 10px 25px rgba(0,0,0,.35);

}


.colony-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:25px;

}


.colony-header h3{

margin:0;

font-size:20px;

}


.status{

background:var(--anthub-green);

color:#111;

padding:5px 12px;

border-radius:20px;

font-size:12px;

font-weight:bold;

}


.colony-info{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:15px;

}


.colony-info div{

background:#1f1f1f;

padding:15px;

border-radius:12px;

text-align:center;

}


.colony-info small{

display:block;

color:#999;

margin-bottom:8px;

}


.colony-info strong{

font-size:18px;

}


.colony-actions{

margin-top:25px;

}


.delete-btn{

background:#cc3333;

color:white;

border:none;

padding:8px 16px;

border-radius:8px;

cursor:pointer;

font-size:13px;

}


.delete-btn:hover{

background:#a82828;

}
.status-text{

    font-size:22px;

}


.nest-text{

    font-size:18px;

}


.text-muted{

    color:#999;

}


.panel h2{

    margin-top:0;

}


.status-row{

    display:flex;

    justify-content:space-between;

    padding:15px 0;

    border-bottom:1px solid rgba(255,255,255,.05);

}
/* =========================
   Colony Profile Styling
========================= */


.colony-profile-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;

}


.colony-profile-header h2{

    font-size:32px;
    margin:0;

}


.profile-subtitle{

    color:#999;
    margin-top:8px;

}



.profile-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:30px;

}



.profile-card{

    background:#1c2833;
    padding:25px;
    border-radius:18px;
    text-align:center;
    transition:.25s;

}



.profile-card:hover{

    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.35);

}



.profile-card h3{

    color:var(--anthub-green);
    font-size:14px;
    margin-bottom:15px;

}



.profile-value{

    font-size:32px;
    font-weight:bold;

}



.large-panel{

    background:#252525;
    border-radius:18px;
    padding:30px;
    margin-bottom:25px;

}



.large-panel h2{

    margin-top:0;
    margin-bottom:25px;

}



.note-box{

    background:#1c2833;
    padding:15px;
    border-radius:12px;
    margin-bottom:15px;

}



.note-date{

    color:var(--anthub-green);
    font-weight:bold;

}



textarea{

    width:100%;
    min-height:100px;
    background:#1f1f1f;
    color:white;
    border:none;
    border-radius:12px;
    padding:15px;
    resize:none;
    box-sizing:border-box;

}


textarea:focus,
input:focus{

    outline:2px solid var(--anthub-green)

}
.logo{
    width:190px;
    display:block;
    margin:0 auto 35px auto;
}
.view-btn{

    display:block;
    text-align:center;
    background:#8dcc35;
    color:#000000;
    padding:12px 20px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.25s;

}


.view-btn:hover{

    background:#ffffff;
    color:#000000;

}
/* View Colony Button */

/* Colony Action Buttons */

.view-colony-btn,
.delete-btn{

    display:inline-block;
    width:120px;
    text-align:center;
    padding:10px 0;
    border-radius:8px;
    font-weight:600;
    font-size:14px;
    text-decoration:none;
    transition:.25s;
    box-sizing:border-box;

}


/* View Colony */

.view-colony-btn{

    background:#8dcc35;
    color:#000000 !important;

}


.view-colony-btn:hover{

    background:#ffffff;
    color:#000000 !important;

}


/* Delete */

.delete-btn{

    background:#444444;
    color:#ffffff;
    border:1px solid #666666;
    cursor:pointer;

}


.delete-btn:hover{

    background:#cc5555;
    border-color:#cc5555;

}
.discovery-form input,
.discovery-form textarea{

    width:100%;
    padding:14px;

    background:#1f1f1f;

    color:white;

    border:none;

    border-radius:12px;

    margin-top:8px;

    margin-bottom:20px;

    box-sizing:border-box;

    font-size:15px;

}



.discovery-form textarea{

    height:140px;

    resize:none;

}



.discovery-form label{

    color:#52d869;

    font-weight:600;

}



.form-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}



@media(max-width:700px){

    .form-grid{

        grid-template-columns:1fr;

    }

}
/* AntHub Form Styling */

.discovery-form input,
.discovery-form textarea,
.discovery-form select {

    width:100%;

    background:#151515;

    border:1px solid #333;

    color:white;

    padding:15px 18px;

    border-radius:14px;

    font-size:15px;

    font-family:Poppins, Arial, sans-serif;

    outline:none;

    transition:.25s;

    box-sizing:border-box;

}


.discovery-form input:focus,
.discovery-form textarea:focus,
.discovery-form select:focus {

    border-color:var(--anthub-green);

    box-shadow:0 0 12px rgba(82,216,105,.25);

}



.discovery-form textarea {

    min-height:160px;

    resize:vertical;

}



.discovery-form label {

    display:block;

    margin-bottom:8px;

    color:white;

    font-weight:600;

}


.discovery-form input::placeholder,
.discovery-form textarea::placeholder {

    color:#777;

}
/* AntHub Date Picker Styling */

input[type="date"] {

    width:220px;

    background:#151515;

    border:1px solid #333;

    color:white;

    padding:12px 15px;

    border-radius:12px;

    font-size:15px;

    font-family:Poppins, Arial, sans-serif;

    outline:none;

    box-sizing:border-box;

}


/* Calendar icon */

input[type="date"]::-webkit-calendar-picker-indicator {

    filter:invert(1);

    cursor:pointer;

}


/* When selected */

input[type="date"]:focus {

    border-color:var(--anthub-green);

    box-shadow:0 0 12px rgba(82,216,105,.25);

}
/* Colony Notes Form Spacing */

.note-date-group {

    margin-bottom:30px;

}


.note-date-group label,
.note-text-group label {

    display:block;

    margin-bottom:10px;

    color:white;

    font-weight:600;

}


.note-date-group input {

    width:220px;

    height:45px;

}


.note-text-group {

    margin-top:10px;

}


.note-text-group textarea {

    width:100%;

    min-height:180px;

    padding:18px;

    margin-top:5px;

    border-radius:14px;

    box-sizing:border-box;

}


.note-text-group textarea::placeholder {

    color:#777;

}


.note-text-group + .add-btn {

    margin-top:25px;

}
.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
    margin-top:20px;
}

.info-item{
    background:#1d1d1d;
    border:1px solid #2f2f2f;
    border-radius:10px;
    padding:18px;
}

.info-item strong{
    color: var(--anthub-green);
    font-weight: 600;
}
/* ===========================
   Mobile Layout
=========================== */

@media (max-width: 768px){

    .sidebar{

        position:relative;
        width:100%;
        height:auto;
        padding:20px;

    }

    .logo{

        width:160px;

    }

    .sidebar nav{

        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
        margin-top:20px;

    }

    .sidebar a{

        margin:0;
        padding:12px 18px;
        background:#181818;
        border-radius:10px;

    }

    .content{

        margin-left:0;
        padding:20px;

    }

    .page-header{

        flex-direction:column;
        align-items:flex-start;
        gap:15px;

    }

    .profile-grid,
    .colony-info,
    .dashboard-grid,
    .form-grid{

        grid-template-columns:1fr !important;

    }

}