
.body, html {
    height: 100%;
    margin: 0;
    overflow-y: auto; /* Page full-ah scroll aaga */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    font-family: system-ui, -apple-system, sans-serif;
}

}
.login-card {
    width: 100%;
    max-width: 28rem;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 1rem;
    color: #fbbf24;
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.subtitle {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.error-box {
    background-color: rgba(244, 63, 94, 0.2);
    border: 1px solid #f43f5e;
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

.input-container {
    position: relative;
}

.input-container input {
    width: 100%;
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    font-size: 0.875rem;
    color: #ffffff;
    outline: none;
    transition: all 0.2s;
}

.input-container input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}

.btn-submit {
    width: 100%;
    background-color: #f59e0b;
    color: #020617;
    font-weight: 800;
    padding: 0.875rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #fbbf24;
}

/*admin_dashboard*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 16rem;
    background-color: #090d16;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    border-right: 1px solid #1e293b;
    height: 100%;
}

.sidebar-brand {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.2s;
}

.nav-link.active {
    background-color: #f59e0b;
    color: #020617;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

.nav-link:hover:not(.active) {
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.6);
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #1e293b;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #f87171;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(244, 63, 94, 0.2);
    transition: all 0.2s;
}

.logout-btn:hover {
    color: #ffffff;
    background-color: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.4);
}

/* Main Content Area */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background-color: #0b132b;
}

.container {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.header h1 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.025em;
}

.header p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Stats Cards Grid */
.stats-grid, .actions-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid, .actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.stat-card {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-badge {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.badge-amber { background-color: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-sky { background-color: rgba(14, 165, 233, 0.2); color: #38bdf8; }

.stat-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Action Cards */
.action-card {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
}

.action-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.action-card.notice-card:hover { border-color: rgba(245, 158, 11, 0.5); }
.action-card.staff-card:hover { border-color: rgba(14, 165, 233, 0.5); }

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.2s;
}

.notice-card:hover .card-title { color: #fbbf24; }
.staff-card:hover .card-title { color: #38bdf8; }

.card-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.card-link {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notice-card .card-link { color: #fbbf24; }
.staff-card .card-link { color: #38bdf8; }









/* =========================================
   MOBILE RESPONSIVE DESIGN
   Laptop design remains unchanged
========================================= */

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        min-height: 100%;
        overflow-x: hidden;
    }

    .app-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100vh;
    }

    /* Sidebar becomes top navigation */
    .sidebar {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 12px !important;
    }

    .sidebar-nav,
    .sidebar-menu {
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .menu-item,
    .nav-link,
    .nav-item {
        flex: 1 1 auto;
        min-width: 110px;
        font-size: 14px !important;
        padding: 10px !important;
        text-align: center;
    }

    /* Main content */
    .main-wrapper-whiteboard,
    .wb-main {
        width: 100% !important;
        min-width: 0 !important;
        padding: 18px 10px !important;
        overflow-x: hidden !important;
    }

    .page-title-whiteboard,
    .wb-title {
        font-size: 22px !important;
        margin-bottom: 16px !important;
        text-align: center;
        width: 100%;
    }

    /* Table */
    .whiteboard-card,
    .wb-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }

    .custom-whiteboard-table,
    .wb-table {
        width: 100% !important;
        min-width: 420px;
        table-layout: auto;
    }

    .custom-whiteboard-table th,
    .wb-th {
        padding: 12px 6px !important;
        font-size: 12px !important;
    }

    .custom-whiteboard-table td,
    .wb-td {
        padding: 12px 6px !important;
        font-size: 13px !important;
    }

    .day-name,
    .day-text,
    .staff-names,
    .staff-text {
        font-size: 13px !important;
    }

    .day-date,
    .date-text {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 380px) {
    .main-wrapper-whiteboard,
    .wb-main {
        padding: 12px 6px !important;
    }

    .page-title-whiteboard,
    .wb-title {
        font-size: 19px !important;
    }

    .custom-whiteboard-table,
    .wb-table {
        min-width: 390px;
    }
}














/*commend*/
/* =========================================================
   DUTY COMMAND ONLY
   Existing Dashboard CSS is NOT changed
   ========================================================= */

.command-feature {
    width: 100%;
    margin-top: 35px;
    margin-bottom: 35px;
}

.command-feature-header {
    background: #1e293b;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
}

.command-feature-header h2 {
    color: #ffffff !important;
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
}

.command-feature-header p {
    color: #94a3b8 !important;
    margin: 0;
    font-size: 14px;
}


/* SUCCESS / ERROR */

.command-message {
    padding: 13px 18px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 600;
}

.command-message.success {
    background: #064e3b;
    color: #a7f3d0 !important;
}

.command-message.error {
    background: #7f1d1d;
    color: #fecaca !important;
}


/* STAFF LIST */

.command-staff-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}


/* EACH STAFF */

.command-staff-row {
    width: 100%;
    box-sizing: border-box;

    background: #1e293b;

    padding: 14px 16px;

    border-radius: 10px;

    display: grid;

    grid-template-columns:
        45px
        70px
        minmax(180px, 1fr)
        180px
        140px;

    align-items: center;

    gap: 15px;

    border: 1px solid rgba(255,255,255,0.05);
}


/* CHECKBOX */

.command-select input {
    width: 18px;
    height: 18px;

    cursor: pointer;
}


/* TABLE */

.command-table {
    color: #38bdf8 !important;

    font-size: 16px;

    font-weight: 800;

    text-align: center;
}


/* STAFF NAME */

.command-name strong {
    display: block;

    color: #ffffff !important;

    font-size: 15px;
}

.command-name small {
    display: block;

    color: #94a3b8 !important;

    font-size: 12px;

    margin-top: 4px;
}


/* DUTY */

.command-duty {
    color: #e2e8f0 !important;

    font-size: 14px;

    font-weight: 600;
}

.command-duty small {
    display: block;

    color: #94a3b8 !important;

    font-size: 12px;

    margin-top: 4px;
}


/* PIN */

.command-pin {
    width: 100%;

    box-sizing: border-box;

    height: 40px;

    padding: 8px 10px;

    background: #0f172a !important;

    color: #ffffff !important;

    border: 1px solid #475569 !important;

    border-radius: 7px;

    outline: none;

    font-size: 14px;
}

.command-pin::placeholder {
    color: #94a3b8 !important;
}

.command-pin:focus {
    border-color: #38bdf8 !important;
}


/* BUTTON AREA */

.command-action {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;

    flex-wrap: wrap;
}


/* SEND BUTTON */

.command-button {
    border: none;

    padding: 12px 20px;

    background: #0284c7;

    color: #ffffff !important;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}

.command-button:hover {
    background: #0369a1;
}


/* STATUS */

.command-status {
    display: inline-flex;

    align-items: center;

    padding: 12px 18px;

    background: #334155;

    color: #ffffff !important;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}

.command-status:hover {
    background: #475569;
}


/* CREATED COMMAND */

.command-created {
    margin-top: 18px;

    padding: 18px;

    background: #1e293b;

    border-radius: 10px;
}

.command-created strong {
    color: #ffffff !important;

    font-size: 16px;
}

.command-created p {
    color: #94a3b8 !important;

    margin: 7px 0 12px;
}

.command-created input {
    width: 100%;

    box-sizing: border-box;

    padding: 11px;

    background: #0f172a !important;

    color: #38bdf8 !important;

    border: 1px solid #475569;

    border-radius: 7px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .command-staff-row {
        grid-template-columns:
            40px
            60px
            1fr;
    }

    .command-duty {
        grid-column: 3;
    }

    .command-pin {
        grid-column: 3;
    }
}































/*duty_board*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 16rem;
    background-color: #090d16;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    border-right: 1px solid #1e293b;
    height: 100%;
}

.sidebar-brand {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.2s;
}

.nav-link.active {
    background-color: #f59e0b;
    color: #020617;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

.nav-link:hover:not(.active) {
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.6);
}




/* Background & Global Styles */
body.wb-body {
    background-color: #0b132b;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background-color: #0b132b;
    border-right: 1px solid #1c2d59;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    align-items: center;
    padding: 25px 20px;
    gap: 12px;
}

.sidebar-header .logo-icon {
    font-size: 24px;
    color: #3a86ff;
}

.sidebar-header h2 {
    font-size: 20px;
    color: #ffffff;
    margin: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: #a0aec0;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-item:hover, .nav-item.active {
    background-color: #0096c7;
    color: #ffffff;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    padding: 0 20px 20px 20px;
    text-transform: uppercase;
}

/* White Board Main Container (Exact Image Style) */
.main-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    width: 88%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 65px;
    gap: 15px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.6);
}

/* Individual Table Box Design (Dark Blue color matching image) */
.box {
    background-color: #071330;
    color: #ffffff;
    padding: 12px 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid #1c2d59;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
}

.box:hover {
    background-color: #0b2545;
    transform: scale(1.02);
}

.box span {
    font-size: 12px;
    color: #4ea8de;
    margin-top: 2px;
}





.header {
    background-color: #0b132b;
    border: 1px solid #1e293b;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 25px;
    margin-bottom: 25px;
    text-transform: uppercase;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    color: #f8fafc;
}
/* Specific Grid Positions matching the exact image layout */
.t-1  { grid-column: 1; grid-row: 1; }
.t-2  { grid-column: 2; grid-row: 1; }
.t-3  { grid-column: 3; grid-row: 1; }
.t-4  { grid-column: 4; grid-row: 1; }

.t-5  { grid-column: 1; grid-row: 2; }
.t-11 { grid-column: 3; grid-row: 2; }
.t-12 { grid-column: 4; grid-row: 2; }

.t-6  { grid-column: 1; grid-row: 3; }
.t-13 { grid-column: 4; grid-row: 3; }

.t-7  { grid-column: 1; grid-row: 4; }
.t-14 { grid-column: 4; grid-row: 4; }

.t-8  { grid-column: 1; grid-row: 5; }
.t-15 { grid-column: 4; grid-row: 5; }

.t-9  { grid-column: 1; grid-row: 6; }
.t-10 { grid-column: 2; grid-row: 6; }
.t-16 { grid-column: 4; grid-row: 6; }

.t-17 { grid-column: 4; grid-row: 7; }




/* Modal Popup Styling for Clickable Email */
.custom-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    justify-content: center; 
    align-items: center;
}

.modal-content {
    background-color: #071330;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 320px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #1c2d59;
    text-align: left;
    position: relative;
}

.modal-content h3 {
    margin-top: 0;
    color: #38bdf8;
    font-size: 18px;
    border-bottom: 1px solid #1c2d59;
    padding-bottom: 8px;
}

.modal-content p {
    margin: 10px 0;
    font-size: 14px;
}

.modal-content a.modal-email {
    color: #38bdf8;
    text-decoration: underline;
    word-break: break-all;
    cursor: pointer;
}

.modal-content a.modal-email:hover {
    color: #93c5fd;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}



















































































/*notice*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 16rem;
    background-color: #090d16;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    border-right: 1px solid #1e293b;
    height: 100%;
}

.sidebar-brand {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.2s;
}

.nav-link.active {
    background-color: #f59e0b;
    color: #020617;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

.nav-link:hover:not(.active) {
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.6);
}

/* Main Content Area */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background-color: #0b132b;
}

.container {
    max-width: 56rem;
    margin: 0 auto;
}

/* Header Box */
.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(15, 23, 42, 0.9);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 2rem;
}

.header-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-sub {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.btn-timetable {
    background-color: #1e293b;
    color: #38bdf8;
    font-weight: 700;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-timetable:hover {
    background-color: #334155;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Notice Cards */
.notice-card {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
}

.badge-default { background-color: #1e293b; color: #cbd5e1; }
.badge-urgent { background-color: rgba(244, 63, 94, 0.15); color: #f87171; }
.badge-general { background-color: rgba(14, 165, 233, 0.15); color: #38bdf8; }

.notice-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.notice-body {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reactions-group {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #1e293b;
}

.react-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 0.375rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid #1e293b;
    font-size: 0.75rem;
    cursor: pointer;
}
/* Notice Card */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b1329;
    color: #ffffff;
}

/* App Main Flex Layout */
.app-layout {
    display: flex;
    width: 100vw;
    min-height: 100vh;
}

/* SIDEBAR STYLING */
.sidebar {
    width: 260px;
    background-color: #060b18;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid #1e293b;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #38bdf8;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 32px;
    padding: 0 12px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.nav-item.active {
    background-color: #0284c7;
    color: #ffffff;
}

/* MAIN CONTENT AREA */
.main-wrapper-whiteboard {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
}

.container-notice {
    max-width: 900px;
    margin: 0 auto;
}

.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.header-title {
    font-size: 24px;
    color: #f59e0b;
    margin-bottom: 6px;
}

.header-sub {
    color: #94a3b8;
    font-size: 14px;
}

.btn-timetable {
    background-color: #0284c7;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.section-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: #ffffff;
}

/* NOTICE CARD STYLING */
.notice-card {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
    transition: border-color 0.2s;
}

.notice-card:hover {
    border-color: #334155;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid transparent;
}

.badge-default { background-color: #1e293b; color: #cbd5e1; border-color: #334155; }
.badge-urgent { background-color: rgba(244, 63, 94, 0.15); color: #f87171; border-color: rgba(244, 63, 94, 0.3); }
.badge-general { background-color: rgba(14, 165, 233, 0.15); color: #38bdf8; border-color: rgba(14, 165, 233, 0.3); }

.notice-time {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.notice-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.notice-body {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* REACTION BUTTONS */
.reactions-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #1e293b;
}

.react-form {
    display: inline-block;
}

.react-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 0.375rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid #1e293b;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.react-btn:hover.like-btn { background-color: rgba(14, 165, 233, 0.2); color: #38bdf8; }
.react-btn:hover.heart-btn { background-color: rgba(236, 72, 153, 0.2); color: #f472b6; }
.react-btn:hover.useful-btn { background-color: rgba(16, 185, 129, 0.2); color: #34d399; }

.count-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-weight: 700;
}

.count-sky { background-color: rgba(14, 165, 233, 0.2); color: #7dd3fc; }
.count-pink { background-color: rgba(236, 72, 153, 0.2); color: #f472b6; }
.count-emerald { background-color: rgba(16, 185, 129, 0.2); color: #6ee7b7; }

.empty-state {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    color: #94a3b8;
}



/*post_notice*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 16rem;
    background-color: #090d16;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    border-right: 1px solid #1e293b;
    height: 100%;
}

.sidebar-brand {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.2s;
}

.nav-link.active {
    background-color: #f59e0b;
    color: #020617;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

.nav-link:hover:not(.active) {
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.6);
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #1e293b;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #f87171;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(248, 113, 113, 0.2);
    transition: all 0.2s;
}

.btn-logout:hover {
    color: #ffffff;
    background-color: rgba(239, 68, 68, 0.2);
    border-color: rgba(248, 113, 113, 0.4);
}

/* Main Content Area */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background-color: #0b132b;
}

.container {
    max-width: 42rem;
    margin: 0 auto;
}

/* Alerts */
.alert-success {
    background-color: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.alert-danger {
    background-color: rgba(244, 63, 94, 0.2);
    border: 1px solid #f43f5e;
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Form Card */
.form-card {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: #f59e0b;
    color: #020617;
    font-weight: 800;
    padding: 0.875rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.btn-submit:hover {
    background-color: #fbbf24;
}
/*add_staff*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b132b;
    color: #f8fafc;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 16rem;
    background-color: #090d16;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    border-right: 1px solid #1e293b;
}

.sidebar-brand {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.2s;
}

.nav-link.active {
    background-color: #0284c7;
    color: #020617;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.2);
}

.nav-link:hover:not(.active) {
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.6);
}

/* Add Staff Card & Form Styling */
.main-wrapper {
    flex-grow: 1;
    background-color: #030a1f;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.card-box {
    background-color: #071330;
    border: 1px solid #1c2d59;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.card-box h2 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background-color: #0b193c;
    border: 1px solid #1c2d59;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 180, 248, 0.15);
}

.btn-submit {
    width: 100%;
    background-color: #38bdf8;
    color: #071330;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #7dd3fc;
}

.success-msg {
    background-color: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #4ade80;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 600;
}

.error-msg {
    background-color: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 600;
}







/*admin.staff.css*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b132b;
    color: #f8fafc;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 16rem;
    background-color: #090d16;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    border-right: 1px solid #1e293b;
}




/* Sidebar Layout Fix */
.app-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    width: 260px;
    background: #0f172a;
    color: #fff;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.wb-main {
    flex-grow: 1;
    padding: 25px;
    background: #f3f4f6;
    min-width: 0;
}
.sidebar-brand {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.2s;
}

.nav-link.active {
    background-color: #0284c7;
    color: #020617;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.2);
}

.nav-link:hover:not(.active) {
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.6);
}

/* --- Admin Table & Manage Staffs Styling --- */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.admin-table th, .admin-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    color: #111827 !important; /* எழுத்துக்கள் தெளிவாக கறுப்பு நிறத்தில் தெரிய */
}
.admin-table th {
    background: #1e293b;
    color: #fff !important;
}
.delete-btn {
    color: #fff;
    background: #ef4444;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}
.delete-btn:hover {
    background: #dc2626;
}





admin command
* { box-sizing: border-box; }
body {
    font-family: Arial, sans-serif;
    background: #0b1530;
    color: #fff;
    margin: 0;
    padding: 30px;
}
.container {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    color: #111;
    padding: 25px;
    border-radius: 16px;
}
h2 { margin-top: 0; color: #0b1530; }
.info {
    background: #eef4ff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 18px;
    color: #111;
}
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}
.staff {
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
}
.staff label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.pin {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
}
button {
    margin-top: 20px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #087fce;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}
button:hover { opacity: .9; }
.success {
    margin-top: 20px;
    background: #e7f8eb;
    color: #111;
    padding: 15px;
    border-radius: 10px;
}
.linkbox {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
}
.small { color: #666; font-size: 13px; }
a { color: #087fce; font-weight: bold; }
@media (max-width: 600px) {
    body { padding: 12px; }
    .container { padding: 16px; }
}
/* Intha code-ai style.css file-oda kadaisiyil (bottom) pottaalum sari thaan */
.app-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.main-wrapper-whiteboard {
    flex: 1;
    height: 100vh;
    overflow-y: auto !important;
}





























/*staff login*/
/* Staff Login Card Styles */
.wb-body {
    background-color: #0f172a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f8fafc;
    margin: 0;
    padding: 0;
}
.app-layout {
    display: flex;
    height: 100vh;
}
.sidebar {
    width: 260px;
    background-color: #1e293b;
    border-right: 1px solid #334155;
    display: flex;
    flex-direction: column;
}
.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #38bdf8;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
}
.nav-item:hover, .nav-item.active {
    background-color: #0284c7;
    color: #ffffff;
}
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #0f172a;
    overflow-y: auto;
}
.header {
    background-color: #1e293b;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #334155;
    font-weight: 600;
}
.pin-card {
    background-color: #ffffff;
    color: #1e293b;
    padding: 40px;
    border-radius: 16px;
    width: 420px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.pin-icon {
    font-size: 32px;
    color: #0f172a;
    background: #f1f5f9;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
}
.pin-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #0f172a;
}
.pin-card .sub {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 25px;
}
.pin-input {
    position: relative;
    margin-bottom: 20px;
}
.pin-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}
.pin-input input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}
.pin-input input:focus {
    border-color: #0284c7;
}
.pin-btn {
    width: 100%;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.pin-btn:hover {
    background-color: #1e293b;
}
.pin-foot {
    margin-top: 20px;
    font-size: 12px;
    color: #64748b;
}
.pin-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Eye Icon Styling */
.pin-input {
    position: relative;
    display: flex;
    align-items: center;
}
.pin-input input {
    width: 100%;
    padding-right: 40px;
}
.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: #64748b;
}
.toggle-password:hover {