/* public/css/style.css */

/* Custom styles can go here */

/* Ensure that the body is always centered with Bootstrap's padding */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

footer a {
  color: white;
}

footer a:hover {
  text-decoration: underline;
}

h1, h2 {
  margin-bottom: 1rem;
}

/*...........*/
/* Base Styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: white;
  color: black;
  font-family: 'Segoe UI', sans-serif;
  transition: background-color 0.4s, color 0.4s;
}

body.dark-mode {
  background-color: #1e1e1e;
  color: #f1f1f1;
}

/* App Container */
.app-container {
  max-width: 390px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
}

body.dark-mode .app-header {
  background-color: #1e1e1e;
  border-color: #333;
}

/* Scrollable Content */
.scrollable-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px;
}

/* Footer */
.app-footer {
  position: sticky;
  bottom: 0;
  background-color: white;
  border-top: 1px solid #ccc;
}

body.dark-mode .app-footer {
  background-color: #1e1e1e;
  border-color: #333;
}

.app-footer a {
  color: inherit;
  text-decoration: none;
  text-align: center;
  font-size: 0.85rem;
}

.app-footer a.active {
  color: #4285F4;
}

/* Page Transition */
.page-transition {
  animation: fadeSlide 0.3s ease-in-out;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animated Button */
.animated-button {
  background-color: #4285F4;
  color: white;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.animated-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

body.dark-mode .animated-button {
  background-color: #3367D6;
}

/* Animated Card */
.animated-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

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

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1;
}

body.dark-mode .notification-badge {
  background: red;
  color: white;
}