/* Változók */
:root {
  --primary-color: #8E2140;
  --secondary-color: #A23645;
  --dark-color: #4A3034;
  --light-color: #FDF6F8;
  --text-color: #333;
  --link-color: #7A1C35;
  --border-radius: 5px;
}

/*
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #333;
  --link-color: #2980b9;
  --border-radius: 5px;
}

/* Reset és alapértelmezett stílusok */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif, 'Helvetica Neue', 'Helvetica';
  font-size: 16px;
  color: var(--text-color);
  background-color: var(--light-color);
  max-width: 100%;
  overflow-x: hidden;
}

ul {
  padding-left: 2.5rem;
}
ul li:not(:last-child),
ol li:not(:last-child) {
  margin-bottom: .5rem;
}

a {
  color: var(--link-color);
}

/* Konténer */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Fejléc */
header {
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.logo-icon {
  margin-right: 0.8rem;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Főmenü */
.main-navigation {
  position: relative;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-items {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-items li {
  margin-left: 2rem;
}

.menu-items li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 600;
}

.menu-items li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.menu-items li a:hover,
.menu-items li a:focus {
  color: var(--secondary-color);
}

.menu-items li a:hover::after,
.menu-items li a:focus::after {
  width: 100%;
}

/* Sr-only class a kisegítő szövegek elrejtéséhez vizuálisan */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Fő tartalom */
main {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1rem;
}

/* Gombok */
button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.primary-button {
  background-color: var(--primary-color);
  color: white;
}

.primary-button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* Lábléc */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 1.5rem 1rem;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  padding-left: 0;
  list-style: none;
}

.footer-column a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.copyright {
  font-size: 14px;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  left: auto;
  transform: none;
  background-color: white;
  padding: 1.2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  max-width: 400px;
  width: auto;
  display: none;
  border: 1px solid #ddd;
}

.cookie-popup.show {
  display: block;
  animation: slideIn 0.3s ease-out;
}

.cookie-popup p {
  font-size: 14px;
  margin-bottom: 1.2rem;
  line-height: 1.6;
  color: var(--text-color);
}

.cookie-popup .buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.cookie-popup .buttons button {
  font-size: 14px;
  padding: .6rem 1.2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s;
}

.cookie-popup .accept-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.cookie-popup .accept-button:hover {
  background-color: var(--link-color);
}

.cookie-popup .reject-button {
  background-color: #f8f9fa;
  color: var(--text-color);
  border: 1px solid #ddd;
}

.cookie-popup .reject-button:hover {
  background-color: #e9ecef;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Teljes edzés vezérlők */
.teljes-edzes-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius);
  border: 1px solid #ddd;
}

.piheno-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.piheno-controls label {
  font-weight: 600;
  color: var(--dark-color);
}

.piheno-controls input {
  width: 70px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 16px;
}
.piheno-controls input[type="checkbox"] {
  width: auto;
}

.start-all-btn {
  background: var(--secondary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.start-all-btn:hover {
  background: var(--primary-color);
}

.start-all-btn:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  transform: none;
}

.exercise-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exercise-popup .gyakorlat-kartya {
  transform: scale(1.2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  background: white;
}

.exercise-popup .gyakorlat-kartya .drag-handle {
  display: none;
}

/* Modal stílusok */
#infoModal {
  z-index: 2000;
}

#infoModal .modal-content {
  background: white;
  position: relative;
  z-index: 2001;
}

.teljesitve-btn {
  background: var(--success-color, #28a745);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1.1em;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.teljesitve-btn:hover {
  background: var(--success-dark-color, #218838);
}

.rest-timer-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.rest-timer {
  background: var(--secondary-color);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  min-width: 300px;
}

.rest-timer .rest-countdown {
  font-size: 3.5rem;
  font-weight: bold;
  margin-top: 1rem;
}

.workout-completion {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.completion-message {
  background: white;
  color: #333;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 600px;
  width: 90%;
}

.close-completion {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.close-completion:hover {
  opacity: 1;
}

.completion-stats {
  margin-top: 1.5rem;
  text-align: left;
}

.completion-stats h4 {
  margin-bottom: 1rem;
  text-align: center;
}

.completion-stats ul {
  list-style: none;
  padding: 0;
}

.completion-stats li {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.completion-stats li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color, #28a745);
}

.exercise-counter {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  z-index: 1001;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.general-stats, .exercise-details {
  text-align: left;
}

.general-stats h5, .exercise-details h5 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
  color: #666;
}

.completion-stats ul {
  list-style: none;
  padding: 0;
}

.completion-stats li {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.completion-stats li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color, #28a745);
}

.exercise-details li strong {
  color: #444;
}

/* Kalkulátor stílusok */
.kalkulator {
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.kalkulator h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

.kalkulator-table {
  margin-top: 2rem;
  overflow-x: auto;
}

.kalkulator table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.kalkulator th,
.kalkulator td {
  padding: 1rem;
  text-align: center;
  border: 1px solid #eee;
}

.kalkulator th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  white-space: nowrap;
}

.kalkulator td {
  font-size: 1.1rem;
}

.kalkulator .gyakorlat-nev {
  text-align: left;
  color: var(--primary-color);
  font-weight: 500;
  white-space: nowrap;
}

.kalkulator tr:hover {
  background: #f8f9fa;
}

.kalkulator .osszesites {
  background: #f8f9fa;
  font-weight: bold;
}

.kalkulator .osszesites td:first-child {
  text-align: left;
}

.kalkulator small {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.2rem;
}

/* Gyakorlat kártyák */
.gyakorlatok {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gyakorlat-kartya {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 1.5rem;
  cursor: move;
  user-select: none;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gyakorlat-kartya.dragging {
  opacity: 0.5;
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.gyakorlat-kartya.drag-over {
  border: 2px dashed var(--primary-color);
}

.gyakorlat-kartya .drag-handle {
  position: static;
  transform: none;
  color: #999;
  cursor: move;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.gyakorlat-kartya:hover .drag-handle {
  opacity: 1;
}

.gyakorlat-kartya h2 {
  margin: 0;
  color: #333;
}

.gyakorlat-kartya.inactive {
  opacity: 0.5;
  filter: grayscale(100%);
}

.gyakorlat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gyakorlat-header h2 {
  margin: 0;
  color: #333;
  flex-grow: 1;
}

.gyakorlat-toggle {
  position: relative;
}

.gyakorlat-toggle input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

.gyakorlat-toggle label {
  display: inline-block;
  width: 40px;
  height: 20px;
  background: #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  border: 1px solid var(--secondary-color);
}

.gyakorlat-toggle label::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.gyakorlat-toggle input[type="checkbox"]:checked + label {
  background: var(--secondary-color);
}

.gyakorlat-toggle input[type="checkbox"]:checked + label::after {
  transform: translateX(20px);
}

/* Gyakorlat animáció */
.gyakorlat-animacio {
  width: 100%;
  height: 200px;
  margin: 1rem 0;
  background: #f8f9fa;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gyakorlat-animacio object {
  width: 100%;
  height: 100%;
}

.placeholder-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.placeholder-animation i {
  font-size: 4rem;
  color: #888;
}

/* Gyakorlat vezérlők */
.gyakorlat-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.info-btn {
  background: none;
  border: none;
  color: #666;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.info-btn:hover {
  color: #333;
}

.ismetles-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.minus-btn,
.plus-btn {
  background: #f0f0f0;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.minus-btn:hover,
.plus-btn:hover {
  background: #e0e0e0;
}

.ismetles-szam {
  min-width: 60px;
  text-align: center;
  font-weight: bold;
}

.start-btn {
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.start-btn:hover {
  background: #45a049;
}

.start-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background: #fff;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Görgetősáv stílusa */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Firefox görgetősáv */
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.close:hover {
  color: #333;
}


/* Új gyakorlat gomb */
.uj-gyakorlat-btn {
  display: block;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uj-gyakorlat-btn:hover {
  background: var(--primary-color);
}

.uj-gyakorlat-btn i {
  font-size: 1.2rem;
}

/* Új gyakorlat form */
.uj-gyakorlat-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.radio-group input[type="radio"] {
  margin-right: 0.5rem;
}

.mertekegyseg {
  margin-left: 0.5rem;
  color: #666;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.secondary-button {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: #e0e0e0;
}

.gyakorlat-controls-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.delete-btn {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 1.1rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.delete-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Csak az egyéni gyakorlatoknál jelenjen meg a törlés gomb */
.gyakorlat-kartya[data-beepitett="true"] .delete-btn {
  display: none;
}

/* Értesítési beállítások stílusai */
.notification-settings-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notification-settings-btn:hover {
  background: var(--link-color);
  transform: translateY(-2px);
}

.notification-settings-btn i {
  font-size: 1.2rem;
}

.notification-modal {
  max-width: 600px !important;
  width: 90% !important;
}

.notification-form {
  max-width: 100%;
  margin: 0 auto;
}

.days-selector {
  margin: 1.5rem 0;
}

.days-selector label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.day-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.day-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
  font-weight: normal;
}

.day-checkboxes label:hover {
  background: #e9ecef;
}

.day-checkboxes input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.notification-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  display: none;
}

.notification-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.notification-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Időpont beviteli mező stílusai */
.time-input-wrapper {
  position: relative;
}

.time-input-wrapper input[type="time"] {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg>') no-repeat right 0.8rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

/* Időpont mező webkit böngészőkhöz */
.time-input-wrapper input[type="time"]::-webkit-datetime-edit-fields-wrapper { 
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-input-wrapper input[type="time"]::-webkit-datetime-edit-hour-field,
.time-input-wrapper input[type="time"]::-webkit-datetime-edit-minute-field { 
  padding: 0 0.3rem;
  background: #f8f9fa;
  border-radius: 3px;
}

.time-input-wrapper input[type="time"]::-webkit-datetime-edit-hour-field:focus,
.time-input-wrapper input[type="time"]::-webkit-datetime-edit-minute-field:focus {
  background: var(--primary-color);
  color: white;
}

.time-input-wrapper input[type="time"]::-webkit-datetime-edit-ampm-field {
  display: none;
}

/* Firefox specifikus stílusok */
.time-input-wrapper input[type="time"]::-moz-time-text {
  display: none;
}

/* Edge/IE specifikus stílusok */
.time-input-wrapper input[type="time"]::-ms-clear {
  display: none;
}

.time-input-wrapper input[type="time"]::-ms-reveal {
  display: none;
}

.time-input-wrapper input[type="time"]::-ms-expand {
  display: none;
}

.time-input-wrapper input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.time-input-wrapper input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  font-family: inherit;
}

.time-input-wrapper input[type="time"]::-webkit-datetime-edit {
  padding: 0;
}

.time-input-wrapper input[type="time"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.time-format {
  display: block;
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

/* Értesítési link stílusok */
.notification-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.notification-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

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

.notification-link:hover::after {
  width: 100%;
}

.notification-link i {
  font-size: 1.1em;
}

/* Gyakorlatok stílusai */
.gyakorlat-leiras strong {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.gyakorlat-leiras li {
  line-height: 1.5;
}

/* Reszponzív dizájn */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-navigation .menu-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: .6rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
  }
  .main-navigation.is-open .menu-items {
    display: flex;
  }
  .menu-items li {
    margin-left: 0;
    width: 100%;
  }
  .menu-items li a {
    display: block;
    padding: .6rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  .menu-items li:last-child a {
    border-bottom: none;
  }
  .menu-items li a::after {
    display: none;
  }
  nav ul {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
  }
  .menu-toggle {
    display: block;
  }
  .menu-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
  }
  .menu-items li {
    margin-left: 0;
    margin-bottom: 0.5rem !important;
  }  
  .menu-items li:last-child {
    margin-bottom: 0 !important;
  }
  .main-navigation.is-open .menu-items {
    display: flex;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .teljes-edzes-controls {
    flex-direction: column;
    gap: 1rem;
  }
  .kalkulator {
    padding: 1rem;
    margin: 1rem -1rem;
    border-radius: 0;
  }
  .kalkulator td,
  .kalkulator th {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
  .kalkulator .gyakorlat-nev {
    min-width: 120px;
  }
  .gyakorlatok {
    grid-template-columns: 1fr;
  }
  .gyakorlat-controls {
    flex-direction: column;
    gap: 1rem;
  }
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  .gyakorlat-animacio {
    height: 150px;
  }
  .notification-modal {
    margin: 1rem;
    padding: 1rem;
  }
  .day-checkboxes {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .day-checkboxes label {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  .notification-link {
    padding: 0.6rem;
  }
  .notification-link i {
    font-size: 1.2em;
  }
  .menu-items {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  h1 {
    font-size: 28px;
  }
  .cookie-popup {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: 0;
  }
  @keyframes slideIn {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}