/* Offers Screen Styles */

.snrb-ride-offers {
  padding: 20px;
}

.snrb-card-title {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.snrb-dashboard-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.snrb-card-header {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.snrb-card-body {
  margin-bottom: 15px;
}

.snrb-card-body p {
  margin: 8px 0;
  color: #555;
}

.snrb-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.snrb-btn-primary {
  background: #007cba;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.snrb-btn-primary:hover {
  background: #005a8b;
}

.snrb-btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.snrb-btn-secondary:hover {
  background: #545b62;
}

.snrb-btn-primary:disabled,
.snrb-btn-secondary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.snrb-text-muted {
  color: #6c757d;
  font-size: 14px;
}

/* Modal Styles */
.snrb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.snrb-modal-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.snrb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.snrb-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.snrb-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.snrb-modal-close:hover {
  background: #f5f5f5;
}

.snrb-modal-body {
  padding: 20px;
}

.snrb-modal-body p {
  margin: 12px 0;
  color: #555;
  line-height: 1.5;
}

.snrb-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid #eee;
}

.snrb-alert {
  padding: 12px;
  border-radius: 4px;
  margin-top: 15px;
}

.snrb-alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .snrb-ride-offers {
    padding: 10px;
  }
  
  .snrb-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .snrb-modal-header,
  .snrb-modal-body,
  .snrb-modal-footer {
    padding: 15px;
  }
  
  .snrb-card-footer {
    flex-direction: column;
  }
  
  .snrb-modal-footer {
    flex-direction: column-reverse;
  }
  
  .snrb-btn-primary,
  .snrb-btn-secondary {
    width: 100%;
  }
}
