/* General page layout */
body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f9;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      min-height: 100vh;
}

/* Header Section */

  header {
      width: 100%;
      background-color: #0066cc;  /* Keeping original background-color */
      color: white;
      padding: 20px;
      text-align: center;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

.header-wrapper {
    position: relative;
}

.ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    color: #0066cc;
    padding: 5px 10px;
    transform: rotate(-45deg);
    transform-origin: 0 0;
    width: 250px;
    text-align: left;
    font-size: 19px;
    font-weight: bold;
}

/* Content Container (Form + Stats) */
  .content-container {
      max-width: 900px;
      width: 100%;
      background-color: white;
      border-radius: 8px;
      margin-top: 30px;
      padding: 40px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

  .form-container h2 {
      font-size: 1.8em;
      margin-bottom: 20px;
      color: #333;
    }

  .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      font-weight: bold;
      color: #555;
    }

   .form-group select, .form-group input {
      width: 100%;
      padding: 12px;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 1em;
      color: #555;
      transition: border-color 0.3s ease-in-out;
    }


/* Button */
    button {
      width: 100%;
      padding: 14px;
      background-color: #38b2ac;  /* Keeping original button background-color */
      color: white;
      font-size: 1.2em;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease-in-out;
    }


 button:hover {
      background-color: #45a049;
    }

/* Stats Section */
.stats-container {
    flex: 0 0 300px;
    background-color: #FFFFFF;  /* White */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-title {
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;  /* Royal Blue */
    margin-bottom: 10px;
}

.stats-container div {
    margin-bottom: 10px;
}

.stats-container strong {
    color: #0066cc;  /* Royal Blue */
    font-weight: bold;
}

/* Filter Section */
.filter-container {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-container input {
    width: 250px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Result Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #E0E0E0;
}

th {
    background-color: #F2F2F2;
    color: #0066cc;  /* Royal Blue */
}

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

tbody tr:hover {
    background-color: #F1F1F1;
}

/* Loading Spinner */
 .loading {
      text-align: center;
      font-size: 1.5em;
      color: #888;
      margin-top: 20px;
    }

/* Status-Based Styling */
.status-success {
    background-color: #d4edda;
    color: #155724;
}

.status-failure {
    background-color: #f8d7da;
    color: #721c24;
}

.status-nr {
    background-color: #fff3cd;
    color: #856404;
}
/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;  /* Light Gray */
    margin: 0;
    padding: 0;
    color: #333333;  /* Dark Gray Text */
}


    .result-container {
      margin-top: 30px;
      padding: 15px;
      border-radius: 8px;
      font-size: 1.2em;
      text-align: center;
    }

    .select-file-type {
      margin-bottom: 20px;
    }

    select {
          font-size: 1em;
          padding: 12px;
          border-radius: 8px;
          border: 1px solid #ccc;
          transition: border-color 0.3s ease-in-out;
        }

        select:focus {
          border-color: #4CAF50;
          outline: none;
        }

  .result-container.success {
      background-color: #28a745;
      color: white;
    }

    .result-container.error {
      background-color: #dc3545;
      color: white;
    }
