/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* Custom Fonts (Optional, for better typography) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #e6e6e6; /* Light Gray */
  --accent-color: #007bff; /* Bright Blue */
  --text-color: #333;
  --light-text-color: #fff;
  --card-bg: #fff;
  --border-color: #ddd;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  background-color: #f4f7f9;
  line-height: 1.6;
}

.main-content {
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 20px;
}

/* Header & Navigation */
.main-header {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text-color);
}

.nav-link {
  color: var(--light-text-color);
  text-decoration: none;
  font-weight: 500;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  margin-top: 40px;
}

/* Search Controls and Filters */
.controls-container {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: end;
}

.control-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}

.controls-container input[type="text"],
.controls-container input[type="date"],
.controls-container select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.controls-container input[type="text"]:focus,
.controls-container input[type="date"]:focus,
.controls-container select:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}
/* For buttons above the table */
.button-group-and-results {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}


.view-btn, .download-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.view-btn {
  background-color: var(--accent-color);
  color: var(--light-text-color);
}
.view-btn:hover {
  background-color: #0056b3;
}

.download-btn {
  background-color: #28a745; /* Green for download */
  color: var(--light-text-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

.download-btn:hover {
  background-color: #218838;
}

/* Results Table */
.hansard-table-container {
  overflow-x: auto;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.hansard-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.hansard-table th, .hansard-table td {
  border: 1px solid var(--border-color);
  padding: 12px 15px;
  text-align: left;
}

.hansard-table th {
  background-color: #e9ecef;
  font-weight: 600;
  color: #555;
}

.hansard-table td {
  font-size: 0.9rem;
  vertical-align: top;
}

.hansard-table a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.hansard-table a:hover {
  text-decoration: underline;
}

/* Loading and No Results State */
.loading-indicator, .no-results {
  text-align: center;
  padding: 2rem;
  font-size: 1.2rem;
  color: #888;
}

/* Total Count Display */
.total-count-display {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}
/* Error Indicator */
.error-indicator {
    padding: 1rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 600;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .controls-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    margin-top: 1rem;
  }
}
/* Auth Page Styling */
.auth-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background-color: #f5f7fa;
}

.auth-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-box h2 {
  margin-bottom: 1rem;
  color: #003366;
}

.auth-box input {
  width: 100%;
  padding: 0.5rem;
  margin: 0.4rem 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.name-row {
  display: flex;
  gap: 0.5rem;
}

.auth-btn {
  background-color: #003366;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.auth-btn:hover {
  background-color: #0055aa;
}

.switch-mode-btn {
  background: none;
  border: none;
  color: #0055aa;
  text-decoration: underline;
  cursor: pointer;
}

.error-msg {
  color: red;
  margin-top: 0.5rem;
}
.nav-user {
  margin-right: 1rem;
  font-weight: bold;
  color: #fff;
}


/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.js","import":"Inter","arguments":[{"subsets":["latin"]}],"variableName":"inter"} ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_f367f3 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}

