/* ============================================
   TUCO CMS v6.1 - Global Theme Stylesheet
   Location: /assets/css/tuco-theme.css
   ============================================ */

/* ----- Global Reset ----- */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}
body {
  background-color: #f9fbfd;
  color: #1a1a1a;
  margin: 0;
}

/* ----- Header (if used in modules) ----- */
header {
  background: #004080;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ----- Buttons ----- */
.btn {
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.btn-primary {
  background-color: #004080;
  color: #fff;
}
.btn-primary:hover {
  background-color: #003366;
}
.btn-secondary {
  background-color: #6c757d;
  color: #fff;
}
.btn-secondary:hover {
  background-color: #5a6268;
}
.btn-success {
  background-color: #28a745;
  color: #fff;
}
.btn-success:hover {
  background-color: #1f8c39;
}
.btn-danger {
  background-color: #c0392b;
  color: #fff;
}
.btn-danger:hover {
  background-color: #992d22;
}

/* ----- Input & Form Elements ----- */
input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

/* ----- Tables ----- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 10px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
th {
  background: #004080;
  color: #ffffff;
  padding: 10px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
td {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
}
tr:hover {
  background: #f1f6ff;
}

/* ----- Cards / Containers ----- */
.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-bottom: 15px;
}

/* ----- Headings & Typography ----- */
h1, h2, h3 {
  color: #004080;
  margin-bottom: 10px;
}
h4, h5, h6 {
  color: #1a1a1a;
}
p, label {
  color: #333;
  font-size: 0.95rem;
}

/* ----- Tooltips / Info Text ----- */
.tooltip {
  font-size: 0.85rem;
  color: #555;
  margin-top: 2px;
}

/* ----- Toast Notifications ----- */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.95rem;
  display: none;
  z-index: 9999;
}

/* ----- Animations ----- */
.fade-in {
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----- Utility Classes ----- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mb-3 { margin-bottom: 15px; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
