#logo{
    width: 200px;
    height:50px;
}
body{
  width: 100%;
  margin: auto;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  padding: 35px 35px 20px 35px;
}

#headline{
    padding-left: 20px;
    display: flex;
    justify-content: center;
    font-size: medium;
    font-family:"Corbel", "Lucida Grande", "Lucida Sans Unicode", "Segoe UI", sans-serif;
    text-align: center;
}

.top {
    text-align: center;
}

.main-nav {
    background: #1e3a8a;
    padding: 0.6rem 1rem;
    text-align: center;
    border-radius: 8px;
    margin: 1rem auto;
    max-width: 980px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.8rem;
    font-weight: 600;
}

.main-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .main-nav a {
        display: block;
        margin: 0.25rem 0;
    }
}
    
#table1,td,tr {
    font-family:"Corbel", "Lucida Grande", "Lucida Sans Unicode", "Segoe UI", sans-serif;
    border: solid;
    border-color: black;
    border-width: 0.5px;
    border-collapse: collapse;
   
    

}



/* Progress Section Container */
/* Container to handle overflow on small screens */
.progress-tracker {
    width: 100%;
    margin-top: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Keeps corners rounded */
}

.progress-tracker h3 {
    padding: 20px;
    margin: 0;
    background: #f8fafc;
    color: #1e3a8a;
    font-size: 1.1rem;
    border-bottom: 1px solid #e2e8f0;
}

/* The Responsive Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Adds horizontal scroll ONLY when needed */
    -webkit-overflow-scrolling: touch;
}

#tracking-table {
    width: 100%;
    min-width: 700px; /* Ensures columns don't collapse too much */
    border-collapse: collapse;
    background-color: white;
}

#tracking-table th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 700;
    text-align: left;
    padding: 14px 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

#tracking-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 0.95rem;
    vertical-align: middle;
}

/* Alternating Row Colors */
#tracking-table tbody tr:nth-child(even) {
    background-color: #fbfcfd;
}

#tracking-table tbody tr:hover {
    background-color: #f1f5f9;
    transition: background-color 0.2s ease;
}

/* Status Pill Styling */
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending { background-color: #fef3c7; color: #92400e; }
.status-approved { background-color: #dcfce7; color: #166534; }
.status-rejected { background-color: #fee2e2; color: #991b1b; }

/* View Button */
.btn-view {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-view:hover { color: #2563eb; }
.progress-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.progress-section h3 {
    color: #1e3a8a;
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-left: 4px solid #1e3a8a;
    padding-left: 15px;
}

/* Table Styling */
#tracking-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

#tracking-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 15px;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
}

#tracking-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.9rem;
}

#tracking-table tr:hover {
    background-color: #f1f5f9;
}

/* Status Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.status-pending { background: #fef3c7; color: #92400e; }    /* Yellow */
.status-approved { background: #dcfce7; color: #166534; }   /* Green */
.status-rejected { background: #fee2e2; color: #991b1b; }   /* Red */
.status-finance { background: #e0e7ff; color: #3730a3; }    /* Blue-ish */

/* Action Link */
.view-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.view-link:hover {
    text-decoration: underline;
}


#table1 td {
  border: 1px solid black; 
  color: black;            
  padding: 10px 15px;       
  font-weight: bold;         
  text-align: center;
}
#table1 td:first-child {
  width: 30%; 
}
   
/* #datae{
    padding-top: 50px;
    width:200px;    
} */
/*style="height:20px;width:300px;border:solid;border-width:0.5px;border-collapse: collapse;"`*/


#date{
    display: flex;
    justify-content: center;
    padding-top: 50px;
}
#table2{
    margin: 20px auto;
    padding-top: 20px;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}
.tables2{
    display: block;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
}
#table2 td,
#table2 th {
  padding: 5px;
  border: 1px solid black;
  text-align: center;
  border-collapse: collapse;
  box-sizing: border-box;
  white-space: normal;
}
#table2 input,
#table2 textarea {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.sn-cell {
  font-weight: 700;
  text-align: center;
  color: #1f4a90;
  background-color: #f5f8ff;
}
@media (max-width: 900px) {
  #table2,
  .tables2 {
    font-size: 0.9rem;
  }
  #table2 td,
  #table2 th {
    padding: 4px;
  }
}
@media (max-width: 640px) {
  #table2,
  .tables2 {
    font-size: 0.85rem;
  }
  #table2 td,
  #table2 th {
    padding: 3px;
  }
} 
#costs{
    display: flex;
  /*  justify-content: center;*/
    padding-top: 50px;
    margin:20px;
    margin-right: 10px;
}

#table2.table-input {
  width: 100%;
  background: transparent; /* Makes it blend with the table bg */
  border: none;            /* Removes default input borders */
  color: white;            /* Matches your table text */
  font-family: inherit;    /* Uses Corbel/system-ui from the table */
  font-size: 1rem;
  outline: none;           /* Removes the blue ring on click */
  padding: 0px;
}

.approval{
    display: flex;
    justify-content: center;
    padding-top: 50px;
} 
#signees{
    display: flex;
    justify-content: flex-start;
    align-items: space-between;
    align-content: flex-end;
    padding-top: 50px;
    width: 100%;
}



/*we give it a try*?*/
.approval-container {
    margin-top: 50px;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.approval-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px; /* Space between the signee rows */
    gap: 40px;
}

.field-group {
    display: flex;
    flex: 1; /* Main signature line takes more space */
    align-items: flex-end;
}

.date-group {
    flex: 1; /* Date line is shorter */
}

.label {
    white-space: nowrap;
    font-weight: bold;
    margin-right: 10px;
    padding-bottom: 2px;
}

.line {
    flex-grow: 1;
    border-bottom: 1px solid #000; /* Creates the signature line */
    height: 1.2em;
}

.small-line {
    min-width: 120px;
}

.submit-btn{
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

#submit {
    background-color: #205081;
    color: #fff;
    min-width: 150px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #1a4e88;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

#submit:hover {
    background-color: #18416e;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#submit:active {
    transform: translateY(1px);
    background-color: #16375e;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

#submit:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}
#submit:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}