/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Basic resets */
*, *:after, *:before {
    box-sizing: border-box;
    border: 0 solid;
}

/* Set base font and line-height */
html {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 
                 Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, 
                 "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-text-size-adjust: 100%;
}

/* Override fonts to use Inter specifically */
body {
    font-family: "Inter", sans-serif;
    margin: 0;
    line-height: inherit;
    /* Radial gradient background from provided snippet */
    background: radial-gradient(118.68% 76.54% at 87.07% 7.49%, rgba(227, 233, 87, 0.2) 0%, rgba(84, 136, 214, 0.2) 37.79%, rgba(62, 79, 236, 0.05) 60.81%, hsla(240, 9%, 98%, 0.2) 76.96%);
    color: #17194a;
}

/* Container that holds the page content in a card-like style */
.main-container {
    max-width: 600px;
    background: #FFFFFF;
    margin: 50px auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: #17194a;
}

/* Headings: keep them slightly bolder and maybe a different shade */
h1, h2, h3 {
    color: #17194a;
    font-weight: 600;
}

/* Forms and inputs */
input[type="text"], input[type="password"], input[type="file"] , input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: "Inter", sans-serif;
}

/* input[type="submit"] {
    background: #FFEC00; 
    color: #17194a;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: "Inter", sans-serif;
}

input[type="submit"]:hover {
    background: #e6db00;
} */

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    color: #17194a;
    border-radius: 8px;
    margin-top: 20px;
    overflow: hidden; /* to ensure the rounded corners apply nicely */
}
th {
    background: #17194a;
    color: #ffffff;
    padding: 10px;
    text-align: left;
}
td {
    border: 1px solid #ccc;
    padding: 8px;
}

/* Flash messages */
.message {
    background: #D4FF00;
    color: #17194a;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    border-radius: 8px;
}

/* Brand banner at the top */
.brand-banner {
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    padding: 30px 20px 5px;
    margin: 0 auto;
    max-width: 100%;
    color: #17194a;
}

/* Links inside the container */
.main-container a {
    color: #17194a;
    font-weight: bold;
    text-decoration: none;
}
.main-container a:hover {
    text-decoration: underline;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-row label {
    font-weight: 600;
    margin-bottom: 5px;
}

.form-row select{
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: "Inter", sans-serif;
    background-color: #f9f9f9;
    color: #17194a;
}

.form-row input[type="submit"] {
    width: 100px;
    align-self: flex-start;
    margin-top: 10px;
}

/* Adjust the font size of the selected value */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 14px; /* Adjust as needed */
  }
  
  /* Adjust the font size of the dropdown options */
  .select2-container--default .select2-results>.select2-results__options li {
    font-size: 12px; /* Adjust as needed */
  }  

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn {
    background: #FFEC00;
    color: #17194a;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.submit-btn:hover {
    background: #e6db00;
}

.clear-btn {
    background: #428adb;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.clear-btn:hover {
    background: #326bac;
}

