.loan-status-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #cce0ff;
    border-radius: 15px;
    background-color: #f8fbff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
}

.loan-status-title {
    font-family: Verdana, sans-serif;
    color: #003366;
    margin-bottom: 20px;
}

#trackingInput {
    font-family: Verdana, sans-serif;
    text-align: center;
    width: 100%;
    padding: 15px;
    border: 1px solid #99c2ff;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 18px;
    outline: none;
}

#checkBtn {
    font-family: Verdana, sans-serif;
    width: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#checkBtn:hover {
    background-color: #0056b3;
}

#result {
    font-family: Verdana, sans-serif;
    margin-top: 25px;
    font-weight: 300;
    color: #003366;
    font-size: 16px;
    word-wrap: break-word;
}

/* Table Styling */
#result table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#result th, #result td {
    padding: 8px;
    border: 1px solid #cce0ff;
    text-align: center;
}

#result th {
    background-color: #e6f2ff;
}

/* Responsive Mobile Grid Layout */
@media screen and (max-width: 600px) {
    #result table, 
    #result thead, 
    #result tbody, 
    #result th, 
    #result td, 
    #result tr {
        display: block;
        width: 100%;
    }
    #result thead tr {
        display: none;
    }
    #result tr {
        margin-bottom: 15px;
        border: 1px solid #cce0ff;
        border-radius: 10px;
        padding: 10px;
        background: #f8fbff;
    }
    #result td {
        display: flex;
        justify-content: space-between;
        padding: 10px 5px;
        border: none;
    }
    #result td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #003366;
    }
    
     /* Cell border */
    .loan-results td {
      border: 1px solid #cce0ff;
      background-color: #ffffff;
      justify-content: space-between;
    }
    
    /* Header label styling */
    .loan-results td::before {
      background-color: #e6f2ff;
      border-bottom: 1px solid #cce0ff;
      color: #003366;
      font-weight: 600;
      content: attr(data-label);
    }
}
