@font-face {
  font-family: "ProtestStrike";
  src: url("souborykaktus/PROTESTSTRIKEFONT.ttf");
  font-weight: normal;
  font-style: normal;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #068000 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Modern Header */
.modern-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
}

.logo-icon img {
  width: 4.5rem;
  height: 3rem;
  border-radius: 0.375rem;
  object-fit: contain;
}

.site-title {
  font-family: "ProtestStrike", Arial, sans-serif;
  font-size: 1.5rem;
  color: #2d3748;
  font-weight: 700;
}

.header-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.nav-button.primary {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.nav-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.nav-button.secondary {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.nav-button.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.nav-button.danger {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.nav-button.danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.nav-icon {
  font-size: 1.1rem;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem 0;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-family: "ProtestStrike", Arial, sans-serif;
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}

.title-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Dashboard Header */
.dashboard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard-title {
  font-family: "ProtestStrike", Arial, sans-serif;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}

.dashboard-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Messages */
.success-message,
.error-message {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-message {
  border-left: 4px solid #4caf50;
  color: #2e7d32;
}

.error-message {
  border-left: 4px solid #f44336;
  color: #c62828;
}

.success-icon,
.error-icon {
  font-size: 1.2rem;
}

/* Login Wrapper */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 500px;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #718096;
  font-size: 1.1rem;
}

/* Profile Section */
.profile-wrapper,
.stats-wrapper,
.matches-wrapper,
.password-wrapper,
.quick-links-wrapper,
.admin-wrapper,
.equipment-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.matches-wrapper {
  z-index: 3;
}

.password-wrapper {
  z-index: 2;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  color: #2d3748;
  font-weight: 600;
}

.section-icon {
  font-size: 1.5rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.profile-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-header {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 1.5rem;
}

.profile-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.profile-content {
  padding: 1.5rem;
}

.profile-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.profile-item:last-child {
  border-bottom: none;
}

.profile-label {
  font-weight: 500;
  color: #718096;
}

.profile-value {
  font-weight: 600;
  color: #2d3748;
}

/* Payment Information Notice */
.payment-info-notice {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  border-radius: 12px;
  border-left: 4px solid #2196f3;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.1);
}

.payment-info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: #1976d2;
  font-size: 1.1rem;
}

.payment-icon {
  font-size: 1.3rem;
}

.payment-main-text {
  color: #1976d2;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}

.payment-sub-text {
  color: #1976d2;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-style: italic;
  margin-left: 10px;
}

.payment-footer-text {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.stats-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stats-header {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
  padding: 1.5rem;
}

.stats-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.stats-content {
  padding: 1.5rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  font-weight: 500;
  color: #718096;
}

.stat-value {
  font-weight: 600;
  color: #2d3748;
  font-size: 1.1rem;
}

.stat-value.highlight {
  color: #4caf50;
}

.stat-value.warning {
  color: #ff9800;
}

.stat-value.danger {
  color: #f44336;
}

.stat-value.success {
  color: #4caf50;
}

.stat-value.star {
  color: #ffc107;
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.label-icon {
  font-size: 1.1rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.login-button,
.password-button,
.instagram-button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.login-button:hover,
.password-button:hover,
.instagram-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.button-icon {
  font-size: 1.2rem;
}

.login-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.info-section {
  margin-bottom: 1.5rem;
}

.info-section h3 {
  color: #2d3748;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.info-section p {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Match Cards */
.matches-grid {
  display: grid;
  gap: 1.5rem;
}

.match-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.match-card.future {
  border-color: #4caf50;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 50;
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.match-opponent {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.match-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.match-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.match-status.upcoming {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
}

.match-details {
  margin-bottom: 1.5rem;
}

.match-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #718096;
}

.match-info.warning {
  color: #f57c00;
  font-weight: 500;
}

.info-icon {
  font-size: 1rem;
}

.current-response {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.response-label {
  font-weight: 500;
  color: #2d3748;
}

.response-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

.response-badge.jdu {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
}

.response-badge.nevim {
  background: rgba(255, 193, 7, 0.1);
  color: #f57c00;
}

.response-badge.nejdu {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
}

/* Response Buttons */
.response-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.response-btn {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

.response-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.response-btn.jdu {
  border-color: #4caf50;
  color: #2e7d32;
}

.response-btn.jdu:hover,
.response-btn.jdu.active {
  background: #4caf50;
  color: white;
}

.response-btn.nevim {
  border-color: #ffc107;
  color: #f57c00;
}

.response-btn.nevim:hover,
.response-btn.nevim.active {
  background: #ffc107;
  color: white;
}

.response-btn.nejdu {
  border-color: #f44336;
  color: #c62828;
}

.response-btn.nejdu:hover,
.response-btn.nejdu.active {
  background: #f44336;
  color: white;
}

.btn-icon {
  font-size: 1.1rem;
}

/* Response Bubbles */
.response-bubbles {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.response-bubble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.response-bubble:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 99998;
}

.response-bubble.jdu {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
}

.response-bubble.nevim {
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: white;
}

.response-bubble.nejdu {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
}

.response-bubble.neodpovedeli {
  background: linear-gradient(135deg, #9e9e9e, #757575);
  color: white;
}

.bubble-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  min-width: 200px;
  max-width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bubble-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.95);
  z-index: 1;
}

.response-bubble:hover .bubble-tooltip {
  opacity: 1;
  visibility: visible;
  z-index: 99999;
}

.tooltip-header {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.tooltip-players {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.tooltip-player {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Password Card */
.password-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Quick Links */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.quick-link-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 2px solid transparent;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #4caf50;
}

.quick-link-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.quick-link-content {
  flex: 1;
}

.quick-link-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.quick-link-content p {
  color: #718096;
  font-size: 0.95rem;
}

.quick-link-arrow {
  font-size: 1.5rem;
  color: #4caf50;
  transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-arrow {
  transform: translateX(4px);
}

/* Equipment Styles */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.equipment-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.equipment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.equipment-header {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.equipment-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.equipment-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.equipment-status.available {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.equipment-status.pending {
  background: rgba(255, 193, 7, 0.2);
  color: #f57c00;
}

.equipment-details {
  padding: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: #718096;
}

.detail-value {
  font-weight: 600;
  color: #2d3748;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #718096;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.empty-state p {
  font-size: 1.1rem;
}

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

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2d3748;
  font-size: 1.5rem;
}

.modal-icon {
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #718096;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #f44336;
}

.modal-body {
  margin-bottom: 1rem;
}

.confirmation-question h3 {
  color: #f44336;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.payment-details-text {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: #2d3748;
}

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

.form-instructions p {
  color: #718096;
  font-size: 0.95rem;
}

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

.button {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.button.secondary {
  background: #e2e8f0;
  color: #4a5568;
}

.button.secondary:hover {
  background: #cbd5e0;
  transform: translateY(-1px);
}

.button.success {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.button.success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .logo-icon img {
    width: 3.75rem;
    height: 2.5rem;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .page-title,
  .dashboard-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .title-icon {
    font-size: 2rem;
  }

  .content-container {
    padding: 0 1rem;
  }

  .profile-wrapper,
  .stats-wrapper,
  .matches-wrapper,
  .password-wrapper,
  .quick-links-wrapper,
  .admin-wrapper,
  .equipment-wrapper {
    padding: 1.5rem;
  }

  .login-card {
    padding: 2rem;
    margin: 0 1rem;
  }

  .response-buttons {
    grid-template-columns: 1fr;
  }

  .match-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-header-right {
    justify-content: flex-start;
  }

  .profile-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .quick-links-grid,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .quick-link-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .header-nav {
    justify-content: center;
  }

  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }

  .modal-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .logo-icon img {
    width: 3rem;
    height: 2rem;
  }

  .page-title,
  .dashboard-title {
    font-size: 1.5rem;
  }

  .page-subtitle,
  .dashboard-subtitle {
    font-size: 1rem;
  }

  .login-card {
    padding: 1.5rem;
  }

  .nav-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .match-card {
    padding: 1rem;
  }

  .password-card {
    padding: 1.5rem;
  }

  .bubble-tooltip {
    left: auto;
    right: 0;
    transform: none;
  }

  .bubble-tooltip::before {
    left: auto;
    right: 1rem;
    transform: none;
  }
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.match-card,
.profile-card,
.stats-card,
.equipment-card,
.quick-link-card,
.login-card,
.password-card {
  animation: fadeIn 0.6s ease forwards;
}

/* Focus styles for accessibility */
.form-input:focus,
.response-btn:focus,
.login-button:focus,
.password-button:focus,
.instagram-button:focus {
  outline: 2px solid #4caf50;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .modern-header,
  .nav-button {
    display: none;
  }

  .page-wrapper {
    background: white;
  }

  .match-card,
  .profile-card,
  .stats-card,
  .equipment-card {
    box-shadow: none;
    border: 1px solid #e2e8f0;
    break-inside: avoid;
  }
}

/* --- STYLY PRO NOVOU SJEDNOCENOU DOCHÁZKU --- */

/* Skupina tlačítek pro jednu odpověď */
.response-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Skryje výchozí radio button */
.response-radio-group input[type="radio"] {
  display: none;
}

/* Vlastní vzhled pro label, který teď funguje jako tlačítko */
.response-radio-btn {
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
}

/* Zvýraznění při najetí myší */
.response-radio-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Jak vypadá tlačítko, když je vybraná odpovídající možnost */
.response-radio-group input[type="radio"]:checked + .response-radio-btn {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Barevné varianty */
.response-radio-group input[type="radio"]:checked + .response-radio-btn.jdu {
  background: #4caf50;
  border-color: #43a047;
}
.response-radio-group input[type="radio"]:checked + .response-radio-btn.nevim {
  background: #ffc107;
  border-color: #ffb300;
}
.response-radio-group input[type="radio"]:checked + .response-radio-btn.nejdu {
  background: #f44336;
  border-color: #e53935;
}

/* Tlačítko pro uložení celé docházky */
.save-attendance-wrapper {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  bottom: 1rem;
  z-index: 500;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.save-attendance-button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.save-attendance-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

@media (max-width: 480px) {
    .response-radio-group {
        grid-template-columns: 1fr;
    }
}