/* Resetting margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f7f6;
  color: #333;
  overflow-x: hidden;
}

/* Navbar styles */
header {
  background-color: #2c3e50; /* Dark Blue for Professional Look */
  padding: 10px 0;
  text-align: center;
}

nav{
  display: flex;
  justify-content:space-between;
  padding: 0 20px;
}

nav .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

nav .logo h1 {
  color: #ecf0f1; /* Light Grey Text */
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
}

nav .logo h1:first-child {
  margin-bottom: 5px;
}

/* Container for the main content */
/* .container {
  text-align: center;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
}

.container h1 {
  color: #2c3e50;
  font-size: 24px;
  margin-bottom: 20px;
} */

/* Upload button and input */
/* input[type="file"] {
  padding: 10px;
  border: 2px solid #2c3e50;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 20px;
} */

button {
  background-color: #3498db; /* Lighter Blue */
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9; /* Darker Blue on Hover */
}

.upload-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 50vh;
  background-color: #f4f4f4;
  cursor: pointer;
  border: 2px dashed #ccc;
}

.upload-icon-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upload-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #007bff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 30px;
  line-height: 1;
  position: absolute;
}
.upload-icon img{
  height: 150px;
  border-radius: 50%;
}

.upload-text {
  font-size: 20px;
  margin-top: 20px;
  color: #555;
  margin-top: 200px;
  position: absolute;
}

.upload-section:hover {
  background-color: #e8e8e8;
}
/* Loader styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark background */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Results Table Styles */
.results-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.results-header, .results-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #2c3e50;
  color: #ecf0f1;
  font-weight: bold;
}
.results-header{
    font-size: 14px;
}
.results-row{
    font-size: 12px;
}
.results-row > div{
    max-width: 175px;
    overflow: auto;
}
.results-header {
  background-color: #34495e;
}

.header-item {
  flex: 1;
  text-align: center;
}

.results-row {
  background-color: #fff;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.results-row:nth-child(even) {
  background-color: #f9f9f9;
}

.results-row div {
  flex: 1;
  text-align: center;
  padding: 10px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .container {
    padding: 15px;
    width: 90%;
  }

  nav .logo h1 {
    font-size: 24px;
  }

  .results-header, .results-row {
    flex-direction: row; /* Ensure rows stay in the table format */
    width: 840px;
    
  }
  .header-item div, .results-row div {
    flex: 1;
    text-align: left;
    font-size: 12px; /* Smaller text for smaller screens */
    min-width: 120px;
  }

  .results-container {
    overflow-x: scroll; /* Add horizontal scrolling */
  }

  .results-table {
    min-width: 700px; /* Ensure table takes enough width to maintain structure */
  }
  button#downloadBtn{
    width: 100%;
  }
}

/* Style for very small screens */
@media (max-width: 480px) {
  .header-item, .results-row div {
    font-size: 10px; /* Further reduce text size */
  }
  input[type="file"]{
    width: 100%;
  }
}


