/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
*{
    overflow-x: hidden;
    box-sizing: border-box;
    border-color: #ccc;
    /* border:1px solid #ccc; */
    margin: 0;
    padding: 0;
}
body {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

table, tr, td, th {
    border: 1px solid #ddd;
    border-collapse: collapse;
}

table {
    width: 80%;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
}

td, th {
    padding: 10px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

form {
    width: 80%;
    margin: 20px auto;
    text-align: center;
}

input[type="text"], select {
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

@media (max-width: 768px) {
    body {
        font-size: 1.2rem;
    }

    table, form {
        width: 95%;
    }
}
/* Continuing from previous CSS */

textarea#xyz {
    width: 80%; /* Matching the table width */
    margin: 20px auto; /* Centering */
    display: block;
    height: calc(100vh - 550px); /* Dynamically adjust based on viewport */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none; /* Optional: Prevents resizing */
    font-size: large;
}

footer {
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: #469fff;
    color: white;
    
}
@media (min-width: 400px) {
    footer {
        width: 100%;
        padding: 10px;
        text-align: center;
        background-color: #469fff;
        color: white;
        position: fixed;
        bottom: 0;
        left: 0;
    }
    
}

@media (max-width: 768px) {
    textarea#xyz {
        height: calc(100vh - 350px); /* Adjust for smaller devices */
    }
    
}
@media (max-width: 440px) {
    textarea#xyz {
        width: 80%; /* Matching the table width */
        margin: 20px auto; /* Centering */
        display: block;
        height: 75vh; 
        border-radius: 5px;
        border: 1px solid #ccc;
        resize: none; /* Optional: Prevents resizing */
        /* font-size: large; */
        white-space: nowrap; /* Prevents wrapping */
        overflow-x: auto;
    }
    
}
/* Navbar Styles */
nav {
    background-color: #3998fe;
    color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
  }
  
  .nav-links li a:hover {
    background-color: #469fff;
    border-radius: 5px;
  }
  

table,tr,td,th{
    border:1px solid #ccc;
}
table {
   table-layout: fixed;
}

td, th {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    word-wrap: break-word; /* For older browsers */
    overflow-wrap: break-word; /* For modern browsers */
}