/* ========== BASE STYLES ========== */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-light: #ecf0f1;
  --text-dark: #2c3e50;
  --bg-light: #ffffff;
  --bg-dark: #34495e;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* ========== NAVIGATION ========== */
.navbar {
  background: var(--primary-color);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 600;
}

.logo-text .highlight {
  color: var(--secondary-color);
}

.nav-main {
  flex-grow: 1;
  margin-left: 3rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link i {
  font-family: "Font Awesome 6 Free"; /* Přidat !important */
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  padding: 0.75rem 1.2rem;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.nav-item.active .nav-link,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========== NAV CONTROLS ========== */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.language-switcher {
  display: flex;
  gap: 0.75rem;
}

.lang-flag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}

.lang-flag.active {
  border-color: var(--secondary-color);
}

.lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

.btn-login {
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
  border-color: var(--secondary-color);
}

.btn-primary {
  background: linear-gradient(to right, var(--secondary-color), #2980b9);
  border: none;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: linear-gradient(to right, #e74c3c, #f44336);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
  color: var(--text-light);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Outline Button Style */
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Large Button Style */
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section Links */
.hero a {
  color: var(--text-light);
  text-decoration: none;
}

.hero a:hover {
  text-decoration: none;
}

/* ========== FEATURES SECTION ========== */
.features {
  padding: 6rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* ========== FOOTER ========== */
.main-footer {
  background: var(--primary-color);
  color: var(--text-light);
  margin-top: auto;
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.8);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text-light);
  border-radius: 3px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .nav-main,
    .nav-controls {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 2rem;
        box-shadow: var(--shadow);
    }
	
	.nav-main {
	  margin-left: 0rem;
	}

    .nav-main.active,
    .nav-controls.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
	
  .nav-controls.active {
    position: fixed;
    top: calc(70px + 3rem + 40px); /* Výška horního menu + padding + prostor pro položky */
    display: block;
    animation: slideDown 0.3s ease;
  }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: block;
        z-index: 1000;
    }

    @keyframes slideDown {
        from { transform: translateY(-20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== UTILITY CLASSES ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--secondary-color);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  padding-bottom: 2rem;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.pricing-card h3 {
  font-size: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--primary-color);
  color: var(--text-light);
  margin: 0;
}

.pricing-card.popular {
  transform: scale(1.05);
  z-index: 1;
  border: 2px solid var(--secondary-color);
}

.pricing-card.popular h3 {
  background: var(--secondary-color);
}

.pricing-card.premium h3 {
  background: var(--accent-color);
}

.pricing-card.popular::before {
  content: 'Popular';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-bottom-left-radius: 8px;
  z-index: 2;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--primary-color);
}

.price span {
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.7;
}

.features-list {
  list-style: none;
  padding: 0 2rem;
  margin: 2rem 0;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
}

.features-list li i {
  color: var(--secondary-color);
  margin-right: 10px;
}

.pricing-card .btn {
  display: block;
  width: 80%;
  margin: 1.5rem auto 0;
  text-align: center;
}

.pricing-card.popular .btn {
  background: var(--secondary-color);
}

.pricing-card.premium .btn {
  background: var(--accent-color);
}

@media (max-width: 768px) {
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .pricing-cards {
    gap: 1rem;
  }
}

/* Styly pro autentizační stránky */
.auth-section-page {
    padding: 4rem 0;
    background: #f8f9fa;
}

.auth-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-info {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
}

.auth-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefits-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Obnovení výchozích stylů seznamů v alertech */
.alert ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.alert li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-info {
        order: -1;
    }
}

/* Styly pro registrační formulář */
.form-section-title {
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    color: var(--primary-color);
}

.form-row {
    display: flex;
    margin: 0 -0.5rem;
}

.form-row .form-group {
    padding: 0 0.5rem;
    flex: 1;
}

.toggle-container {
    display: flex;
    background: #f1f1f1;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.toggle-container label {
    flex: 1;
    margin: 0;
    text-align: center;
    cursor: pointer;
}

.toggle-container input {
    display: none;
}

.toggle-item {
    display: block;
    padding: 0.75rem;
    transition: var(--transition);
}

.toggle-container input:checked + .toggle-item {
    background: var(--secondary-color);
    color: white;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-check input[type="checkbox"] {
    margin-top: 0.25rem;
}

.password-strength-meter {
    height: 5px;
    background: #eee;
    margin-top: 0.5rem;
    border-radius: 3px;
    overflow: hidden;
}

.strength-meter-bar {
    height: 100%;
    width: 0;
    transition: var(--transition);
    background: linear-gradient(to right, #ff4d4d, #ffa700, #79d279);
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
    }
}

/* Vylepšený styl tlačítka pro registraci */
.auth-form .btn-block {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.25);
  margin-top: 1.5rem;
}

.auth-form .btn-primary {
  background: linear-gradient(to right, var(--secondary-color), #2980b9);
  border: none;
  transition: all 0.3s ease;
}

.auth-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

.auth-form .btn-primary:active {
  transform: translateY(1px);
}

/* Přidání ikony */
.auth-form .btn-primary i {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* User menu button styles */
.btn-account {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.btn-account:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-logout {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.btn-logout:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Fix for Font Awesome icons in all buttons */
.btn i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 1.2rem;
}

/* User menu layout */
.user-menu {
    display: flex;
    gap: 0.75rem;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

/* Mobilní menu - nové styly */
.mobile-menu-container {
    display: contents; /* Tento trik zachová obsah, ale zruší container na desktopu */
}

.mobile-menu-divider {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-menu-container {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1.5rem;
        box-shadow: var(--shadow);
        z-index: 999;
        overflow-y: auto;
        max-height: calc(100vh - 70px);
    }

    .mobile-menu-container.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .mobile-menu-divider {
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 1rem 0;
    }

    .nav-main, .nav-controls {
        position: static;
        display: block;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-controls {
        margin-top: 1rem;
    }

    /* Vylepšení zobrazení přepínače jazyků */
    .language-switcher {
        justify-content: center;
        margin-bottom: 1rem;
    }

    /* Vylepšení zobrazení přihlašovacích tlačítek */
    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .auth-buttons .btn {
        display: flex;
        justify-content: center;
    }

    /* Vylepšení zobrazení uživatelského menu */
    .user-menu {
        justify-content: center;
    }
}

.monitor-header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
}

.breadcrumbs {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.breadcrumbs a:hover {
    color: white;
}

.monitor-header-content {
    display: flex;
    flex-direction: column;
}

.monitor-header-content h1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.status-up {
    background-color: #2ecc71;
}

.status-down {
    background-color: #e74c3c;
}

.monitor-url {
    opacity: 0.8;
}

.status-panel {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.status-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.status-card.status-up {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-card.status-down {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
}

.status-card.status-up .status-icon {
    color: #2ecc71;
}

.status-card.status-down .status-icon {
    color: #e74c3c;
}

.status-text h3 {
    margin: 0;
    font-size: 1.8rem;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.monitor-tabs {
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-button {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    position: relative;
}

.tab-button.active {
    color: var(--secondary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.tab-content {
    padding: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.chart-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.chart-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.uptime-timeline {
    height: 90px;
    background: #f5f5f5;
    border-radius: 4px;
	color: var(--primary-color); 
    display: flex;
}

.monitor-info-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.monitor-info-card h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.info-label {
    font-weight: 500;
    color: #6c757d;
}

.monthly-summary {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.summary-stat {
    text-align: center;
}

.summary-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.summary-label {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.stats-table, .incidents-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th, 
.stats-table td,
.incidents-table th,
.incidents-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.stats-table th,
.incidents-table th {
    font-weight: 600;
    color: var(--primary-color);
}

.progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 10px;
    margin-bottom: 4px;
    width: 120px;
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-warning {
    background-color: #ff9800;
    color: white;
}

.badge-success {
    background-color: #4caf50;
    color: white;
}

.badge-danger {
    background-color: #f44336;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 3rem 0;
}

.empty-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .status-panel {
        grid-template-columns: 1fr;
    }
    
    .stats-overview {
        grid-template-columns: 1fr 1fr;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.uptime-timeline {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.timeline-item {
    flex: 1;
    min-width: 32px;
	text-align: center;
    margin: 0 2px;
}

.timeline-hour {
    font-size: 0.7rem;
    color: #6c757d;
    margin-bottom: 5px;
    white-space: nowrap;
}

.timeline-bar {
    height: 30px;
    border-radius: 4px;
    position: relative;
}

.timeline-bar.up {
    background-color: #4caf50;
}

.timeline-bar.down {
    background-color: #f44336;
}

.timeline-bar.partial {
    background: linear-gradient(to right, #f44336, #ff9800, #4caf50);
}

.no-data-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Monitoring page specific styles */
.monitoring-header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
}

.monitoring-overview {
    padding: 2rem 0;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1.5rem;
}

.monitors-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.monitors-table {
    width: 100%;
    border-collapse: collapse;
}

.monitors-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #eee;
    color: var(--primary-color);
    font-weight: 600;
}

.monitors-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.monitors-table tr:last-child td {
    border-bottom: none;
}

.monitors-table tr:hover {
    background-color: #f9f9f9;
}

.status-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monitor-name {
    color: var(--primary-color);
    font-weight: 500;
}

.monitor-name:hover {
    color: var(--secondary-color);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}

.badge-http, .badge-https {
    background: #e3f2fd;
    color: #2196f3;
}

.badge-tcp, .badge-udp {
    background: #f3e5f5;
    color: #9c27b0;
}

.badge-ping {
    background: #e8f5e9;
    color: #4caf50;
}

.progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
    width: 100px;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, #42a5f5, #7e57c2);
    border-radius: 8px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: width 0.4s ease-in-out;
}

.progress-text {
    font-size: 0.85rem;
    color: #555;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem;
    transition: var(--transition);
}

.action-btn:hover {
    color: var(--primary-color);
}

.edit-monitor:hover {
    color: var(--secondary-color);
}

.delete-monitor:hover {
    color: var(--accent-color);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .content-header h2 {
        margin-bottom: 0;
    }
    
    .monitors-table th:nth-child(3),
    .monitors-table th:nth-child(6),
    .monitors-table td:nth-child(3),
    .monitors-table td:nth-child(6) {
        display: none;
    }
}

/* Stats Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #f5f8ff;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 1rem;
}

.icon-success {
    background: #e8f5e9;
    color: #4caf50;
}

.icon-danger {
    background: #ffebee;
    color: #f44336;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    color: var(--primary-color);
}

.stat-info p {
    font-size: 0.9rem;
    margin: 0;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.export-form {
    margin: 0;
}
.export-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.export-fields select,
.export-fields input[type="date"] {
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1rem;
}
.export-fields button {
    margin-left: 0;
}
@media (max-width: 600px) {
    .export-fields {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

.chart-wrapper {
    height: 400px;
    position: relative;
    width: 100%;
}

.chart-container canvas {
    max-height: 400px !important;
}

/* ========== PRIVACY POLICY STYLES ========== */

.privacy-page {
    background: #f8f9fa;
}

.privacy-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    padding: 4rem 0;
}

.privacy-hero .hero-content {
    grid-template-columns: 1fr;
}

.privacy-hero .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-last-updated {
    margin-top: 1rem;
    opacity: 0.8;
}

.privacy-content {
    padding: 4rem 0;
}

/* Privacy Summary */
.privacy-summary {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.privacy-summary h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.summary-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.summary-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Privacy Sections */
.privacy-main {
    margin: 0 auto;
}

.privacy-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.privacy-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-section h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

/* Privacy Table */
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.privacy-table th,
.privacy-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.privacy-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.privacy-table tr:hover {
    background: #f8f9fa;
}

/* Sharing Cards */
.sharing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.sharing-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.sharing-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sharing-card p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.sharing-card small {
    color: #6c757d;
}

.legal-sharing {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.legal-sharing h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

/* Retention Timeline */
.retention-timeline {
    margin: 2rem 0;
}

.timelinepage-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.timelinepage-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.timelinepage-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.right-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.right-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rights-exercise {
    background: #e8f5e9;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.rights-exercise h4 {
    color: #155724;
    margin-bottom: 0.5rem;
}

/* Security Measures */
.security-measures {
    margin: 2rem 0;
}

.measure-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.measure-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.measure-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Version Info */
.version-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: #e8f5e9;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.version-item {
    color: #155724;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-hero .hero-title {
        font-size: 2rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-section {
        padding: 1.5rem;
    }
    
    .sharing-cards,
    .rights-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .measure-item {
        flex-direction: column;
        text-align: center;
    }
    
    .measure-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .privacy-table {
        font-size: 0.9rem;
    }
    
    .privacy-table th,
    .privacy-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-content {
        padding: 2rem 0;
    }
    
    .privacy-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .version-info {
        grid-template-columns: 1fr;
    }
}
