/* Ogólne style */ body { font-family: Arial, sans-serif; margin: 20px; background-color: #f4f4f9; } .container { max-width: 800px; margin: 0 auto; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); position: relative; /* Dodane dla pozycjonowania stats-section */ } h1 { text-align: center; color: #333; } label { display: block; margin-top: 20px; font-weight: bold; } select, input { width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #ccc; border-radius: 4px; } button { display: block; margin: 20px auto; padding: 10px 20px; background-color: #007bff; color: #fff; border: none; border-radius: 4px; cursor: pointer; } button:hover { background-color: #0056b3; } /* Zakładki */ .tabs { display: flex; gap: 10px; margin-bottom: 20px; } .tabs button { padding: 10px; border: none; background-color: #007bff; color: #fff; border-radius: 4px; cursor: pointer; flex: 1; } .tabs button:hover { background-color: #0056b3; } /* Lista uczniów */ #students-list details { margin-bottom: 15px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; background-color: #f9f9f9; position: relative; /* Dodane dla pozycjonowania stats-section */ } #students-list summary { font-weight: bold; cursor: pointer; } .criteria-list { margin-top: 10px; } .criteria-item { display: flex; align-items: center; margin-bottom: 5px; } .criteria-item span { margin-right: 10px; } .points-info { color: #555; font-size: 0.9em; } input[type="number"] { width: 60px; padding: 5px; margin-left: 10px; } /* Sekcja statystyk w prawym górnym rogu */ .stats-section { position: absolute; top: 10px; right: 10px; background-color: #e6f7ff; /* Lekko turkusowe tło */ border: 1px solid #b3e5fc; /* Cienka obramówka */ border-radius: 5px; padding: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Delikatny cień */ z-index: 10; } .stats-box { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; } .total-points { font-size: 14px; font-weight: bold; color: #007bff; } .grade { font-size: 16px; font-weight: bold; color: #28a745; } /* Zarządzanie kryteriami */ #criteria-list div { margin: 10px 0; padding: 10px; border: 1px solid #ddd; border-radius: 4px; background-color: #f9f9f9; }