/*
 * 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%); }
}

.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;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background-color: #95a5a6;
  color: white;
  font-size: 0.875rem;
}

.badge--completed {
  background-color: #22c55e;
}

.badge--in-progress {
  background-color: #3b82f6;
}

/* 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;
}
