* { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
            background: #f5f5f7;
            min-height: 100vh;
            padding: 24px;
            display: flex;
            flex: 1 1 90%;
            justify-content: center;
            align-items: flex-start;
            color: #1d1d1f;
        }
        .container {
            max-width: 1200px;
            width: 100%;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border-radius: 10px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        h1 {
            font-size: 28px;
            font-weight: 600;
            color: #1d1d1f;
            text-align: center;
            margin-bottom: 12px;
            animation: fadeIn 0.5s ease-out;
        }
        input {
            width: 100%;
            padding: 10px 12px;
            margin: 8px 0;
            font-size: 16px;
            border: 1px solid #d2d2d7;
            border-radius: 16px;
            color: #1d1d1f;
            transition: all 0.2s ease;

          

}
        .filterInput7 {
 min-height: 60px;
 word-break: break-all;
resize: none;
 overflow: hidden;
  width: 100%;
            padding: 2px 2px;
            margin: 0px 0;
            font-size: 16px;
            border: 1px solid #d2d2d7;
            border-radius: 16px;
            color: #1d1d1f;
            transition: all 0.2s ease;


  }
       
       
 


         #filterInput { background: #e7f0fd; }
       
        #filterInput2 { background: #ffc1c1ff; }
       
        input::placeholder { color: #8e8e93; font-style: normal; }
        input:focus {
            outline: none;
            border-color: #007aff;
            box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
            background: #ffffff;
        }
        button {
            padding: 10px 20px;
            font-size: 16px;
            font-weight: 500;
            border: none;
            border-radius: 16px;
            background: linear-gradient(to bottom, #007aff, #005bb5);
            color: #ffffff;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
            margin-right: 8px;
            margin-bottom: 8px;
        }
        button:hover {
            background: linear-gradient(to bottom, #005bb5, #003087);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        }
        button:active {
            transform: scale(0.98);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }
        #stopButton {
            background: linear-gradient(to bottom, #ff3b30, #d32f2f);
        }
        #stopButton:hover {
            background: linear-gradient(to bottom, #d32f2f, #b71c1c);
        }
        #clearCacheButton {
            background: linear-gradient(to bottom, #ff9500, #d87b00);
        }
        #clearCacheButton:hover {
            background: linear-gradient(to bottom, #d87b00, #b76a00);
        }
        

#clearFilter {
            background: linear-gradient(to bottom, #ff3b30, #d32f2f);
        }
        #clearFilter:hover {
            background: linear-gradient(to bottom, #d32f2f, #b71c1c);
        }


        #result { margin-top: 24px; }
        .error {
            color: #ff3b30;
            font-weight: bold;
            margin: 8px 0;
        }
        .info {
            color: #ff3b30;
            font-weight: bold;
            margin: 8px 0;
        }
        ul { list-style: none; padding: 0; }
        li {
            margin: 8px 0;
            padding-left: 16px;
            position: relative;
            animation: slideIn 0.3s ease-out forwards;
            animation-delay: calc(var(--index) * 0.05s);
        }
        li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #007aff;
            font-weight: bold;
        }
        a {
            color: #007aff;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        a:hover {
            color: #005bb5;
            text-decoration: underline;
        }
        .excel-file-link {
            display: inline-block;
           /* max-width: 200px; */
            overflow-wrap: break-word;
           /* word-wrap: break-word;*/
            white-space: normal;
            hyphens: auto;
        }
        .date-column {
           /* max-width: 40px; */
            overflow-wrap: break-word;
           /* word-wrap: break-word;*/
            white-space: normal;
            hyphens: auto;
        }
        .time-column {
           /* max-width: 60px; */
            overflow-wrap: break-word;
           /* word-wrap: break-word;*/
            white-space: normal;
            hyphens: auto;
        }
        .group-column {
           /* max-width: 40px; */
            overflow-wrap: break-word;
           /* word-wrap: break-word;*/
            white-space: normal;
            hyphens: auto;
        }
        .file-column {
           /* max-width: 100px; */
            overflow-wrap: break-word;
            /* word-wrap: break-word;*/
            white-space: normal;
            hyphens: auto;
        }
        #progressIndicator {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            padding: 16px;
            margin: 16px 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: #1d1d1f;
            animation: slideUp 0.3s ease-out;
        }

#dateButtons {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            padding: 16px;
            margin: 0px 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: #1d1d1f;
            animation: slideUp 0.3s ease-out;
        }

        



        #progressIndicator p {
            margin: 8px 0;
            font-size: 14px;
        }
        #progressIndicator span {
            color: #007aff;
            font-weight: 600;
        }
        #progressIndicator progress {
            width: 100%;
            height: 8px;
            border-radius: 4px;
            background: #e5e5ea;
            overflow: hidden;
        }
        #progressIndicator progress::-webkit-progress-bar { background: #e5e5ea; }
        #progressIndicator progress::-webkit-progress-value {
            background: linear-gradient(to right, #007aff, #005bb5);
            border-radius: 4px;
            animation: progressPulse 1.5s ease-in-out infinite;
        }
        #progressIndicator progress::-moz-progress-bar {
            background: linear-gradient(to right, #007aff, #34c759);
            border-radius: 4px;
            animation:  progressPulse 1.5s ease-in-out infinite;
        }
        table {
            line-height: 1.1;
            border-collapse: separate;
            border-spacing: 0;
            width: 100%;
            margin: 8px 0;
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        .word-wrap {
  word-wrap: break-word;
}


#datetime
{text-align: center;
           
        }

        .main-table {
            margin-bottom: 8px;
            line-height: 1.1;
        }
        th, td {
            border: 1px solid #d2d2d7;
            padding: 3px;
            text-align: left;
            font-size: 12px;
            line-height: 1.2;
        }
        .disciplines-table th, .disciplines-table td {
            padding: 2px 3px;
            line-height: 1.1;
        }
        th {
            background: #f5f5f5;
            font-weight: 600;
            color: #1d1d1f;
        }
        tr:nth-child(even) { background: #ffffff; }
        .highlight { background: #e7f0fd; }
        .highlight2 { background: #ffc1c1ff; }
        h3 { margin: 16px 0 8px; font-size: 18px; color: #1d1d1f; }
        h4 { margin: 12px 0 8px; font-size: 16px; color: #1d1d1f; }
        .text-row { margin-bottom: 8px; font-size: 14px; color: #1d1d1f; }
        p.text-row.day-of-week { border-top: 2px solid #1d1d1f; }
        #resultsContainer, #fileInfoAndErrors { margin-bottom: 16px; display: block; }
        #fileInfoAndErrors.hidden, .fileContent.hidden, .combinedTable.hidden { display: none; }, .dateButtons.hidden { display: none; } 
        hr { margin: 16px 0; border: 0; border-top: 1px solid #d2d2d7; }
        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.98); }
            to { opacity: 1; transform: scale(1); }
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-10px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes progressPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.9; }
        }
        @media (max-width: 412px) {
            .container { padding: 16px; }
            h1 { font-size: 24px; }
            input { margin: 6px 0; font-size: 14px; }
            button { width: 100%; margin: 6px 0; font-size: 14px; }
            #progressIndicator { padding: 12px; }
            table { font-size: 11px; }
            th, td { padding: 4px; }
            /*.date-column { width: 50px; }
         .time-column { width: 50px; } 
            .group-column { width: 50px; }
          .file-column { width: 80px; }
            .excel-file-link { max-width: 120px; }*/
            .disciplines-table th, .disciplines-table td {
                padding: 3px 4px;
                line-height: 1.0;
            }
            .main-table {
                margin-bottom: 12px;
                 line-height: 1.0;
            }
             .combinedTable {
                overflow: hidden;
               max-width: 100%;
               table-layout: fixed;
                margin-bottom: 12px;
                 padding: 3px 4px;
                line-height: 1.0;
                word-wrap: break-word;
            white-space: normal;
            hyphens: auto;
            }
            .table-cell {
  word-wrap: break-word;  /* Правильно переносим слова! */
  hyphens: auto;
}
        }

.switch-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 16px;
  background: linear-gradient(to bottom, #007aff, #005bb5);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-right: 8px;
  margin-bottom: 8px;
  height: 40px;
  white-space: nowrap;
}

.switch-button:hover {
  background: linear-gradient(to bottom, #005bb5, #003087);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.switch-button:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.switch-label {
  flex-grow: 1;
}

/* Круглый iOS-подобный переключатель */
.round-slider {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}

.round-slider input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e5ea;
  border-radius: 50px;
  transition: background-color 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  left: 2px;
  top: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

input:checked + .slider {
  background-color: #34c759;
}

input:checked + .slider::before {
  transform: translateX(20px);
}

.my-top-border {
        border-top: 4px solid #d2d2d7 !important; /* !important может потребоваться для переопределения других стилей */
     
      }

      my-top-border-n {
        border-bottom: 1x solid #d2d2d7 !important; /* !important может потребоваться для переопределения других стилей */
     
      }
