/* Main Styles for Visual Firewall App */

body {
  background-color: #f8f9fa;
  font-family: 'Arial', sans-serif;
  position: relative;
  min-height: 100vh;
  padding-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

/* Christmas Theme Styles */
.text-danger {
  color: #c81e1e !important;
}

.bg-danger {
  background-color: #c81e1e !important;
}

.btn-danger {
  background-color: #c81e1e;
  border-color: #c81e1e;
}

.btn-danger:hover {
  background-color: #a51717;
  border-color: #a51717;
}

.border-danger {
  border-color: #c81e1e !important;
}

/* Snowfall Animation */
.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  color: #fff;
  font-size: 1.5em;
  opacity: 0.8;
  user-select: none;
  animation: snowfall linear infinite;
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 15s;
  animation-delay: 0s;
}

.snowflake:nth-child(2) {
  left: 20%;
  animation-duration: 12s;
  animation-delay: 1s;
}

.snowflake:nth-child(3) {
  left: 30%;
  animation-duration: 13s;
  animation-delay: 2s;
}

.snowflake:nth-child(4) {
  left: 40%;
  animation-duration: 10s;
  animation-delay: 0s;
}

.snowflake:nth-child(5) {
  left: 50%;
  animation-duration: 14s;
  animation-delay: 3s;
}

.snowflake:nth-child(6) {
  left: 60%;
  animation-duration: 11s;
  animation-delay: 1s;
}

.snowflake:nth-child(7) {
  left: 70%;
  animation-duration: 16s;
  animation-delay: 2s;
}

.snowflake:nth-child(8) {
  left: 80%;
  animation-duration: 13s;
  animation-delay: 0s;
}

.snowflake:nth-child(9) {
  left: 90%;
  animation-duration: 12s;
  animation-delay: 3s;
}

.snowflake:nth-child(10) {
  left: 95%;
  animation-duration: 15s;
  animation-delay: 1s;
}

@keyframes snowfall {
  0% {
    transform: translateY(-10vh);
  }
  100% {
    transform: translateY(100vh);
  }
}

/* Card hover effects */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Badge styling */
.badge {
  font-size: 0.9em;
  padding: 0.5em 0.7em;
}

/* Table styling */
.table-hover tbody tr:hover {
  background-color: rgba(200, 30, 30, 0.05);
}

/* Custom alert styling */
.alert {
  border-left: 4px solid;
}

.alert-success {
  border-left-color: #28a745;
}

.alert-danger {
  border-left-color: #dc3545;
}

.alert-info {
  border-left-color: #17a2b8;
}

.alert-warning {
  border-left-color: #ffc107;
}