/*
 * This is a manifest file that'll be compiled into application.css.
 */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

@keyframes scroll-text {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

<<<<<<< Updated upstream
=======
@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.2);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.in-progress-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
}

.in-progress-dot::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: #22c55e;
  animation: pulse-green 1.5s ease-in-out infinite;
}

.in-progress-dot.green::before {
  background-color: #22c55e;
}

.in-progress-dot.yellow::before {
  background-color: #eab308;
}

.in-progress-dot::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
}

.in-progress-dot.green::after {
  background-color: #16a34a;
}

.in-progress-dot.yellow::after {
  background-color: #eab308;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.2);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.in-progress-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
}

.in-progress-dot::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: #22c55e;
  animation: pulse-green 1.5s ease-in-out infinite;
}

.in-progress-dot::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #16a34a;
}

>>>>>>> Stashed changes
.animate-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-text 10s linear infinite;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Navigation */
.navbar {
  background-color: #2c3e50;
  color: white;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Alerts */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.alert-info {
  background-color: #d1ecf1;
  border-left: 4px solid #0c5460;
  color: #0c5460;
}

.alert-warning {
  background-color: #fff3cd;
  border-left: 4px solid #856404;
  color: #856404;
}

.alert-danger {
  background-color: #f8d7da;
  border-left: 4px solid #721c24;
  color: #721c24;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table thead {
  background-color: #34495e;
  color: white;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ecf0f1;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

.table a {
  color: #3498db;
  text-decoration: none;
}

.table a:hover {
  text-decoration: underline;
}

/* Headers */
.task-header,
.time-entry-header,
.time-entries-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  gap: 0.5rem;
}

/* Sections */
.time-entries-section,
.time-tracking-section {
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.task-info,
.time-entry-info {
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.text-muted {
  color: #7f8c8d;
  font-style: italic;
}

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