/* Custom CSS for LUPMIS 2.0 Permit System */

/* Header Styles */
.header-bg {
  background: linear-gradient(135deg, #3b7fb3 0%, #4c84af 100%);
}

.version {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Navigation Styles */
.navbar {
  border-bottom: 1px solid #dee2e6;
}

.nav-link.active {
  color: #3b7fb3 !important;
  font-weight: 500;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border-radius: 50%;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #dee2e6;
  background: white;
  color: #6c757d;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:first-child {
  border-radius: 6px 0 0 6px;
}

.filter-btn:last-child {
  border-radius: 0 6px 6px 0;
}

.filter-btn.active {
  background-color: #3b7fb3;
  color: white;
  border-color: #3b7fb3;
}

.filter-btn:hover:not(.active) {
  background-color: #f8f9fa;
}

/* Table Styles */
.table tbody tr {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

/* Eligibility Page Styles */
.requirement-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirement-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.commercial-icon {
  background-color: #3b7fb3;
  color: white;
}

.residential-icon {
  background-color: #3b7fb3;
  color: white;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 8px;
}

.card-subtitle {
  color: #22d3ee;
  text-align: center;
  margin-bottom: 30px;
}

.requirement-list {
  margin-bottom: 30px;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.requirement-number {
  background-color: #22d3ee;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.requirement-details h4 {
  color: #2c3e50;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.requirement-details p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.start-application-btn {
  background-color: #3b7fb3;
  border-color: #3b7fb3;
  width: 100%;
  padding: 12px;
  font-weight: 500;
  border-radius: 8px;
}

.start-application-btn:hover {
  background-color: #357a8a;
  border-color: #357a8a;
}

/* Form Styles */
.form-section {
  background: white;
  padding: 20px 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #3b7fb3;
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 164, 0.25);
}

.form-actions {
  margin-top: 40px;
  text-align: right;
}

/* Upload Documents Styles */
.upload-area {
  border: 2px dashed #3b7fb3;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: #357a8a;
  background-color: #f1f3f4;
}

.upload-icon i {
  font-size: 3rem;
  color: #3b7fb3;
  margin-bottom: 20px;
}

.upload-text {
  font-size: 1.1rem;
  color: #495057;
}

.upload-formats {
  font-size: 0.9rem;
}

.upload-section {
  margin-bottom: 30px;
}

.upload-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: white;
}

.file-item.uploading {
  background-color: #f8f9fa;
}

.file-item.uploaded {
  background-color: #d1eddb;
  border-color: #badbcc;
}

.file-name {
  font-weight: 500;
  color: #495057;
}

.progress {
  height: 4px;
  background-color: #e9ecef;
}

.progress-bar {
  background-color: #3b7fb3;
}

/* Payment Styles */
.fee-summary,
.payment-methods {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.fee-section-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 25px;
}

.fee-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.fee-item:last-child {
  border-bottom: none;
}

.fee-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 0 0;
  border-top: 2px solid #3b7fb3;
  margin-top: 15px;
}

.fee-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.fee-description {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

.fee-amount {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2c3e50;
}

.payment-subtitle {
  color: #6c757d;
  margin-bottom: 25px;
}

.payment-option {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.payment-option:hover {
  border-color: #3b7fb3;
  transform: translateY(-2px);
}

.payment-option.selected {
  border-color: #3b7fb3;
  background-color: rgba(74, 144, 164, 0.1);
}

.payment-logo {
  max-width: 80px;
  height: 40px;
  margin-bottom: 10px;
}

.payment-icon i {
  font-size: 2rem;
  color: #3b7fb3;
  margin-bottom: 10px;
}

.payment-name {
  font-weight: 500;
  color: #495057;
  font-size: 0.9rem;
}

/* Thank You Page Styles */
.thank-you-content {
  max-width: 600px;
  margin: 80px auto;
}

.application-details {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
}

.status-badge {
  background-color: #fff3cd;
  color: #856404;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  display: inline-block;
}

.action-buttons {
  margin-top: 40px;
}

/* View Application Styles */
.map-container {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}

.details-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  margin-bottom: 20px;
}

.detail-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 5px;
}

.detail-value {
  color: #6c757d;
  margin-bottom: 15px;
}

.remarks-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  position: sticky;
  top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .requirement-card {
    padding: 20px;
  }

  .upload-area {
    padding: 40px 20px;
  }

  .fee-summary,
  .payment-methods {
    padding: 20px;
  }

  .form-actions {
    text-align: center;
  }

  .form-actions .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Utility Classes */
.text-primary {
  color: #3b7fb3 !important;
}

.bg-primary {
  background-color: #3b7fb3 !important;
}

.btn-primary {
  background-color: #3b7fb3;
  border-color: #3b7fb3;
}

.btn-primary:hover {
  background-color: #357a8a;
  border-color: #357a8a;
}
