* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

#main-t {grid-row: 2 / 3; grid-column: 1 / 4; background-color: rgb(247, 249, 255); margin: 0px 0px; padding: 10px 100px;}



.card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}
/*==========Hero Section===========*/
#main-t {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
}
#main-t h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 5.5rem;
}
/* Base styles already defined above */

.dash-table {
    width: 100%;
    border-collapse: separate; /* Change from collapse to separate */
    border-spacing: 0; /* Ensure no gaps */
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    margin: 20px 0px;
    border-radius: 10px; /* Apply rounded corners */
    overflow: hidden; /* Ensures rounded corners display correctly */
}
/* Ensuring only top corners are rounded */
.dash-table thead {
    border-radius: 10px 10px 0 0; /* Rounds top-left and top-right corners */
}
.dash-table thead, th {
    background: linear-gradient(90deg, #0066FF, #0066FF);
    color: #ffffff;
    text-align: left;
    font-weight: bold;
    overflow: hidden;
}
/* Fix to prevent header clipping in some browsers */
.dash-table thead th:first-child {
    border-top-left-radius: 10px;
}
.dash-table thead th:last-child {
    border-top-right-radius: 10px;
}
.blog-table {
    background: linear-gradient(90deg, #8a2bff, #8a2bff);
    color: #ffffff;
    text-align: left;
    font-weight: bold;
    overflow: hidden;
}
.dash-table th {
    text-align: center;
}
.dash-table th, .styled-table td {
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
}
.dash-table tbody tr {
    min-height: 500px;
    background-color: #f9f9f9;
    transition: all 0.2s ease-in-out;
}
.dash-table tbody tr:hover {
    background-color: #18233525;
    cursor: pointer;
} 
.dash-table td {
    color: #0a0a0a;
    padding: 10px;
    text-align: center;
} 
.dash-table th {
    text-transform: uppercase;
}
.dashboard-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}
.warning {
        font-size: .75rem;
        color:rgb(218, 69, 32);
        text-align: center;
}
.cancel {
    margin-top: 20px;
}
#back-link {
    padding-top: 40px;
}
/* Portrait mode for small devices */
@media screen and (max-width: 600px) and (orientation: portrait) {
  body {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
  }

  #main-t {
    grid-column: 1 / -1;
    grid-row: auto;
    margin: 5px;
    padding: 10px;
  }
}

/* Landscape mode for small devices */
@media screen and (max-width: 800px) and (orientation: landscape) {
  body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
  }

  #main-t {
    grid-column: 1 / -1;
    grid-row: auto;
    margin: 5px;
    padding: 10px;
  }
}
