/* Reset */
@import url('./components/footer.css');

body, h1, p, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

/* Giao diện chung */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

header {
    text-align: center;
    animation: slideDown 0.5s ease-out;
}

nav ul {
    display: flex;
    justify-content: space-around;
    gap: 30px; /* Khoảng cách giữa các mục */
}

nav ul li a {
    color: white;
    padding: 10px 15px;
    transition: background-color 0.3s, transform 0.2s;
    border-radius: 5px;
}

nav ul li a:hover {

    transform: scale(1.05);
}

/* Nút bấm */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    background-color: #e68900;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Thêm vào file main.css hoặc tạo file toast.css riêng */
.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    background-color: white;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
  }
  
  .custom-toast.show {
    transform: translateX(0);
  }
  
  .toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .toast-icon {
    font-size: 24px;
  }
  
  .toast-message {
    font-size: 16px;
    flex: 1;
  }
  
  .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #ff6b6b;
  }
  
  .custom-toast.success {
    border-left: 5px solid #4CAF50;
  }
  
  .custom-toast.error {
    border-left: 5px solid #f44336;
  }
  
  .custom-toast.info {
    border-left: 5px solid #2196F3;
  }
  