/*CSS Stylesheet*/

@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/*====================================================================================================================*/
/*  global CSS
/*====================================================================================================================*/
/* region global */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
}

body {
    /* Premium deep slate-navy radial gradient so the center naturally glows lighter */
    background: radial-gradient(circle at top, #2b4566 10%, #16253b 100%);
    background-attachment: fixed;
    color: #cbd5e1;
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 2rem 5rem 2rem;
    box-sizing: border-box;
    position: relative;
}

.page-header h2 {
    text-transform: uppercase;
    font-size: 2.4rem;
    font-weight: 800;
    color: #cbd5e1;
    margin: 0 0 2rem 0;
    text-align: center;
    letter-spacing: -0.05rem;
}


.navbar {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 2.5rem;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.navbar ul {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    padding: 0 2rem 0 0;
    margin: 0;
    list-style: none;
}

.navbar ul li {
    list-style: none;
    list-style-type: none;
}

.navbar li a {
    display: inline-block;
    font-family: Arial, sans-serif;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.navbar li a:hover {
    color: #ffffff;
    transform: translateY(-0.1rem);
}

/* endregion */

/*====================================================================================================================*/
/*  index.html CSS
/*====================================================================================================================*/
/* region index.html */

.main-dash-card {
    background: rgba(20, 27, 41, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.5rem;
    padding: 3.5rem;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    box-sizing: border-box;
}

.in-gr-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.in-gr-2 .d3v-logo {
    width: 380px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 8px rgba(15, 23, 42, 0.9));
    opacity: 0.9;
}

.in-gr-2 h2 {
    margin: 0;
    padding: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.05rem;
    color: #cbd5e1;
}

.in-gr-2 h3 {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #38bdf8;
    margin-top: 0.5rem;
    letter-spacing: 0.025rem;
}

.in-gr-3 {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.in-gr-3 a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 20rem;
    height: 7rem;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.in-gr-3 a.proj-button-mouseover {
    font-size: 1.5rem;
}
.in-gr-3 a:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-0.375rem);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.15);
}
/* endregion */

/*====================================================================================================================*/
/*  pier_66.html CSS
/*====================================================================================================================*/
/* region pier_66.html */

.project-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #cbd5e1;
    margin: 0 0 2rem 0;
    text-align: center;
    letter-spacing: -0.05rem;
}

.quick-nav-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 2rem;
    box-sizing: border-box;
    background: rgba(20, 27, 41, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.quick-nav-card button {
    background-color: rgba(30, 41, 59, 0.4);
    color: #38bdf8;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    width: 100%; /* Spans to fit the grid column perfectly */
    height: 3.5rem; /* Gives them a solid, premium button height */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.quick-nav-card button:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-0.2rem);
}

.phase-codes-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    background: rgba(20, 27, 41, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.phase-codes-card table{
    font-family: Arial, sans-serif;
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
}

.phase-codes-card caption {
    font-size: 1.6rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    text-align: left;
    width: 100%;
    letter-spacing: -0.025rem;
}

.phase-codes-card th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 0.75rem;
    color: #ffffff;
    text-align: left;
}

.phase-codes-card td{
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    padding: 1.1rem 0.75rem;
}

.phase-codes-card td .btn {
    display: flex;
    background-color: rgba(30, 41, 59, 0.4);
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    width: 8rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.phase-codes-card td .btn:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    transform: translateY(-0.2rem);
}

.phase-codes-card td a {
    color: #38bdf8;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: color 0.15s ease, transform 0.15s ease;
}


.phase-codes-card td .btn:hover a {
    color: #ffffff;
}


.phase-codes-card tbody tr:hover:not(.highlight-row) {
    background: rgba(255, 255, 255, 0.01);
}
/* endregion */

/*====================================================================================================================*/
/*  terminal_91.html CSS
/*====================================================================================================================*/
/* region terminal-91.html */

.t91-gr-3 {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 1rem 0;
}

.t91-gr-3 button {
    background-color: rgba(30, 41, 59, 0.4);
    color: #38bdf8;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    width: 20vw;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    padding: 0.5rem 1.75rem;
    margin: 0 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease-in-out;
}

.t91-gr-3 button:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-0.2rem);
}

.t91-gr-4 {
    grid-column: 1 / 4;
    grid-row: 4 / 5;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0.25rem 0;
}

.t91-gr-4 button {
    background-color: rgba(30, 41, 59, 0.4);
    color: #38bdf8;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    width: 20vw;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    padding: 0.5rem 1.75rem;
    margin: 0 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease-in-out;
}

.t91-gr-4 button:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-0.2rem);
}

.t91-gr-5 {
    grid-column: 1 / 4;
    grid-row: 5 / 6;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 1.5rem 0 0 0;
}

.t91-gr-5 table{
    font-family: Arial, sans-serif;
    width: 80vw;
    border-collapse: collapse;
    color: #cbd5e1;
}

.t91-gr-5 caption {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.t91-gr-5 th {
    border-bottom: 2px solid #475569;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem;
    color: #ffffff;
    text-align: left;
}
.t91-gr-5 td{
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    padding: 0.75rem;
}
/* endregion */

/*====================================================================================================================*/
/*  project_dashboard.html CSS
/*====================================================================================================================*/
/* region project_dashboard.html */

.pd-projects-card {
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.pd-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.pd-card-header .hdr {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.025rem;
    text-transform: uppercase;
}

.pd-card-header h2 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8; /* Signature Neon Blue accent line */
}

.pd-card-header h3 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #94a3b8; /* Muted slate for subtitle text */
}

.pd-projects-card .project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 2rem 0 2rem 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.pd-projects-card .project-card .header {
    display: flex;
    flex-direction: row;
    margin:  0  0 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #94a3b8;
}

.pd-projects-card .project-card .metrics {
    display: flex;
    flex-direction: row;
    padding: 0 0 0 1rem;
    gap: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.pd-projects-card .project-card .metrics .data {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0;
}

/* endregion */

/*--------------------------------------------------------------------------------------------------------------------*/
/*  phasecode_tasks.html CSS
/*--------------------------------------------------------------------------------------------------------------------*/
/* region phasecode_tasks.html */

.pct-tasks-card {
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

/* Card Header Information Branding Block */
.pct-card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;

}

.pct-card-header .title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pct-card-header .title .hdr {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.025rem;
    text-transform: uppercase;
}

.pct-card-header .title h2 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8; /* Signature Neon Blue accent line */
}

.pct-card-header .title h3 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #94a3b8; /* Muted slate for subtitle text */
}

.pct-card-header .task-edit-button button {
    font-family: Arial, sans-serif;
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: #38bdf8;
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    padding: 0.4rem 1.25rem;
    width: 15rem;
    height: 6rem;
    transition: all 0.2s ease-in-out;
}

.pct-card-header .task-edit-button button:hover {
    color: #ffffff;
    background-color: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    transform: translateY(-0.1rem);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* Responsive Fluid Data Layout */
.pct-table-container {
    width: 100%;
    overflow-x: auto;
}

.pct-table-container table {
    font-family: Arial, sans-serif;
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
}

.pct-table-container th {
    border-bottom: 2px solid rgba(71, 85, 105, 0.5);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 0.75rem;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.05em;
}

.pct-table-container td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.pct-table-container td .lock-button {
    text-align: center;
}

.pct-table-container td .lock-button form {
    display: inline-block;
}

.pct-table-container td .lock-button button.is-locked {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.pct-table-container td .button-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

/* Clean Lock & Issues Buttons */
.pct-table-container td .lock-button button,
.pct-table-container .task-issues-button button {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: #cbd5e1;
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    padding: 0.4rem 1.25rem;
    width: 8rem;
    transition: all 0.2s ease-in-out;
}

/* Hover State for both */
.pct-table-container td .lock-button button:hover,
.pct-table-container .task-issues-button button:hover {
    color: #ffffff;
    background-color: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    transform: translateY(-0.1rem);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* Clean Matte Status Buttons */
.pct-table-container td .button-group button {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    padding: 0.4rem 1rem;
    transition: all 0.2s ease-in-out;
    background-image: none !important; /* Disables the 3D glossy gradient completely */
}

/* Inactive State - Muted & Blended */
.pct-table-container td .button-group button.inactive {
    color: #64748b;
    background-color: rgba(30, 41, 59, 0.2);
    opacity: 0.6;
    width: 7.5rem;
}

/* Active: NOT STARTED (Slate Matte Accent) */
.pct-table-container td .button-group button.ns.active {
    color: #f8fafc;
    background-color: rgba(71, 85, 105, 0.4);
    border-color: #94a3b8;
    opacity: 1;
    width: 9rem;
    box-shadow: 0 0 12px rgba(148, 163, 184, 0.2);
}

/* Active: STARTED (Neon Blue Glow Accent) */
.pct-table-container td .button-group button.s.active {
    color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    opacity: 1;
    width: 9rem;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

/* Active: COMPLETED (Neon Green Glow Accent) */
.pct-table-container td .button-group button.c.active {
    color: #4ade80;
    background-color: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    opacity: 1;
    width: 9rem;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.25);
}

.pct-table-container td button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-0.1rem);
}

/* endregion */

/*--------------------------------------------------------------------------------------------------------------------*/
/*  phasecode_dashboard.html CSS
/*--------------------------------------------------------------------------------------------------------------------*/
/* region phasecode_dashboard.html */

.phase-codes-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1800px;
    box-sizing: border-box;
    background: rgba(20, 27, 41, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.phase-codes-card .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    opacity: 0.8;
}

.header button {
    background-color: rgba(30, 41, 59, 0.4);
    color: #38bdf8;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    width: 10rem; /* Spans to fit the grid column perfectly */
    height: 5rem; /* Gives them a solid, premium button height */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.header .display-btn {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(30, 41, 59, 0.4);
    color: #ffffff;
    width: 30rem;
    height: 5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.display-btn .total-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.display-btn .total-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.display-btn .total-value {
    font-size: 1.25rem;
    color: #38bdf8;
    font-weight: 700;
}

.display-btn .total-value.weight-exceeded {
    color: #ef4444;
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.header button:hover, .phase-codes-card td button:hover {
    background-color: rgba(226, 232, 240, 0.15);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-0.2rem);
}


.phase-codes-card table{
    font-family: Arial, sans-serif;
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
}

.phase-codes-card caption {
    font-size: 1.6rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    text-align: left;
    width: 100%;
    letter-spacing: -0.025rem;
}

.phase-codes-card th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 0.75rem;
    color: #ffffff;
    text-align: left;
}

.phase-codes-card td{
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    padding: 1.1rem 0.75rem;
}

.phase-codes-card td select {
    background-color: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Soft premium border */
    border-radius: 0.375rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.phase-codes-card td select:hover,
.phase-codes-card td select:focus {
    border-color: #38bdf8;
    color: #ffffff;
}

.phase-codes-card td select option {
    background-color: #1e293b;
    color: #ffffff;
}

.phase-codes-card td input[type="text"],
.phase-codes-card td input[type="number"],
.phase-codes-card td select {
    background-color: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.phase-codes-card td input[type="text"]:hover,
.phase-codes-card td input[type="number"]:hover,
.phase-codes-card td select:hover,
.phase-codes-card td input[type="text"]:focus,
.phase-codes-card td input[type="number"]:focus,
.phase-codes-card td select:focus {
    border-color: #38bdf8;
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.85);
}


.phase-codes-card td select option {
    background-color: #1e293b;
    color: #ffffff;
}

.phase-codes-card td button {
    background-color: rgba(30, 41, 59, 0.4);
    color: #ffffff;
    opacity: 0.7;
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    width: 7rem; /* Spans to fit the grid column perfectly */
    height: 2.5rem; /* Gives them a solid, premium button height */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.phase-codes-card td button:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-0.2rem);
}

.phase-codes-card tbody tr:hover:not(.highlight-row) {
    background: rgba(255, 255, 255, 0.01);
}

.messages-overlay-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 100%;
    max-width: 500px;
    padding: 0 1.5rem;
    box-sizing: border-box;
    pointer-events: none;
}

.alert-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-radius: 1rem;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    pointer-events: auto;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease;
}

.alert-banner.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.alert-banner.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #bbf7d0;
}

.close-alert-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.6;
    padding: 0 0.5rem;
    transition: opacity 0.2s ease-in-out;
}

.close-alert-btn:hover {
    opacity: 1;
}

.alert-banner.fade-out {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: none;
}

/* endregion */

/*====================================================================================================================*/
/*  task_issues.html
/*====================================================================================================================*/
 /* region task_issues.html */


.ti-issues-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    background: rgba(20, 27, 41, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ti-issues-card table{
    font-family: Arial, sans-serif;
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
}

.ti-issues-card caption {
    font-size: 1.6rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    text-align: left;
    width: 100%;
    letter-spacing: -0.025rem;
}

.ti-issues-card th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 0.75rem;
    color: #ffffff;
    text-align: center;
}

.ti-issues-card td{
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    padding: 1.1rem 0.75rem;
    text-align: center;
}

.ti-issues-card td button {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: #cbd5e1;
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    padding: 0.4rem 1.25rem;
    width: 8rem;
    transition: all 0.2s ease-in-out;
}

.ti-issues-card td button:hover {
    color: #ffffff;
    background-color: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    transform: translateY(-0.1rem);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);

}

.ti-issues-card tbody tr:hover:not(.highlight-row) {
    background: rgba(255, 255, 255, 0.01);
}

/* endregion */

/*====================================================================================================================*/
/*  create_issue.html
/*====================================================================================================================*/
/* region create_issue.html */

.ci-issue-card {
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

/* Card Header Information Branding Block */
.ci-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.ci-card-header .hdr {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.025rem;
    text-transform: uppercase;
}

.ci-card-header h2 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8; /* Signature Neon Blue accent line */
}

.ci-card-header h3 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #94a3b8; /* Muted slate for subtitle text */
}

/* --- Form Layout Controls --- */
.ci-form-body {
    display: flex;
    flex-direction: column;
    gap: 1.75rem; /* Even spacing between input rows */
}

.ci-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- Labels --- */
.ci-form-group label {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8; /* Matching your muted slate subtitle color */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Input & Textarea Elements --- */
.ci-input-field,
.ci-textarea-field {
    width: 100%;
    background: rgba(15, 23, 42, 0.6); /* Slightly darker than card for inset depth */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #f1f5f9; /* Crisp white text matching main header */
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ci-textarea-field {
    resize: vertical;
    min-height: 120px;
}

/* --- Input Placeholder Colors --- */
.ci-input-field::placeholder,
.ci-textarea-field::placeholder {
    color: #475569; /* Darker slate so placeholders don't compete with actual data */
}

/* --- Focus State (The Secret Sauce) --- */
.ci-input-field:focus,
.ci-textarea-field:focus {
    outline: none;
    border-color: #38bdf8; /* Uses your signature neon blue accent line */
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15); /* Soft outer glow */
}

/* --- Action Button --- */
.ci-submit-btn {
    align-self: flex-end; /* Snaps button right aligned with your navbar rhythm */
    background: #38bdf8;
    color: #0f172a; /* Dark text against bright neon background */
    border: none;
    border-radius: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 1rem;
}

.ci-submit-btn:hover {
    background: #7dd3fc; /* Brightens up subtly on hover */
    transform: translateY(-1px);
}

.ci-submit-btn:active {
    transform: translateY(0);
}

/* endregion */

/*====================================================================================================================*/
/*  task_edit_dashboard.html
/*====================================================================================================================*/
/* region task_edit_dashboard.html */

.ted-task-card {
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.ted-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.ted-card-header .hdr {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.025rem;
    text-transform: uppercase;
}

.ted-card-header h2 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8; /* Signature Neon Blue accent line */

}

.ted-task-weight-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.ted-task-weight-card .header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1.25rem;
    color:  #475569;
}

.ted-task-weight-card .task-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 2.5rem;
    width: 100%;
    margin-top: 1.5rem;
}

.ted-task-weight-card .task-grid .column_1 {
    grid-column: 1;
}

.ted-task-weight-card .task-grid .column_2 {
    grid-column: 2;
}

.ted-task-weight-card .task-grid .column_3 {
    grid-column: 3;
}

.ted-task-weight-card table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.ted-task-weight-card th {
    text-align: left;
    font-size: 0.75rem;
    color: #64748b;
    padding-bottom: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ted-task-weight-card td {
    padding: 0.75rem 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.task-weight-input {
    width: 4.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.35rem 0.5rem;
    color: #38bdf8;
    font-family: Arial, sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.task-weight-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
}

.ted-task-weight-card .weight-totals-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.ted-task-weight-card .weight-totals-bar .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.ted-task-weight-card .weight-totals-bar button[type="submit"] {
    background: rgba(56, 189, 248, 0.08);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 0.75rem;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    line-height: 1.2;
}

.ted-task-weight-card .weight-totals-bar button[type="submit"]:hover:not(:disabled) {
    background-color: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.6);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    transform: translateY(-1px);
}

.ted-task-weight-card .weight-totals-bar button[type="submit"]:active:not(:disabled) {
    transform: translateY(1px);
}

.ted-task-weight-card .weight-totals-bar button[type="submit"]:disabled {
    background-color: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    backdrop-filter: blur(4px);
}

/* Style the labels (TOTAL TASKS / CURRENT TOTAL TASK WEIGHT) */
.ted-task-weight-card .weight-totals-bar .col h3:first-child {
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #38bdf8; /* Your signature neon cyan */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin: 0;
}

/* Style the big numbers/values below the labels */
.ted-task-weight-card .weight-totals-bar .col h3:last-child,
.ted-task-weight-card .weight-totals-bar .col #live-total-weight {
    font-family: Arial, sans-serif;
    font-size: 1.8rem; /* Big, pronounced, and bold */
    font-weight: 800;
    color: #f1f5f9; /* Bright, clean silver-white so it pops */
    margin: 0.25rem 0 0 0;
    text-shadow: 0 0 10px rgba(241, 245, 249, 0.1); /* Subtle glow */
}

/* Maintain your red/cyan JS total weight state colors but make them match the bold font sizing */
.ted-task-weight-card .weight-totals-bar .col #live-total-weight {
    font-size: 1.8rem;
    font-weight: 800;
    transition: color 0.25s ease;
}


/* endregion */

/*======================================================================================================================
  pm_dashboard.html
======================================================================================================================*/
/* region pm_dashboard.html */

.card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem 2.5rem 2.5rem 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
}

.card-hdr {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
    font-family: Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #38bdf8;
}

.selected-card-hdr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
    font-family: Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #38bdf8;
}


.project-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 2rem 0 2rem;
    gap: 4rem;
}

.project-row-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    gap: 3rem;
    margin: 0;
    width: 100%;
    max-width: 40%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.project-row-card .project-button {
    width: 100%;
    height: 100%;
    background: transparent; /* Lets the parent glass card background show through */
    border: none;
    outline: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 1.4rem; /* Pronounced readable scale */
    font-weight: 700;
    color: #cbd5e1; /* Smooth silver-slate */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 2rem;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-row-card:hover {
    background: rgba(56, 189, 248, 0.1); /* Glows up with translucent cyan */
    border-color: rgba(56, 189, 248, 0.4); /* Brighter neon blue edge */
    transform: translateY(-4px); /* Moves up smoothly */
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.15); /* Soft neon shadow drop */
}

.project-row-card:hover .project-button {
    color: #ffffff; /* Turns clean white */
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.45); /* Subtle cyber text-glow */
}

.project-row-card:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.1);
}

.tool-btn-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 6rem 0 0 0;
    width: 80%;
    gap: 5rem;
}

.tool-btn-card {
    display: flex;
    flex-direction: column;
    width: 350px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem 2.5rem 2.5rem 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.tool-btn-card button {
    background-color: rgba(30, 41, 59, 0.9);
    color: #38bdf8;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    width: 250px;
    height: 5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.tool-btn-card button:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-0.2rem);
}
/* endregion */

/*======================================================================================================================
  task_dashboard.html
======================================================================================================================*/
/* region task_dashboard.html */

.tasks-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1800px;
    box-sizing: border-box;
    background: rgba(20, 27, 41, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.tasks-card .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    opacity: 0.8;
}

.aligned-form-table {
    width: 100%;
    border-collapse: collapse;
}

.aligned-form-table th {
    text-align: left;
    padding: 0 0.75rem 1rem 0;
}

.aligned-form-table td {
    padding: 0 0.75rem 0 0;
    vertical-align: middle;
}

.col-phasecode { width: 8rem; margin-top: 0.75rem;}
.col-number    { width: 12rem; margin-top: 0.75rem;}
.col-name      { width: 28rem; margin-top: 0.75rem;}
.col-status    { width: 12rem; margin-top: 0.75rem;}
.col-weight    { width: 10rem; margin-top: 0.75rem;}
.col-issues    { width: 12rem; margin-top: 0.75rem;}
.col-update    { width: 14rem; margin-top: 0.75rem;}


.select-phasecode { width: 8rem; }
.input-number    { width: 12rem; }
.input-name      { width: 28rem; }
.select-status   { width: 12rem; }
.input-weight    { width: 10rem; }


.cell-align-right {
    text-align: right;
    padding-right: 0 !important;
}

.aligned-form-table .create-btn {
    display: inline-block;
}


.header .top-ribbon {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(30, 41, 59, 0.4);
    color: #ffffff;
    width: 30rem;
    height: 5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.top-ribbon .total-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top-ribbon .total-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.top-ribbon .total-value {
    font-size: 1.25rem;
    color: #38bdf8;
    font-weight: 700;
}

.top-ribbon .form-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.top-ribbon .total-item .form-container select {
    background-color: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Soft premium border */
    border-radius: 0.375rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.top-ribbon .total-item .form-container select:focus {
    border-color: #38bdf8;
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.85);
}

.top-ribbon .total-item .form-container .filter-btn {
    color: #cbd5e1;
    font-size: 0.75rem;
    height: 2.10rem;
    width: 5rem;
    box-shadow: none;
}

.top-ribbon .total-value.weight-exceeded {
    color: #ef4444;
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.tasks-card table{
    font-family: Arial, sans-serif;
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
}

.tasks-card caption {
    font-size: 1.6rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    text-align: left;
    width: 100%;
    letter-spacing: -0.025rem;
}

.tasks-card th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 0.75rem;
    color: #ffffff;
    text-align: left;
}

.tasks-card td{
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    padding: 1.1rem 0.75rem;
}

.tasks-card td select {
    background-color: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Soft premium border */
    border-radius: 0.375rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.tasks-card td select:hover,
.tasks-card td select:focus {
    border-color: #38bdf8;
    color: #ffffff;
}

.tasks-card td select option {
    background-color: #1e293b;
    color: #ffffff;
}

.tasks-card td input[type="text"],
.tasks-card td input[type="number"],
.tasks-card td select {
    background-color: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.tasks-card td input[type="text"]:hover,
.tasks-card td input[type="number"]:hover,
.tasks-card td select:hover,
.tasks-card td input[type="text"]:focus,
.tasks-card td input[type="number"]:focus,
.tasks-card td select:focus {
    border-color: #38bdf8;
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.85);
}


.tasks-card td select option {
    background-color: #1e293b;
    color: #ffffff;
}

.tasks-card td button {
    background-color: rgba(30, 41, 59, 0.4);
    color: #ffffff;
    opacity: 0.7;
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    width: 7rem; /* Spans to fit the grid column perfectly */
    height: 3.85rem; /* Gives them a solid, premium button height */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin: 0;
}

.tasks-card td .delete-btn {
    background-color: rgba(30, 41, 59, 0.4);
    color: #ffffff;
    opacity: 0.7;
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    width: 7rem;
    height: 3.85rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.tasks-card td button:hover, .tasks-card td .delete-btn:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-0.2rem);
}

.tasks-card tbody tr:hover:not(.highlight-row) {
    background: rgba(255, 255, 255, 0.01);
}

.messages-overlay-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 100%;
    max-width: 500px;
    padding: 0 1.5rem;
    box-sizing: border-box;
    pointer-events: none;
}

.alert-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-radius: 1rem;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    pointer-events: auto;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease;
}

.alert-banner.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.alert-banner.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #bbf7d0;
}

.close-alert-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.6;
    padding: 0 0.5rem;
    transition: opacity 0.2s ease-in-out;
}

.close-alert-btn:hover {
    opacity: 1;
}

.alert-banner.fade-out {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: none;
}

/* endregion */

/* ==========================================================================
   PRO TRACK - LOGIN PAGE STYLES
   ========================================================================== */

/* 1. Page Layout Centering */
.login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* 2. Compact Glassmorphism Container */
.login-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background: rgba(20, 27, 41, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

/* 3. Headers & Typography */
.login-card h2 {
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: -0.025rem;
    margin: 0 0 1.5rem 0;
    text-align: center;
    width: 100%;
}

/* 4. Form Controls & Field Groups */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.login-field-group label {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.login-field-group input[type="text"],
.login-field-group input[type="password"] {
    width: 100%;
    background-color: rgba(30, 41, 59, 0.6);
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.login-field-group input[type="text"]:focus,
.login-field-group input[type="password"]:focus,
.login-field-group input[type="text"]:hover,
.login-field-group input[type="password"]:hover {
    border-color: #38bdf8;
    background-color: rgba(30, 41, 59, 0.85);
}

/* 5. Submit Button */
.login-submit-btn {
    width: 100%;
    height: 3.5rem;
    margin-top: 0.5rem;
    background-color: rgba(30, 41, 59, 0.4);
    color: #ffffff;
    opacity: 0.85;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.login-submit-btn:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-0.15rem);
    opacity: 1;
}

/* 6. Error Banner Override */
.login-error-banner {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 0.5rem;
    color: #fca5a5;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}