:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #6c757d;
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ef476f;
  --light: #f8f9fa;
  --dark: #212529;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --border-radius: 12px;
}

body { 
  background: #f5f7fa; 
  font-family: 'Inter', sans-serif;
  color: #333;
}

/* Navbar */
.navbar {
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 0 0 16px 16px;
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Main Card */
.main-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.card-header {
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 25px 30px;
  font-weight: 600;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-header i {
  color: var(--primary);
  font-size: 1.5rem;
}

.card-body {
  padding: 30px;
}

/* Form Styling */
.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-control, .form-select {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #e1e5e9;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.bg-light-read {
  background: #f8f9fa;
  color: #6c757d;
}

input[type="text"], textarea, select {
  text-transform: uppercase;
}

/* Select2 Customization */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 5px 15px;
}

.select2-container--default .select2-selection--multiple {
  min-height: auto;
  padding: 5px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
}

/* Button Styling */
.btn-primary {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

.btn-outline-primary, .btn-outline-success {
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover, .btn-outline-success:hover {
  transform: translateY(-2px);
}

/* Floating Button */
.floating-btn {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1060;
  border-radius: 50px;
  padding: 14px 20px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: translateY(-50%) translateX(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Offcanvas Styling */
.offcanvas {
  border-radius: 16px 0 0 16px;
}

.offcanvas-header {
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 20px 25px;
}

.offcanvas-title {
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.offcanvas-body {
  padding: 25px;
}

/* Status Result */
#statusResult {
  padding: 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 20px;
}

.status-done {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.status-pending {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

/* Form Sections */
.form-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .card-body {
    padding: 20px;
  }
  
  .floating-btn {
    right: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .floating-btn span {
    display: none;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Loading State */
.loading {
  opacity: 0.7;
  pointer-events: none;
}